Uses of Class
org.eclipse.jdt.internal.compiler.lookup.MethodBinding

Packages that use MethodBinding
org.eclipse.jdt.internal.compiler   
org.eclipse.jdt.internal.compiler.ast   
org.eclipse.jdt.internal.compiler.codegen   
org.eclipse.jdt.internal.compiler.lookup   
org.eclipse.jdt.internal.compiler.problem   
org.eclipse.jdt.internal.compiler.util   
org.eclipse.jdt.internal.core.util   
 

Uses of MethodBinding in org.eclipse.jdt.internal.compiler
 

Methods in org.eclipse.jdt.internal.compiler with parameters of type MethodBinding
 void ClassFile.addAbstractMethod(AbstractMethodDeclaration method, MethodBinding methodBinding)
          INTERNAL USE-ONLY Generate the byte for a problem method info that correspond to a bogus method.
 void ClassFile.addProblemConstructor(AbstractMethodDeclaration method, MethodBinding methodBinding, CategorizedProblem[] problems)
          INTERNAL USE-ONLY Generate the byte for a problem method info that correspond to a boggus constructor.
 void ClassFile.addProblemConstructor(AbstractMethodDeclaration method, MethodBinding methodBinding, CategorizedProblem[] problems, int savedOffset)
          INTERNAL USE-ONLY Generate the byte for a problem method info that correspond to a boggus constructor.
 void ClassFile.addProblemMethod(AbstractMethodDeclaration method, MethodBinding methodBinding, CategorizedProblem[] problems)
          INTERNAL USE-ONLY Generate the byte for a problem method info that correspond to a boggus method.
 void ClassFile.addProblemMethod(AbstractMethodDeclaration method, MethodBinding methodBinding, CategorizedProblem[] problems, int savedOffset)
          INTERNAL USE-ONLY Generate the byte for a problem method info that correspond to a boggus method.
 void ClassFile.completeCodeAttributeForMissingAbstractProblemMethod(MethodBinding binding, int codeAttributeOffset, int[] startLineIndexes, int problemLine)
           
 void ClassFile.completeCodeAttributeForProblemMethod(AbstractMethodDeclaration method, MethodBinding binding, int codeAttributeOffset, int[] startLineIndexes, int problemLine)
          INTERNAL USE-ONLY That method completes the creation of the code attribute by setting - the attribute_length - max_stack - max_locals - code_length - exception table - and debug attributes if necessary.
 void ClassFile.completeMethodInfo(MethodBinding binding, int methodAttributeOffset, int attributesNumber)
          INTERNAL USE-ONLY Complete the creation of a method info by setting up the number of attributes at the right offset.
 int ClassFile.generateMethodInfoAttributes(MethodBinding methodBinding)
          INTERNAL USE-ONLY That method generates the attributes of a code attribute.
 int ClassFile.generateMethodInfoAttributes(MethodBinding methodBinding, AnnotationMethodDeclaration declaration)
           
 void ClassFile.generateMethodInfoHeader(MethodBinding methodBinding)
          INTERNAL USE-ONLY That method generates the header of a method info: The header consists in: - the access flags - the name index of the method name inside the constant pool - the descriptor index of the signature of the method inside the constant pool.
 void ClassFile.generateMethodInfoHeader(MethodBinding methodBinding, int accessFlags)
          INTERNAL USE-ONLY That method generates the header of a method info: The header consists in: - the access flags - the name index of the method name inside the constant pool - the descriptor index of the signature of the method inside the constant pool.
 java.util.List ClassFile.traverse(MethodBinding methodBinding, int maxLocals, byte[] bytecodes, int codeOffset, int codeLength, java.util.Map frames, boolean isClinit)
           
 

Uses of MethodBinding in org.eclipse.jdt.internal.compiler.ast
 

Fields in org.eclipse.jdt.internal.compiler.ast declared as MethodBinding
protected  MethodBinding FunctionalExpression.actualMethodBinding
           
 MethodBinding ExplicitConstructorCall.binding
           
 MethodBinding FunctionalExpression.binding
           
 MethodBinding AllocationExpression.binding
           
 MethodBinding MemberValuePair.binding
           
 MethodBinding AbstractMethodDeclaration.binding
           
 MethodBinding MessageSend.binding
           
 MethodBinding FunctionalExpression.descriptor
           
 MethodBinding JavadocFieldReference.methodBinding
           
 MethodBinding MessageSend.syntheticAccessor
           
 MethodBinding[] FieldReference.syntheticAccessors
           
 MethodBinding[] SingleNameReference.syntheticAccessors
           
 

Methods in org.eclipse.jdt.internal.compiler.ast that return MethodBinding
 MethodBinding ExplicitConstructorCall.binding(TypeBinding targetType, boolean reportErrors, Scope scope)
           
 MethodBinding AllocationExpression.binding(TypeBinding targetType, boolean reportErrors, Scope scope)
           
 MethodBinding Invocation.binding(TypeBinding targetType, boolean reportErrors, Scope scope)
          Answer the resolved method binding of this invocation.
 MethodBinding MessageSend.binding(TypeBinding targetType, boolean reportErrors, Scope scope)
           
static MethodBinding NullAnnotationMatching.checkForContraditions(MethodBinding method, InvocationSite invocationSite, Scope scope)
          After a method has substituted type parameters, check if this resulted in any contradictory null annotations.
 MethodBinding TypeDeclaration.createDefaultConstructorWithBinding(MethodBinding inheritedConstructorBinding, boolean eraseThrownExceptions)
           
 MethodBinding ReferenceExpression.findCompileTimeMethodTargeting(TypeBinding targetType, Scope scope)
          During inference: Try to find an applicable method binding without causing undesired side-effects.
