List of usage examples for org.eclipse.jdt.core.dom IMethodBinding getDeclaredReceiverType
public ITypeBinding getDeclaredReceiverType();
null if there is no receiver declared explicitly. From source file:com.google.devtools.j2objc.jdt.JdtMethodBinding.java
License:Apache License
private void maybeInitialize() { if (!initialized) { IMethodBinding methodBinding = (IMethodBinding) binding; this.declaredReceiverType = BindingConverter.wrapBinding(methodBinding.getDeclaredReceiverType()); this.declaringClass = BindingConverter.wrapBinding(methodBinding.getDeclaringClass()); this.methodDeclaration = BindingConverter.wrapBinding(methodBinding.getMethodDeclaration()); this.returnType = BindingConverter.wrapBinding(methodBinding.getReturnType()); initialized = true;//from w ww . j a va 2 s . c om } }