Formatting

This commit is contained in:
Andrey Breslav
2012-09-10 11:19:46 +04:00
parent 53f145b533
commit ddaa6159bf
@@ -106,8 +106,9 @@ public abstract class CodegenContext {
/**
* This method returns not null only if context descriptor corresponds to method or function which has receiver
*/
@Nullable public final CallableDescriptor getCallableDescriptorWithReceiver() {
if(contextDescriptor instanceof CallableDescriptor) {
@Nullable
public final CallableDescriptor getCallableDescriptorWithReceiver() {
if (contextDescriptor instanceof CallableDescriptor) {
final CallableDescriptor callableDescriptor = (CallableDescriptor) getContextDescriptor();
return callableDescriptor.getReceiverParameter().exists() ? callableDescriptor : null;
}