protected  MethodBinding Statement.findConstructorBinding(BlockScope scope, Invocation site, ReferenceBinding receiverType, TypeBinding[] argumentTypes)
          For all constructor invocations: find the constructor binding; if site.innersNeedUpdate() perform some post processing for those and produce any updates as side-effects into 'argumentTypes'.
 MethodBinding FunctionalExpression.getMethodBinding()
           
 MethodBinding LambdaExpression.getMethodBinding()
           
 MethodBinding ReferenceExpression.getMethodBinding()
           
 MethodBinding[] FunctionalExpression.getRequiredBridges()
           
 

Methods in org.eclipse.jdt.internal.compiler.ast with parameters of type MethodBinding
 MethodDeclaration TypeDeclaration.addMissingAbstractMethodFor(MethodBinding methodBinding)
           
protected  void Statement.analyseArguments(BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo, MethodBinding methodBinding, Expression[] arguments)
          Analysing arguments of MessageSend, ExplicitConstructorCall, AllocationExpression.
static MethodBinding NullAnnotationMatching.checkForContraditions(MethodBinding method, InvocationSite invocationSite, Scope scope)
          After a method has substituted type parameters, check if this resulted in any contradictory null annotations.
static boolean ASTNode.checkInvocationArguments(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding method, Expression[] arguments, TypeBinding[] argumentTypes, boolean argsContainCast, InvocationSite invocationSite)
           
static void CastExpression.checkNeedForArgumentCasts(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding binding, Expression[] arguments, TypeBinding[] argumentTypes, InvocationSite invocationSite)
          Cast expressions will considered as useful if removing them all would actually bind to a different method (no fine grain analysis on per casted argument basis, simply separate widening cast from narrowing ones)
 MethodBinding TypeDeclaration.createDefaultConstructorWithBinding(MethodBinding inheritedConstructorBinding, boolean eraseThrownExceptions)
           
 AbstractMethodDeclaration TypeDeclaration.declarationOf(MethodBinding methodBinding)
          Find the matching parse node, answers null if nothing found
 void Reference.fieldStore(Scope currentScope, CodeStream codeStream, FieldBinding fieldBinding, MethodBinding syntheticWriteAccessor, TypeBinding receiverType, boolean isImplicitThisReceiver, boolean valueRequired)
           
 void Statement.generateArguments(MethodBinding binding, Expression[] arguments, BlockScope currentScope, CodeStream codeStream)
          Generate invocation arguments, considering varargs methods
 void SingleNameReference.generateCompoundAssignment(BlockScope currentScope, CodeStream codeStream, MethodBinding writeAccessor, Expression expression, int operator, int assignmentImplicitConversion, boolean valueRequired)
           
 TypeBinding[] InnerInferenceHelper.getArgumentTypesForCandidate(MethodBinding candidate, TypeBinding[] plainArgTypes)
           
 boolean ASTNode.isMethodUseDeprecated(MethodBinding method, Scope scope, boolean isExplicitUse)
           
 boolean Expression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method)
           
 boolean ConditionalExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method)
           
 boolean FunctionalExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method)
           
 boolean LambdaExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method)
           
 boolean ReferenceExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method)
           
 boolean Expression.isPolyExpression(MethodBinding method)
          Variant of isPolyExpression() to be used during type inference, when a resolution candidate exists.
 boolean FunctionalExpression.isPolyExpression(MethodBinding candidate)
           
 boolean AllocationExpression.isPolyExpression(MethodBinding method)
           
 boolean MessageSend.isPolyExpression(MethodBinding resolutionCandidate)
          Variant of isPolyExpression() to be used during type inference, when a resolution candidate exists.
 boolean FunctionalExpression.kosherDescriptor(Scope scope, MethodBinding sam, boolean shouldChatter)
           
 boolean LambdaExpression.kosherDescriptor(Scope currentScope, MethodBinding sam, boolean shouldChatter)
           
 void InnerInferenceHelper.registerInnerResult(MethodBinding method, TypeBinding resolvedType, int argCount, int argIdx)
           
protected  TypeBinding FunctionalExpression.reportSamProblem(BlockScope blockScope, MethodBinding sam)
           
static void ASTNode.resolvePolyExpressionArguments(Invocation invocation, MethodBinding methodBinding, Scope scope)
           
static void ASTNode.resolvePolyExpressionArguments(Invocation invocation, MethodBinding methodBinding, TypeBinding[] argumentTypes, Scope scope)
          After method lookup has produced 'methodBinding' but when poly expressions have been seen as arguments, inspect the arguments to trigger another round of resolving with improved target types from the methods parameters.
 boolean ExplicitConstructorCall.updateBindings(MethodBinding updatedBinding, TypeBinding targetType)
           
 boolean AllocationExpression.updateBindings(MethodBinding updatedBinding, TypeBinding targetType)
           
 boolean Invocation.updateBindings(MethodBinding updatedBinding, TypeBinding targetType)
          Where the AST node may hold references to the results of Invocation Applicability Inference, this method allows to update those references to the result of Invocation Type Inference.
 boolean MessageSend.updateBindings(MethodBinding updatedBinding, TypeBinding targetType)
           
 

Uses of MethodBinding in org.eclipse.jdt.internal.compiler.codegen
 

Methods in org.eclipse.jdt.internal.compiler.codegen with parameters of type MethodBinding
 void CodeStream.generateEmulationForConstructor(Scope scope, MethodBinding methodBinding)
           
 void CodeStream.generateEmulationForMethod(Scope scope, MethodBinding methodBinding)
           
static TypeBinding CodeStream.getConstantPoolDeclaringClass(Scope currentScope, MethodBinding codegenBinding, TypeBinding actualReceiverType, boolean isImplicitThisReceiver)
          Returns the type that should be substituted to original binding declaring class as the proper receiver type
 void StackMapFrameCodeStream.initializeMaxLocals(MethodBinding methodBinding)
           
 void CodeStream.initializeMaxLocals(MethodBinding methodBinding)
           
 void CodeStream.invoke(byte opcode, MethodBinding methodBinding, TypeBinding declaringClass)
           
 void TypeAnnotationCodeStream.invoke(byte opcode, MethodBinding methodBinding, TypeBinding declaringClass, TypeReference[] typeArguments)
           
 void CodeStream.invoke(byte opcode, MethodBinding methodBinding, TypeBinding declaringClass, TypeReference[] typeArguments)
           
 int ConstantPool.literalIndexForMethodHandle(MethodBinding binding)
           
 

Uses of MethodBinding in org.eclipse.jdt.internal.compiler.lookup
 

Subclasses of MethodBinding in org.eclipse.jdt.internal.compiler.lookup
 class MostSpecificExceptionMethodBinding
          Pseudo method binding used to wrapper a real method, and expose less exceptions than original.
 class ParameterizedGenericMethodBinding
          Binding denoting a generic method after type parameter substitutions got performed.
 class ParameterizedMethodBinding
          Binding denoting a method after type parameter substitutions got performed.
 class PolymorphicMethodBinding
          Binding denoting a polymorphic method
 class ProblemMethodBinding
           
 class SyntheticFactoryMethodBinding
          Encodes a synthetic <factory> method used for resolving a diamond constructor.
 class SyntheticMethodBinding
           
 

Fields in org.eclipse.jdt.internal.compiler.lookup declared as MethodBinding
 MethodBinding LookupEnvironment.arrayClone
           
 MethodBinding ElementValuePair.binding
           
 MethodBinding ProblemMethodBinding.closestMatch
           
 MethodBinding LocalTypeBinding.enclosingMethod
           
protected  MethodBinding[] BinaryTypeBinding.methods
           
 MethodBinding[] ParameterizedTypeBinding.methods
           
static MethodBinding[] Binding.NO_METHODS
           
protected  MethodBinding ParameterizedMethodBinding.originalMethod
           
protected  MethodBinding PolymorphicMethodBinding.polymorphicMethod
           
protected  MethodBinding[] ReferenceBinding.singleAbstractMethod
           
 MethodBinding SyntheticMethodBinding.targetMethod
           
static MethodBinding[] Binding.UNINITIALIZED_METHODS
           
 

Methods in org.eclipse.jdt.internal.compiler.lookup that return MethodBinding
 MethodBinding MethodBinding.asRawMethod(LookupEnvironment env)
           
 MethodBinding[] ReferenceBinding.availableMethods()
          Return the array of resolvable methods (resilience)
 MethodBinding[] BinaryTypeBinding.availableMethods()
           
 MethodBinding LookupEnvironment.computeArrayClone(MethodBinding objectClone)
           
protected  MethodBinding Scope.computeCompatibleMethod(MethodBinding method, TypeBinding[] arguments, InvocationSite invocationSite, int inferenceLevel)
          Internal use only Given a method, returns null if arguments cannot be converted to parameters.
protected  MethodBinding Scope.computeCompatibleMethod(MethodBinding method, TypeBinding[] arguments, InvocationSite invocationSite, int inferenceLevel, boolean tiebreakingVarargsMethods)
          Internal use only Given a method, returns null if arguments cannot be converted to parameters.
static MethodBinding ParameterizedGenericMethodBinding.computeCompatibleMethod(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite, int inferenceLevel)
          Perform inference of generic method type parameters and/or expected type
static MethodBinding MethodVerifier.computeSubstituteMethod(MethodBinding inheritedMethod, MethodBinding currentMethod, LookupEnvironment environment)
           
protected  MethodBinding Scope.findDefaultAbstractMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, ReferenceBinding classHierarchyStart, ObjectVector found, MethodBinding concreteMatch)
           
 MethodBinding Scope.findExactMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
 MethodBinding Scope.findMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, boolean inStaticContext)
           
 MethodBinding Scope.findMethod0(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, boolean inStaticContext)
           
 MethodBinding Scope.findMethodForArray(ArrayBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
 MethodBinding MethodBinding.findOriginalInheritedMethod(MethodBinding inheritedMethod)
           
 MethodBinding ParameterizedGenericMethodBinding.genericMethod()
           
 MethodBinding MethodBinding.genericMethod()
           
 MethodBinding Scope.getConstructor(ReferenceBinding receiverType, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
 MethodBinding Scope.getConstructor0(ReferenceBinding receiverType, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
 MethodBinding[] SourceTypeBinding.getDefaultAbstractMethods()
           
 MethodBinding ReferenceBinding.getExactConstructor(TypeBinding[] argumentTypes)
           
 MethodBinding SourceTypeBinding.getExactConstructor(TypeBinding[] argumentTypes)
           
 MethodBinding BinaryTypeBinding.getExactConstructor(TypeBinding[] argumentTypes)
           
 MethodBinding ParameterizedTypeBinding.getExactConstructor(TypeBinding[] argumentTypes)
           
 MethodBinding Scope.getExactConstructor(TypeBinding receiverType, InvocationSite invocationSite)
           
 MethodBinding ReferenceBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope)
           
 MethodBinding SourceTypeBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope)
           
 MethodBinding BinaryTypeBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope)
           
 MethodBinding ParameterizedTypeBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope)
           
 MethodBinding Scope.getExactMethod(TypeBinding receiverType, char[] selector, InvocationSite invocationSite)
           
 MethodBinding Scope.getImplicitMethod(char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
 MethodBinding Scope.getMethod(TypeBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
 MethodBinding ElementValuePair.getMethodBinding()
           
 MethodBinding[] CaptureBinding18.getMethods(char[] selector)
           
 MethodBinding[] TypeBinding.getMethods(char[] selector)
           
 MethodBinding[] ReferenceBinding.getMethods(char[] selector)
           
 MethodBinding[] SourceTypeBinding.getMethods(char[] selector)
           
 MethodBinding[] BinaryTypeBinding.getMethods(char[] selector)
           
 MethodBinding[] ParameterizedTypeBinding.getMethods(char[] selector)
           
 MethodBinding[] ReferenceBinding.getMethods(char[] selector, int suggestedParameterLength)
           
 MethodBinding[] BinaryTypeBinding.getMethods(char[] selector, int suggestedParameterLength)
           
 MethodBinding InferenceContext18.getReturnProblemMethodIfNeeded(TypeBinding expectedType, MethodBinding method)
          Create a problem method signaling failure of invocation type inference, unless the given candidate is tolerable to be compatible with buggy javac.
 MethodBinding RawTypeBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards)
           
 MethodBinding TypeBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards)
          Return the single abstract method of a functional interface, or null, if the receiver is not a functional interface as defined in JLS 9.8.
 MethodBinding ReferenceBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards)
           
 MethodBinding IntersectionCastTypeBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards)
           
 MethodBinding ParameterizedTypeBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards)
           
 MethodBinding Scope.getStaticFactory(ParameterizedTypeBinding allocationType, ReferenceBinding originalEnclosingType, TypeBinding[] argumentTypes, Invocation allocationSite)
           
 MethodBinding InferenceContext18.inferInvocationType(Invocation invocation, ParameterizedGenericMethodBinding method)
          Simplified API to perform Invocation Type Inference (JLS 18.5.2) and perform subsequent steps: bound check, rebinding of inner poly expressions, and creating of a problem method binding if needed.
protected  MethodBinding Scope.inferInvocationType(InvocationSite invocationSite, MethodBinding applicable, TypeBinding[] argumentTypes)
          Given a selected applibable method, check if it has an unfinished InferenceContext18 associated.
 MethodBinding[] ReferenceBinding.methods()
           
 MethodBinding[] SourceTypeBinding.methods()
           
 MethodBinding[] BinaryTypeBinding.methods()
           
 MethodBinding[] ParameterizedTypeBinding.methods()
           
protected  MethodBinding Scope.mostSpecificClassMethodBinding(MethodBinding[] visible, int visibleSize, InvocationSite invocationSite)
           
protected  MethodBinding Scope.mostSpecificInterfaceMethodBinding(MethodBinding[] visible, int visibleSize, InvocationSite invocationSite)
           
protected  MethodBinding Scope.mostSpecificMethodBinding(MethodBinding[] visible, int visibleSize, TypeBinding[] argumentTypes, InvocationSite invocationSite, ReferenceBinding receiverType)
           
 MethodBinding ParameterizedMethodBinding.original()
          Returns the original method (as opposed to parameterized instances)
 MethodBinding MostSpecificExceptionMethodBinding.original()
           
 MethodBinding MethodBinding.original()
          Returns the original method (as opposed to parameterized/polymorphic instances)
 MethodBinding PolymorphicMethodBinding.original()
           
 MethodBinding MethodScope.referenceMethodBinding()
          Answers the binding of the reference method or reference lambda expression.
 MethodBinding SourceTypeBinding.resolveTypesFor(MethodBinding method)
           
 MethodBinding[] SourceTypeBinding.setMethods(MethodBinding[] methods)
           
 MethodBinding ParameterizedMethodBinding.shallowOriginal()
           
 MethodBinding MethodBinding.shallowOriginal()
          Strips one level of parameterization, so if both class & method are parameterized, leave the class parameters in place.
 MethodBinding ParameterizedGenericMethodBinding.tiebreakMethod()
           
 MethodBinding MethodBinding.tiebreakMethod()
          Returns the method to use during tiebreak (usually the method itself).
 MethodBinding LookupEnvironment.updatePolymorphicMethodReturnType(PolymorphicMethodBinding binding, TypeBinding typeBinding)
           
 

Methods in org.eclipse.jdt.internal.compiler.lookup with parameters of type MethodBinding
 SyntheticMethodBinding SourceTypeBinding.addSyntheticBridgeMethod(MethodBinding inheritedMethodToBridge)
           
 SyntheticMethodBinding SourceTypeBinding.addSyntheticBridgeMethod(MethodBinding inheritedMethodToBridge, MethodBinding targetMethod)
           
 SyntheticMethodBinding SourceTypeBinding.addSyntheticFactoryMethod(MethodBinding privateConstructor, MethodBinding publicConstructor, TypeBinding[] enclosingInstances)
           
 SyntheticMethodBinding SourceTypeBinding.addSyntheticMethod(MethodBinding targetMethod, boolean isSuperAccess)
           
 boolean MethodBinding.areParameterErasuresEqual(MethodBinding method)
           
 boolean MethodBinding.areParametersEqual(MethodBinding method)
           
static boolean MethodVerifier.areReturnTypesCompatible(MethodBinding one, MethodBinding two, LookupEnvironment environment)
           
 boolean MethodBinding.areTypeVariableErasuresEqual(MethodBinding method)
           
static long ReferenceBinding.binarySearch(char[] selector, MethodBinding[] sortedMethods)
          Returns a combined range value representing: (start + (end<<32)), where start is the index of the first matching method (remember methods are sorted alphabetically on selectors), and end is the index of last contiguous methods with same selector.
protected  boolean MethodVerifier.canOverridingMethodDifferInErasure(MethodBinding overridingMethod, MethodBinding inheritedMethod)
           
 void BlockScope.checkAppropriateMethodAgainstSupers(char[] selector, MethodBinding compileTimeMethod, TypeBinding[] parameters, InvocationSite site)
          15.12.3 (Java 8) "Compile-Time Step 3: Is the Chosen Method Appropriate?"
 void ImplicitNullAnnotationVerifier.checkImplicitNullAnnotations(MethodBinding currentMethod, AbstractMethodDeclaration srcMethod, boolean complain, Scope scope)
          Check and fill in implicit annotations from overridden methods and from default.
 void MethodScope.checkUnusedParameters(MethodBinding method)
           
 MethodBinding LookupEnvironment.computeArrayClone(MethodBinding objectClone)
           
protected  MethodBinding Scope.computeCompatibleMethod(MethodBinding method, TypeBinding[] arguments, InvocationSite invocationSite, int inferenceLevel)
          Internal use only Given a method, returns null if arguments cannot be converted to parameters.
protected  MethodBinding Scope.computeCompatibleMethod(MethodBinding method, TypeBinding[] arguments, InvocationSite invocationSite, int inferenceLevel, boolean tiebreakingVarargsMethods)
          Internal use only Given a method, returns null if arguments cannot be converted to parameters.
static MethodBinding ParameterizedGenericMethodBinding.computeCompatibleMethod(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite, int inferenceLevel)
          Perform inference of generic method type parameters and/or expected type
static MethodBinding MethodVerifier.computeSubstituteMethod(MethodBinding inheritedMethod, MethodBinding currentMethod, LookupEnvironment environment)
           
 ParameterizedMethodBinding LookupEnvironment.createGetClassMethod(TypeBinding receiverType, MethodBinding originalMethod, Scope scope)
           
 void InferenceContext18.createInitialConstraintsForParameters(TypeBinding[] parameters, boolean checkVararg, TypeBinding varArgsType, MethodBinding method)
          JLS 18.5.1: compute bounds from formal and actual parameters.
 ParameterizedGenericMethodBinding LookupEnvironment.createParameterizedGenericMethod(MethodBinding genericMethod, RawTypeBinding rawType)
           
 ParameterizedGenericMethodBinding LookupEnvironment.createParameterizedGenericMethod(MethodBinding genericMethod, TypeBinding[] typeArguments)
           
 ParameterizedMethodBinding RawTypeBinding.createParameterizedMethod(MethodBinding originalMethod)
           
 ParameterizedMethodBinding ParameterizedTypeBinding.createParameterizedMethod(MethodBinding originalMethod)
           
 PolymorphicMethodBinding LookupEnvironment.createPolymorphicMethod(MethodBinding originalPolymorphicMethod, TypeBinding[] parameters)
           
 boolean MethodVerifier.doesMethodOverride(MethodBinding method, MethodBinding inheritedMethod)
           
static boolean MethodVerifier.doesMethodOverride(MethodBinding method, MethodBinding inheritedMethod, LookupEnvironment environment)
           
protected  MethodBinding Scope.findDefaultAbstractMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, ReferenceBinding classHierarchyStart, ObjectVector found, MethodBinding concreteMatch)
           
 MethodBinding MethodBinding.findOriginalInheritedMethod(MethodBinding inheritedMethod)
           
 MethodBinding InferenceContext18.getReturnProblemMethodIfNeeded(TypeBinding expectedType, MethodBinding method)
          Create a problem method signaling failure of invocation type inference, unless the given candidate is tolerable to be compatible with buggy javac.
 SyntheticMethodBinding SourceTypeBinding.getSyntheticBridgeMethod(MethodBinding inheritedMethodToBridge)
           
 boolean ParameterizedTypeBinding.implementsMethod(MethodBinding method)
           
 void InferenceContext18.inferInvocationApplicability(MethodBinding method, TypeBinding[] arguments, boolean isDiamond)
          JLS 18.5.1 Invocation Applicability Inference.
 org.eclipse.jdt.internal.compiler.lookup.BoundSet InferenceContext18.inferInvocationType(org.eclipse.jdt.internal.compiler.lookup.BoundSet b1, TypeBinding expectedType, InvocationSite invocationSite, MethodBinding method)
          JLS 18.5.2 Invocation Type Inference
protected  MethodBinding Scope.inferInvocationType(InvocationSite invocationSite, MethodBinding applicable, TypeBinding[] argumentTypes)
          Given a selected applibable method, check if it has an unfinished InferenceContext18 associated.
 void SyntheticMethodBinding.initializeConstructorAccessor(MethodBinding accessedConstructor)
          An constructor accessor is a constructor with an extra argument (declaringClass), in case of collision with an existing constructor, then add again an extra argument (declaringClass again).
 void SyntheticMethodBinding.initializeMethodAccessor(MethodBinding accessedMethod, boolean isSuperAccess, ReferenceBinding receiverType)
          An method accessor is a method with an access$N selector, where N is incremented in case of collisions.
static ParameterizedMethodBinding ParameterizedMethodBinding.instantiateGetClass(TypeBinding receiverType, MethodBinding originalMethod, Scope scope)
          The type of x.getClass() is substituted from 'Class' into: 'Class
protected  boolean Scope.isAcceptableMethod(MethodBinding one, MethodBinding two)
           
 boolean Scope.isDefinedInMethod(MethodBinding method)
           
 boolean MethodVerifier.isMethodSubsignature(MethodBinding method, MethodBinding inheritedMethod)
           
 boolean InferenceContext18.isMoreSpecificThan(MethodBinding m1, MethodBinding m2, boolean isVarArgs, boolean isVarArgs2)
          18.5.4 More Specific Method Inference
static boolean MethodVerifier.isSubstituteParameterSubsignature(MethodBinding method, MethodBinding substituteMethod, LookupEnvironment environment)
           
protected  MethodBinding Scope.mostSpecificClassMethodBinding(MethodBinding[] visible, int visibleSize, InvocationSite invocationSite)
           
protected  MethodBinding Scope.mostSpecificInterfaceMethodBinding(MethodBinding[] visible, int visibleSize, InvocationSite invocationSite)
           
protected  MethodBinding Scope.mostSpecificMethodBinding(MethodBinding[] visible, int visibleSize, TypeBinding[] argumentTypes, InvocationSite invocationSite, ReferenceBinding receiverType)
           
 int Scope.parameterCompatibilityLevel(MethodBinding method, TypeBinding[] arguments)
           
 int Scope.parameterCompatibilityLevel(MethodBinding method, TypeBinding[] arguments, boolean tiebreakingVarargsMethods)
           
 boolean InferenceContext18.rebindInnerPolies(MethodBinding method, InvocationSite site)
           
protected  void ImplicitNullAnnotationVerifier.recordDeferredInheritedNullness(Scope scope, ASTNode location, MethodBinding inheritedMethod, java.lang.Boolean inheritedNonNullness, org.eclipse.jdt.internal.compiler.lookup.ImplicitNullAnnotationVerifier.InheritedNonNullnessInfo nullnessInfo)
           
 boolean InferenceContext18.registerSolution(TypeBinding targetType, MethodBinding updatedBinding)
           
 void InferenceContext18.reportInvalidInvocation(Invocation invocation, MethodBinding binding)
           
 void MethodVerifier.reportRawReferences(MethodBinding currentMethod, MethodBinding inheritedMethod)
           
 MethodBinding SourceTypeBinding.resolveTypesFor(MethodBinding method)
           
 MethodBinding[] SourceTypeBinding.setMethods(MethodBinding[] methods)
           
static void ReferenceBinding.sortMethods(MethodBinding[] sortedMethods, int left, int right)
          Sort the field array using a quicksort
 

Constructors in org.eclipse.jdt.internal.compiler.lookup with parameters of type MethodBinding
ElementValuePair(char[] name, Expression expression, MethodBinding binding)
           
ElementValuePair(char[] name, java.lang.Object value, MethodBinding binding)
           
InferenceContext(MethodBinding genericMethod)
           
MethodBinding(MethodBinding initialMethodBinding, ReferenceBinding declaringClass)
           
MostSpecificExceptionMethodBinding(MethodBinding originalMethod, ReferenceBinding[] mostSpecificExceptions)
           
ParameterizedGenericMethodBinding(MethodBinding originalMethod, RawTypeBinding rawType, LookupEnvironment environment)
          Create raw generic method for raw type (double substitution from type vars with raw type arguments, and erasure of method variables) Only invoked for non-static generic methods of raw type
ParameterizedGenericMethodBinding(MethodBinding originalMethod, TypeBinding[] typeArguments, LookupEnvironment environment)
          Create method of parameterized type, substituting original parameters with type arguments.
ParameterizedMethodBinding(ParameterizedTypeBinding parameterizedDeclaringClass, MethodBinding originalMethod)
          Create method of parameterized type, substituting original parameters/exception/return type with type arguments.
ParameterizedMethodBinding(ReferenceBinding declaringClass, MethodBinding originalMethod, char[][] alternateParamaterNames, LookupEnvironment environment)
          Create method of parameterized type, substituting original parameters/exception/return type with type arguments.
PolymorphicMethodBinding(MethodBinding polymorphicMethod, TypeBinding[] parameterTypes)
           
PolymorphicMethodBinding(MethodBinding polymorphicMethod, TypeBinding returnType, TypeBinding[] parameterTypes)
           
ProblemMethodBinding(MethodBinding closestMatch, char[] selector, TypeBinding[] args, int problemReason)
           
SyntheticFactoryMethodBinding(MethodBinding method, LookupEnvironment environment, ReferenceBinding enclosingType)
           
SyntheticMethodBinding(MethodBinding targetMethod, boolean isSuperAccess, ReferenceBinding declaringClass)
           
SyntheticMethodBinding(MethodBinding privateConstructor, MethodBinding publicConstructor, char[] selector, TypeBinding[] enclosingInstances, SourceTypeBinding declaringClass)
           
SyntheticMethodBinding(MethodBinding overridenMethodToBridge, MethodBinding targetMethod, SourceTypeBinding declaringClass)
          Construct a bridge method
SyntheticMethodBinding(MethodBinding overridenMethodToBridge, SourceTypeBinding declaringClass)
           
 

Uses of MethodBinding in org.eclipse.jdt.internal.compiler.problem
 

Methods in org.eclipse.jdt.internal.compiler.problem with parameters of type MethodBinding
 void ProblemReporter.abstractMethodCannotBeOverridden(SourceTypeBinding type, MethodBinding concreteMethod)
           
 void ProblemReporter.abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod)
           
 void ProblemReporter.abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod, MethodBinding concreteMethod)
           
 void ProblemReporter.annotationCannotOverrideMethod(MethodBinding overrideMethod, MethodBinding inheritedMethod)
           
 void ProblemReporter.cannotDireclyInvokeAbstractMethod(ASTNode invocationSite, MethodBinding method)
           
 void ProblemReporter.cannotImplementIncompatibleNullness(MethodBinding currentMethod, MethodBinding inheritedMethod, boolean showReturn)
           
 void ProblemReporter.cannotInvokeSuperConstructorInEnum(ExplicitConstructorCall constructorCall, MethodBinding enumConstructor)
           
 void ProblemReporter.conflictingInheritedNullAnnotations(ASTNode location, boolean previousIsNonNull, MethodBinding previousInherited, boolean isNonNull, MethodBinding inheritedMethod)
           
 void ProblemReporter.conflictingNullAnnotations(MethodBinding currentMethod, ASTNode location, MethodBinding inheritedMethod)
           
 void ProblemReporter.contradictoryNullAnnotationsInferred(MethodBinding inferredMethod, ASTNode location)
           
 void ProblemReporter.contradictoryNullAnnotationsInferred(MethodBinding inferredMethod, int sourceStart, int sourceEnd)
           
 void ProblemReporter.contradictoryNullAnnotationsInferred(MethodBinding inferredMethod, InvocationSite location)
           
 void ProblemReporter.defaultMethodOverridesObjectMethod(MethodBinding currentMethod)
           
 void ProblemReporter.deprecatedMethod(MethodBinding method, ASTNode location)
           
 void ProblemReporter.duplicateInheritedMethods(SourceTypeBinding type, MethodBinding inheritedMethod1, MethodBinding inheritedMethod2, boolean isJava8)
           
 void ProblemReporter.finalMethodCannotBeOverridden(MethodBinding currentMethod, MethodBinding inheritedMethod)
           
 void ProblemReporter.forbiddenReference(MethodBinding method, ASTNode location, byte classpathEntryType, java.lang.String classpathEntryName, int problemId)
           
 void ProblemReporter.illegalReturnRedefinition(AbstractMethodDeclaration abstractMethodDecl, MethodBinding inheritedMethod, char[][] nonNullAnnotationName)
           
 void ProblemReporter.illegalReturnRedefinition(ASTNode location, MethodBinding descriptorMethod, char[][] nonNullAnnotationName, char[][] providedAnnotationName, TypeBinding providedType)
           
 void ProblemReporter.illegalSuperCallBypassingOverride(InvocationSite location, MethodBinding targetMethod, ReferenceBinding overrider)
           
 void ProblemReporter.incompatibleExceptionInThrowsClause(SourceTypeBinding type, MethodBinding currentMethod, MethodBinding inheritedMethod, ReferenceBinding exceptionType)
           
 void ProblemReporter.incompatibleReturnType(MethodBinding currentMethod, MethodBinding inheritedMethod)
           
 void ProblemReporter.incompatibleReturnType(ReferenceExpression expression, MethodBinding method, TypeBinding returnType)
           
 void ProblemReporter.indirectAccessToStaticMethod(ASTNode location, MethodBinding method)
           
 void ProblemReporter.inheritedDefaultMethodConflictsWithOtherInherited(SourceTypeBinding type, MethodBinding defaultMethod, MethodBinding otherMethod)
           
 void ProblemReporter.inheritedMethodReducesVisibility(SourceTypeBinding type, MethodBinding concreteMethod, MethodBinding[] abstractMethods)
           
 void ProblemReporter.inheritedMethodReducesVisibility(SourceTypeBinding type, MethodBinding concreteMethod, MethodBinding[] abstractMethods)
           
 void ProblemReporter.inheritedMethodReducesVisibility(TypeParameter typeParameter, MethodBinding concreteMethod, MethodBinding[] abstractMethods)
           
 void ProblemReporter.inheritedMethodReducesVisibility(TypeParameter typeParameter, MethodBinding concreteMethod, MethodBinding[] abstractMethods)
           
 void ProblemReporter.inheritedMethodsHaveIncompatibleReturnTypes(ASTNode location, MethodBinding[] inheritedMethods, int length)
           
 void ProblemReporter.inheritedMethodsHaveIncompatibleReturnTypes(SourceTypeBinding type, MethodBinding[] inheritedMethods, int length, boolean[] isOverridden)
           
 void ProblemReporter.inheritedMethodsHaveNameClash(SourceTypeBinding type, MethodBinding oneMethod, MethodBinding twoMethod)
           
 void ProblemReporter.invalidConstructor(Statement statement, MethodBinding targetConstructor)
           
 void ProblemReporter.invalidMethod(MessageSend messageSend, MethodBinding method)
           
 void ProblemReporter.javadocDeprecatedMethod(MethodBinding method, ASTNode location, int modifiers)
           
 void ProblemReporter.javadocInvalidConstructor(Statement statement, MethodBinding targetConstructor, int modifiers)
           
 void ProblemReporter.javadocInvalidMethod(MessageSend messageSend, MethodBinding method, int modifiers)
           
 void ProblemReporter.lambdaExpressionCannotImplementGenericMethod(LambdaExpression lambda, MethodBinding sam)
           
 void ProblemReporter.messageSendPotentialNullReference(MethodBinding method, ASTNode location)
           
 void ProblemReporter.messageSendRedundantCheckOnNonNull(MethodBinding method, ASTNode location)
           
 void ProblemReporter.methodMustBeAccessedStatically(ReferenceExpression expression, MethodBinding nonInstanceMethod)
           
 void ProblemReporter.methodMustBeAccessedWithInstance(ReferenceExpression expression, MethodBinding instanceMethod)
           
 void ProblemReporter.methodNameClash(MethodBinding currentMethod, MethodBinding inheritedMethod, int severity)
           
 void ProblemReporter.methodNameClashHidden(MethodBinding currentMethod, MethodBinding inheritedMethod)
           
 void ProblemReporter.methodReferenceSwingsBothWays(ReferenceExpression expression, MethodBinding instanceMethod, MethodBinding nonInstanceMethod)
           
 void ProblemReporter.missingSynchronizedOnInheritedMethod(MethodBinding currentMethod, MethodBinding inheritedMethod)
           
 void ProblemReporter.missingTypeInConstructor(ASTNode location, MethodBinding constructor)
           
 void ProblemReporter.missingTypeInLambda(LambdaExpression lambda, MethodBinding method)
           
 void ProblemReporter.missingTypeInMethod(ASTNode astNode, MethodBinding method)
           
 void ProblemReporter.mustUseAStaticMethod(MessageSend messageSend, MethodBinding method)
           
 void ProblemReporter.needToEmulateMethodAccess(MethodBinding method, ASTNode location)
           
 void ProblemReporter.nonStaticAccessToStaticMethod(ASTNode location, MethodBinding method)
           
 void ProblemReporter.overridesDeprecatedMethod(MethodBinding localMethod, MethodBinding inheritedMethod)
           
 void ProblemReporter.overridesMethodWithoutSuperInvocation(MethodBinding localMethod)
           
 void ProblemReporter.overridesPackageDefaultMethod(MethodBinding localMethod, MethodBinding inheritedMethod)
           
 void ProblemReporter.referenceExpressionArgumentNullityMismatch(ReferenceExpression location, TypeBinding requiredType, TypeBinding providedType, MethodBinding descriptorMethod, int idx, NullAnnotationMatching status)
           
 void ProblemReporter.safeVarargsOnFixedArityMethod(MethodBinding method)
           
 void ProblemReporter.safeVarargsOnNonFinalInstanceMethod(MethodBinding method)
           
 void ProblemReporter.staticAndInstanceConflict(MethodBinding currentMethod, MethodBinding inheritedMethod)
           
 void ProblemReporter.staticInheritedMethodConflicts(SourceTypeBinding type, MethodBinding concreteMethod, MethodBinding[] abstractMethods)
           
 void ProblemReporter.staticInheritedMethodConflicts(SourceTypeBinding type, MethodBinding concreteMethod, MethodBinding[] abstractMethods)
           
 void ProblemReporter.unnecessaryTypeArgumentsForMethodInvocation(MethodBinding method, TypeBinding[] genericTypeArguments, TypeReference[] typeArguments)
           
 void ProblemReporter.unsafeRawGenericMethodInvocation(ASTNode location, MethodBinding rawMethod, TypeBinding[] argumentTypes)
           
 void ProblemReporter.unsafeRawInvocation(ASTNode location, MethodBinding rawMethod)
           
 void ProblemReporter.unsafeReturnTypeOverride(MethodBinding currentMethod, MethodBinding inheritedMethod, SourceTypeBinding type)
           
 void ProblemReporter.varargsArgumentNeedCast(MethodBinding method, TypeBinding argumentType, InvocationSite location)
           
 void ProblemReporter.varargsConflict(MethodBinding method1, MethodBinding method2, SourceTypeBinding type)
           
 void ProblemReporter.visibilityConflict(MethodBinding currentMethod, MethodBinding inheritedMethod)
           
 void ProblemReporter.wildcardInvocation(ASTNode location, TypeBinding receiverType, MethodBinding method, TypeBinding[] arguments)
           
 

Uses of MethodBinding in org.eclipse.jdt.internal.compiler.util
 

Methods in org.eclipse.jdt.internal.compiler.util that return MethodBinding
static MethodBinding[] Sorting.abstractFirst(MethodBinding[] methods, int length)
           
static MethodBinding[] Sorting.concreteFirst(MethodBinding[] methods, int length)
           
 

Methods in org.eclipse.jdt.internal.compiler.util with parameters of type MethodBinding
static MethodBinding[] Sorting.abstractFirst(MethodBinding[] methods, int length)
           
static MethodBinding[] Sorting.concreteFirst(MethodBinding[] methods, int length)
           
 

Uses of MethodBinding in org.eclipse.jdt.internal.core.util
 

Methods in org.eclipse.jdt.internal.core.util with parameters of type MethodBinding
static JavaElement Util.getUnresolvedJavaElement(MethodBinding methodBinding, WorkingCopyOwner workingCopyOwner, Util.BindingsToNodesMap bindingsToNodes)
          Return the java element corresponding to the given compiler binding.