Uses of Class
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding
Packages that use MethodBinding
Package
Description
-
Uses of MethodBinding in org.aspectj.ajdt.internal.compiler.ast
Fields in org.aspectj.ajdt.internal.compiler.ast declared as MethodBindingMethods in org.aspectj.ajdt.internal.compiler.ast with parameters of type MethodBindingModifier and TypeMethodDescriptionstatic voidAstUtil.addMethodBinding(SourceTypeBinding sourceType, MethodBinding method) booleanPointcutDesignator.finishResolveTypes(AbstractMethodDeclaration dec, MethodBinding method, int baseArgumentCount, SourceTypeBinding sourceTypeBinding) static MethodDeclarationAstUtil.makeMethodDeclaration(MethodBinding binding) static voidAstUtil.replaceMethodBinding(MessageSend send, MethodBinding newBinding) Constructors in org.aspectj.ajdt.internal.compiler.ast with parameters of type MethodBindingModifierConstructorDescriptionKnownMessageSend(MethodBinding binding, Expression receiver, Expression[] arguments) -
Uses of MethodBinding in org.aspectj.ajdt.internal.compiler.lookup
Subclasses of MethodBinding in org.aspectj.ajdt.internal.compiler.lookupModifier and TypeClassDescriptionclassA special method binding representing an ITD that pretends to be a member in some target type for matching purposes.classFields in org.aspectj.ajdt.internal.compiler.lookup declared as MethodBindingMethods in org.aspectj.ajdt.internal.compiler.lookup that return MethodBindingModifier and TypeMethodDescriptionInterTypeMethodBinding.getAccessMethod(boolean staticReference) static MethodBindingAjTypeConstants.getConversionMethodFromObject(Scope scope, TypeBinding toType) static MethodBindingAjTypeConstants.getConversionMethodToObject(Scope scope, TypeBinding fromType) InterTypeMemberFinder.getExactMethod(SourceTypeBinding sourceTypeBinding, char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) InterTypeMemberFinder.getMethods(SourceTypeBinding sourceTypeBinding, char[] selector) PrivilegedHandler.getPrivilegedAccessMethod(MethodBinding baseMethod, ASTNode location) EclipseFactory.internalMakeMethodBinding(ResolvedMember member, List<String> aliases) EclipseFactory.internalMakeMethodBinding(ResolvedMember member, List<String> aliases, UnresolvedType aliasTargetType) Take a normal AJ member and convert it into an eclipse methodBinding.EclipseFactory.makeMethodBinding(NewMethodTypeMunger nmtm) EclipseFactory.makeMethodBinding(ResolvedMember member) Convert a resolvedmember into an eclipse method binding.EclipseFactory.makeMethodBinding(ResolvedMember member, List<String> aliases) Convert a resolvedmember into an eclipse method binding.EclipseFactory.makeMethodBinding(ResolvedMember member, List aliases, UnresolvedType aliasTargetType) Creates a method binding for a resolvedmember taking into account type variable aliases - this variant can take an aliasTargetType and should be used when the alias target type cannot be retrieved from the resolvedmember.EclipseFactory.makeMethodBindingForCall(Member member) HelperInterfaceBinding.methods()InterTypeMemberFinder.methods(SourceTypeBinding sourceTypeBinding) Methods in org.aspectj.ajdt.internal.compiler.lookup with parameters of type MethodBindingModifier and TypeMethodDescriptionvoidInterTypeMemberFinder.addInterTypeMethod(MethodBinding binding) EclipseFactory.fromBinding(MethodBinding binding) PrivilegedHandler.getPrivilegedAccessMethod(MethodBinding baseMethod, ASTNode location) EclipseFactory.makeResolvedMember(MethodBinding binding) EclipseFactory.makeResolvedMember(MethodBinding binding, TypeBinding declaringType) EclipseFactory.makeResolvedMember(MethodBinding binding, TypeBinding declaringType, MemberKind memberKind) EclipseFactory.makeResolvedMember(MethodBinding binding, Shadow.Kind shadowKind) EclipseFactory.makeResolvedMemberForITD(MethodBinding binding, TypeBinding declaringType, Map<TypeVariableBinding, String> recoveryAliases) Construct a resolvedmember from a methodbinding.static booleanInterTypeMemberFinder.matches(MethodBinding m1, MethodBinding m2) static booleanInterTypeMemberFinder.matches2(MethodBinding newBinding, MethodBinding existingBinding) Constructors in org.aspectj.ajdt.internal.compiler.lookup with parameters of type MethodBindingModifierConstructorDescriptionEclipseResolvedMember(MethodBinding binding, MemberKind memberKind, ResolvedType realDeclaringType, int modifiers, UnresolvedType rettype, String name, UnresolvedType[] paramtypes, UnresolvedType[] extypes, EclipseFactory eclipseFactory) -
Uses of MethodBinding in org.aspectj.ajdt.internal.compiler.problem
Methods in org.aspectj.ajdt.internal.compiler.problem with parameters of type MethodBindingModifier and TypeMethodDescriptionvoidAjProblemReporter.abstractMethodCannotBeOverridden(SourceTypeBinding type, MethodBinding concreteMethod) voidAjProblemReporter.abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod) voidAjProblemReporter.duplicateInheritedMethods(SourceTypeBinding type, MethodBinding inheritedMethod1, MethodBinding inheritedMethod2, boolean isJava8) The method verifier is a bit 'keen' and doesn't cope well with ITDMs which are of course to be considered a 'default' implementation if the target type doesn't supply one.voidAjProblemReporter.finalMethodCannotBeOverridden(MethodBinding currentMethod, MethodBinding inheritedMethod) A side-effect of the way that we handle itds on default methods on top-most implementors of interfaces is that a class acquiring a final default ITD will erroneously report that it can't override its own member.voidAjProblemReporter.inheritedMethodReducesVisibility(SourceTypeBinding type, MethodBinding concreteMethod, MethodBinding[] abstractMethods) voidAjProblemReporter.itdMethodMustOverride(AbstractMethodDeclaration method, MethodBinding binding) Called when there is an ITD marked @override that doesn't override a supertypes method.voidAjProblemReporter.overridesPackageDefaultMethod(MethodBinding localMethod, MethodBinding inheritedMethod) voidAjProblemReporter.staticAndInstanceConflict(MethodBinding currentMethod, MethodBinding inheritedMethod) voidAjProblemReporter.visibilityConflict(MethodBinding currentMethod, MethodBinding inheritedMethod) -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.codeassist
Methods in org.aspectj.org.eclipse.jdt.internal.codeassist that return MethodBindingModifier and TypeMethodDescriptionprotected MethodBindingSelectionEngine.findOverriddenMethodInType(ReferenceBinding overriddenType, MethodBinding overriding) Methods in org.aspectj.org.eclipse.jdt.internal.codeassist with parameters of type MethodBindingModifier and TypeMethodDescriptionprotected booleanCompletionEngine.completingInPreamble(MethodBinding method) protected MethodBindingSelectionEngine.findOverriddenMethodInType(ReferenceBinding overriddenType, MethodBinding overriding) -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.codeassist.impl
Methods in org.aspectj.org.eclipse.jdt.internal.codeassist.impl with parameters of type MethodBinding -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.compiler
Methods in org.aspectj.org.eclipse.jdt.internal.compiler with parameters of type MethodBindingModifier and TypeMethodDescriptionvoidClassFile.addAbstractMethod(AbstractMethodDeclaration method, MethodBinding methodBinding) INTERNAL USE-ONLY Generate the byte for a problem method info that correspond to a bogus method.voidClassFile.addProblemConstructor(AbstractMethodDeclaration method, MethodBinding methodBinding, CategorizedProblem[] problems) INTERNAL USE-ONLY Generate the byte for a problem method info that correspond to a boggus constructor.voidClassFile.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.voidClassFile.addProblemMethod(AbstractMethodDeclaration method, MethodBinding methodBinding, CategorizedProblem[] problems) INTERNAL USE-ONLY Generate the byte for a problem method info that correspond to a boggus method.voidClassFile.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.voidClassFile.completeCodeAttributeForMissingAbstractProblemMethod(MethodBinding binding, int codeAttributeOffset, int[] startLineIndexes, int problemLine) voidClassFile.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.voidClassFile.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.intClassFile.generateMethodInfoAttributes(MethodBinding methodBinding) intClassFile.generateMethodInfoAttributes(MethodBinding methodBinding, List extraAttributes) INTERNAL USE-ONLY That method generates the attributes of a code attribute.intClassFile.generateMethodInfoAttributes(MethodBinding methodBinding, AnnotationMethodDeclaration declaration) voidClassFile.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.voidClassFile.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.ClassFile.traverse(MethodBinding methodBinding, int maxLocals, byte[] bytecodes, int codeOffset, int codeLength, Map<Integer, StackMapFrame> frames, boolean isClinit, Scope scope) -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.compiler.apt.model
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.apt.model that return MethodBindingMethods in org.aspectj.org.eclipse.jdt.internal.compiler.apt.model with parameters of type MethodBindingConstructors in org.aspectj.org.eclipse.jdt.internal.compiler.apt.model with parameters of type MethodBindingModifierConstructorDescriptionAnnotationMemberValue(BaseProcessingEnvImpl env, Object value, MethodBinding methodBinding) -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.compiler.ast
Fields in org.aspectj.org.eclipse.jdt.internal.compiler.ast declared as MethodBindingModifier and TypeFieldDescriptionprotected MethodBindingPattern.accessorMethodprotected MethodBindingFunctionalExpression.actualMethodBindingAbstractMethodDeclaration.bindingAllocationExpression.bindingExplicitConstructorCall.bindingFunctionalExpression.bindingMemberValuePair.bindingMessageSend.bindingFunctionalExpression.descriptorJavadocFieldReference.methodBindingMessageSend.syntheticAccessorFieldReference.syntheticAccessorsSingleNameReference.syntheticAccessorsFields in org.aspectj.org.eclipse.jdt.internal.compiler.ast with type parameters of type MethodBindingMethods in org.aspectj.org.eclipse.jdt.internal.compiler.ast that return MethodBindingModifier and TypeMethodDescriptionAllocationExpression.binding()ExplicitConstructorCall.binding()Invocation.binding()Answer the resolved method binding of this invocationMessageSend.binding()static MethodBindingNullAnnotationMatching.checkForContradictions(MethodBinding method, Object location, Scope scope) After a method has substituted type parameters, check if this resulted in any contradictory null annotations.TypeDeclaration.createDefaultConstructorWithBinding(MethodBinding inheritedConstructorBinding, boolean eraseThrownExceptions) protected MethodBindingStatement.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'.ReferenceExpression.getExactMethod()FunctionalExpression.getMethodBinding()Initializer.getMethodBinding()Method used only by DOM to support bindings of initializers.LambdaExpression.getMethodBinding()ReferenceExpression.getMethodBinding()FunctionalExpression.getRequiredBridges()AllocationExpression.inferConstructorOfElidedParameterizedType(Scope scope) static MethodBindingAllocationExpression.inferDiamondConstructor(Scope scope, InvocationSite site, TypeBinding type, TypeBinding[] argumentTypes, boolean[] inferredReturnTypeOut) static MethodBindingASTNode.resolvePolyExpressionArguments(Invocation invocation, MethodBinding method, TypeBinding[] argumentTypes, BlockScope 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.Methods in org.aspectj.org.eclipse.jdt.internal.compiler.ast with parameters of type MethodBindingModifier and TypeMethodDescriptionvoidASTNode.acceptPotentiallyCompatibleMethods(MethodBinding[] methods) voidReferenceExpression.acceptPotentiallyCompatibleMethods(MethodBinding[] methods) TypeDeclaration.addMissingAbstractMethodFor(MethodBinding methodBinding) protected voidStatement.analyseArguments(BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo, MethodBinding methodBinding, Expression[] arguments) Analysing arguments of MessageSend, ExplicitConstructorCall, AllocationExpression.static MethodBindingNullAnnotationMatching.checkForContradictions(MethodBinding method, Object location, Scope scope) After a method has substituted type parameters, check if this resulted in any contradictory null annotations.static booleanASTNode.checkInvocationArguments(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding method, Expression[] arguments, TypeBinding[] argumentTypes, boolean argsContainCast, InvocationSite invocationSite) static voidCastExpression.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)TypeDeclaration.createDefaultConstructorWithBinding(MethodBinding inheritedConstructorBinding, boolean eraseThrownExceptions) TypeDeclaration.declarationOf(MethodBinding methodBinding) Find the matching parse node, answers null if nothing foundvoidReference.fieldStore(Scope currentScope, CodeStream codeStream, FieldBinding fieldBinding, MethodBinding syntheticWriteAccessor, TypeBinding receiverType, boolean isImplicitThisReceiver, boolean valueRequired) voidStatement.generateArguments(MethodBinding binding, Expression[] arguments, BlockScope currentScope, CodeStream codeStream) Generate invocation arguments, considering varargs methodsvoidSingleNameReference.generateCompoundAssignment(BlockScope currentScope, CodeStream codeStream, MethodBinding writeAccessor, Expression expression, int operator, int assignmentImplicitConversion, boolean valueRequired) default FlowInfoInvocation.handleResourcePassedToInvocation(BlockScope currentScope, MethodBinding methodBinding, Expression argument, int rank, FlowContext flowContext, FlowInfo flowInfo) Resource leak analysis: track the case that a resource is passed as an argument to an invocation.static booleanNullAnnotationMatching.hasMoreSpecificNullness(MethodBinding m1, MethodBinding m2) Help Scope.mostSpecificMethodBinding(MethodBinding[], int, TypeBinding[], InvocationSite, ReferenceBinding): If choice between equivalent methods would otherwise be arbitrary, determine if m1 should be preferred due to a more specific null contract.final booleanASTNode.isMethodUseDeprecated(MethodBinding method, Scope scope, boolean isExplicitUse, InvocationSite invocation) booleanConditionalExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanFunctionalExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanIPolyExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanLambdaExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanReferenceExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanSwitchExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanAllocationExpression.isPolyExpression(MethodBinding method) booleanExpression.isPolyExpression(MethodBinding method) Variant of isPolyExpression() to be used during type inference, when a resolution candidate exists.booleanFunctionalExpression.isPolyExpression(MethodBinding candidate) booleanIPolyExpression.isPolyExpression(MethodBinding candidate) booleanMessageSend.isPolyExpression(MethodBinding resolutionCandidate) Variant of isPolyExpression() to be used during type inference, when a resolution candidate exists.booleanFunctionalExpression.kosherDescriptor(Scope scope, MethodBinding sam, boolean shouldChatter) booleanLambdaExpression.kosherDescriptor(Scope currentScope, MethodBinding sam, boolean shouldChatter) voidAllocationExpression.registerResult(TypeBinding targetType, MethodBinding method) voidExplicitConstructorCall.registerResult(TypeBinding targetType, MethodBinding method) voidInvocation.registerResult(TypeBinding targetType, MethodBinding method) Record result against target typevoidMessageSend.registerResult(TypeBinding targetType, MethodBinding method) protected TypeBindingFunctionalExpression.reportSamProblem(BlockScope blockScope, MethodBinding sam) static MethodBindingASTNode.resolvePolyExpressionArguments(Invocation invocation, MethodBinding method, TypeBinding[] argumentTypes, BlockScope 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.voidCompilationUnitDeclaration.updateLocalTypesInMethod(MethodBinding methodBinding) static voidLambdaExpression.updateLocalTypesInMethod(MethodBinding method, Scope.Substitutor substor, Substitution subst) -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.compiler.codegen
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.codegen with parameters of type MethodBindingModifier and TypeMethodDescriptionvoidCodeStream.generateEmulationForConstructor(Scope scope, MethodBinding methodBinding) voidCodeStream.generateEmulationForMethod(Scope scope, MethodBinding methodBinding) static TypeBindingCodeStream.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 typevoidCodeStream.initializeMaxLocals(MethodBinding methodBinding) voidStackMapFrameCodeStream.initializeMaxLocals(MethodBinding methodBinding) voidCodeStream.invoke(byte opcode, MethodBinding methodBinding, TypeBinding declaringClass) voidCodeStream.invoke(byte opcode, MethodBinding methodBinding, TypeBinding declaringClass, TypeReference[] typeArguments) voidTypeAnnotationCodeStream.invoke(byte opcode, MethodBinding methodBinding, TypeBinding declaringClass, TypeReference[] typeArguments) intConstantPool.literalIndexForMethodHandle(MethodBinding binding) -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.compiler.lookup
Subclasses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.compiler.lookupModifier and TypeClassDescriptionclassPseudo method binding used to wrapper a real method, and expose less exceptions than original.classBinding denoting a generic method after type parameter substitutions got performed.classBinding denoting a method after type parameter substitutions got performed.classBinding denoting a polymorphic methodclassclassclassEncodes a synthetic <factory> method used for resolving a diamond constructor.classFields in org.aspectj.org.eclipse.jdt.internal.compiler.lookup declared as MethodBindingModifier and TypeFieldDescriptionElementValuePair.bindingProblemMethodBinding.closestMatchLocalTypeBinding.enclosingMethodAptBinaryLocalVariableBinding.methodBindingAptSourceLocalVariableBinding.methodBindingParameterizedTypeBinding.methodsSourceTypeBinding.methodsstatic final MethodBinding[]Binding.NO_METHODSprotected MethodBindingParameterizedMethodBinding.originalMethodprotected MethodBindingPolymorphicMethodBinding.polymorphicMethodprotected MethodBinding[]ReferenceBinding.singleAbstractMethodSyntheticMethodBinding.targetMethodstatic final MethodBinding[]Binding.UNINITIALIZED_METHODSMethods in org.aspectj.org.eclipse.jdt.internal.compiler.lookup that return MethodBindingModifier and TypeMethodDescriptionMethodBinding.asRawMethod(LookupEnvironment env) BinaryTypeBinding.availableMethods()ReferenceBinding.availableMethods()Return the array of resolvable methods (resilience)SourceTypeBinding.checkAndAddSyntheticRecordMethods(MethodBinding[] methodBindings, int count) static MethodBindingParameterizedGenericMethodBinding.computeCompatibleMethod(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite) Perform inference of generic method type parameters and/or expected typeprotected final MethodBindingScope.computeCompatibleMethod(MethodBinding method, TypeBinding[] arguments, InvocationSite invocationSite) Internal use only Given a method, returns null if arguments cannot be converted to parameters.protected final MethodBindingScope.computeCompatibleMethod(MethodBinding method, TypeBinding[] arguments, InvocationSite invocationSite, boolean tiebreakingVarargsMethods) Internal use only Given a method, returns null if arguments cannot be converted to parameters.static MethodBindingParameterizedGenericMethodBinding.computeCompatibleMethod18(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite) MethodBinding.computeSubstitutedMethod(MethodBinding method, LookupEnvironment env) ProblemMethodBinding.computeSubstitutedMethod(MethodBinding method, LookupEnvironment env) static MethodBindingMethodVerifier.computeSubstituteMethod(MethodBinding inheritedMethod, MethodBinding currentMethod, LookupEnvironment environment) final MethodBindingClassScope.enclosingMethod()LocalTypeBinding.enclosingMethod()TypeBinding.enclosingMethod()protected MethodBindingScope.findDefaultAbstractMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, ReferenceBinding classHierarchyStart, ObjectVector found, MethodBinding[] concreteMatches) Scope.findExactMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) Scope.findMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, boolean inStaticContext) Scope.findMethod0(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, boolean inStaticContext) Scope.findMethodForArray(ArrayBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) MethodBinding.findOriginalInheritedMethod(MethodBinding inheritedMethod) ProblemMethodBinding.findOriginalInheritedMethod(MethodBinding inheritedMethod) MethodBinding.findPrivilegedBinding(SourceTypeBinding invocationType, InvocationSite location) MethodBinding.genericMethod()ParameterizedGenericMethodBinding.genericMethod()ProblemMethodBinding.genericMethod()MethodBinding.getAccessMethod(boolean staticReference) This will only be called if alwaysNeedsAccessMethod() returns true.ParameterizedGenericMethodBinding.getAccessMethod(boolean staticReference) ParameterizedMethodBinding.getAccessMethod(boolean staticReference) ArrayBinding.getCloneMethod(MethodBinding originalMethod) The type of x.clone() is substituted from 'Object' into the type of the receiver array (non-null)Scope.getConstructor(ReferenceBinding receiverType, TypeBinding[] argumentTypes, InvocationSite invocationSite) SyntheticFactoryMethodBinding.getConstructor()Scope.getConstructor0(ReferenceBinding receiverType, TypeBinding[] argumentTypes, InvocationSite invocationSite) SourceTypeBinding.getDefaultAbstractMethods()LocalVariableBinding.getEnclosingMethod()BinaryTypeBinding.getExactConstructor(TypeBinding[] argumentTypes) ParameterizedTypeBinding.getExactConstructor(TypeBinding[] argumentTypes) ReferenceBinding.getExactConstructor(TypeBinding[] argumentTypes) Scope.getExactConstructor(TypeBinding receiverType, InvocationSite invocationSite) SourceTypeBinding.getExactConstructor(TypeBinding[] argumentTypes) BinaryTypeBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) IMemberFinder.getExactMethod(SourceTypeBinding sourceTypeBinding, char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) ParameterizedTypeBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) ReferenceBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) Scope.getExactMethod(TypeBinding receiverType, char[] selector, InvocationSite invocationSite) SourceTypeBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) ParameterizedTypeBinding.getExactMethodBase(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) SourceTypeBinding.getExactMethodBase(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) Scope.getImplicitMethod(char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) protected MethodBinding[]IntersectionTypeBinding18.getInterfaceAbstractContracts(Scope scope, boolean replaceWildcards, boolean filterDefaultMethods) protected MethodBinding[]ParameterizedTypeBinding.getInterfaceAbstractContracts(Scope scope, boolean replaceWildcards, boolean filterDefaultMethods) protected MethodBinding[]ReferenceBinding.getInterfaceAbstractContracts(Scope scope, boolean replaceWildcards, boolean filterDefaultMethods) Scope.getMethod(TypeBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) ElementValuePair.getMethodBinding()CaptureBinding18.getMethods(char[] selector) IMemberFinder.getMethods(SourceTypeBinding sourceTypeBinding, char[] methodName) ParameterizedTypeBinding.getMethods(char[] selector) ReferenceBinding.getMethods(char[] selector) ReferenceBinding.getMethods(char[] selector, int suggestedParameterLength) SourceTypeBinding.getMethods(char[] selector) SourceTypeBinding.getMethods(char[] selector, int suggestedParameterLength) TypeBinding.getMethods(char[] selector) BinaryTypeBinding.getMethodsBase(char[] selector) BinaryTypeBinding.getMethodsBase(char[] selector, int suggestedParameterLength) ParameterizedTypeBinding.getMethodsBase(char[] selector) SourceTypeBinding.getMethodsBase(char[] selector) IPrivilegedHandler.getPrivilegedAccessMethod(MethodBinding baseMethod, ASTNode location) BinaryTypeBinding.getRecordComponentAccessor(char[] name) ReferenceBinding.getRecordComponentAccessor(char[] name) Get the accessor method given the record component nameSourceTypeBinding.getRecordComponentAccessor(char[] name) 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.ParameterizedTypeBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards) ParameterizedTypeBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards, int start, int end) RawTypeBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards) ReferenceBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards) TypeBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards) Return the single abstract method of a functional interface, or one ofnullorReferenceBinding.samProblemBinding, if the receiver is not a functional interface as defined in JLS 9.8.Scope.getStaticFactory(ParameterizedTypeBinding allocationType, ReferenceBinding originalEnclosingType, TypeBinding[] argumentTypes, InvocationSite allocationSite) MethodBinding.getVisibleBinding(InvocationSite invocationSite, Scope scope) MethodBinding.getVisibleBinding(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) BinaryTypeBinding.methods()IMemberFinder.methods(SourceTypeBinding sourceTypeBinding) ParameterizedTypeBinding.methods()ReferenceBinding.methods()SourceTypeBinding.methods()BinaryTypeBinding.methodsBase()SourceTypeBinding.methodsBase()protected final MethodBindingScope.mostSpecificClassMethodBinding(MethodBinding[] visible, int visibleSize, InvocationSite invocationSite) protected final MethodBindingScope.mostSpecificInterfaceMethodBinding(MethodBinding[] visible, int visibleSize, InvocationSite invocationSite) protected final MethodBindingScope.mostSpecificMethodBinding(MethodBinding[] visible, int visibleSize, TypeBinding[] argumentTypes, InvocationSite invocationSite, ReferenceBinding receiverType) MethodBinding.original()Returns the original method (as opposed to parameterized/polymorphic instances)MostSpecificExceptionMethodBinding.original()ParameterizedMethodBinding.original()Returns the original method (as opposed to parameterized instances)PolymorphicMethodBinding.original()ProblemMethodBinding.original()MethodScope.referenceMethodBinding()Answers the binding of the reference method or reference lambda expression.BinaryTypeBinding.resolveTypesFor(MethodBinding method) SourceTypeBinding.resolveTypesFor(MethodBinding method) SourceTypeBinding.setMethods(MethodBinding[] methods) MethodBinding.shallowOriginal()Strips one level of parameterization, so if both class and method are parameterized, leave the class parameters in place.ParameterizedMethodBinding.shallowOriginal()ProblemMethodBinding.shallowOriginal()MethodBinding.tiebreakMethod()Returns the method to use during tiebreak (usually the method itself).ParameterizedGenericMethodBinding.tiebreakMethod()ProblemMethodBinding.tiebreakMethod()LookupEnvironment.updatePolymorphicMethodReturnType(PolymorphicMethodBinding binding, TypeBinding typeBinding) Methods in org.aspectj.org.eclipse.jdt.internal.compiler.lookup that return types with arguments of type MethodBindingModifier and TypeMethodDescriptionSourceTypeBinding.checkAndAddSyntheticRecordComponentAccessors(MethodBinding[] methodBindings) SourceTypeBinding.checkAndAddSyntheticRecordOverrideMethods(MethodBinding[] methodBindings, List<MethodBinding> implicitMethods) Methods in org.aspectj.org.eclipse.jdt.internal.compiler.lookup with parameters of type MethodBindingModifier and TypeMethodDescriptionvoidInvocationSite.acceptPotentiallyCompatibleMethods(MethodBinding[] methods) voidInvocationSite.EmptyWithAstNode.acceptPotentiallyCompatibleMethods(MethodBinding[] methods) voidSourceTypeBinding.addMethod(MethodBinding binding) SourceTypeBinding.addSyntheticBridgeMethod(MethodBinding inheritedMethodToBridge) SourceTypeBinding.addSyntheticBridgeMethod(MethodBinding inheritedMethodToBridge, MethodBinding targetMethod) SourceTypeBinding.addSyntheticFactoryMethod(MethodBinding privateConstructor, MethodBinding publicConstructor, TypeBinding[] enclosingInstances, char[] selector) SourceTypeBinding.addSyntheticMethod(MethodBinding targetMethod, boolean isSuperAccess) final booleanMethodBinding.areParameterErasuresEqual(MethodBinding method) final booleanMethodBinding.areParametersEqual(MethodBinding method) static booleanMethodVerifier.areReturnTypesCompatible(MethodBinding one, MethodBinding two, LookupEnvironment environment) final booleanMethodBinding.areTypeVariableErasuresEqual(MethodBinding method) static longReferenceBinding.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 booleanMethodVerifier.canOverridingMethodDifferInErasure(MethodBinding overridingMethod, MethodBinding inheritedMethod) SourceTypeBinding.checkAndAddSyntheticRecordComponentAccessors(MethodBinding[] methodBindings) SourceTypeBinding.checkAndAddSyntheticRecordMethods(MethodBinding[] methodBindings, int count) SourceTypeBinding.checkAndAddSyntheticRecordOverrideMethods(MethodBinding[] methodBindings, List<MethodBinding> implicitMethods) voidBlockScope.checkAppropriateMethodAgainstSupers(char[] selector, MethodBinding compileTimeMethod, TypeBinding[] parameters, InvocationSite site) 15.12.3 (Java 8) "Compile-Time Step 3: Is the Chosen Method Appropriate?"voidImplicitNullAnnotationVerifier.checkImplicitNullAnnotations(MethodBinding currentMethod, AbstractMethodDeclaration srcMethod, boolean complain, Scope scope) Check and fill in implicit annotations from overridden methods and from default.voidMethodScope.checkUnusedParameters(MethodBinding method) static MethodBindingParameterizedGenericMethodBinding.computeCompatibleMethod(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite) Perform inference of generic method type parameters and/or expected typeprotected final MethodBindingScope.computeCompatibleMethod(MethodBinding method, TypeBinding[] arguments, InvocationSite invocationSite) Internal use only Given a method, returns null if arguments cannot be converted to parameters.protected final MethodBindingScope.computeCompatibleMethod(MethodBinding method, TypeBinding[] arguments, InvocationSite invocationSite, boolean tiebreakingVarargsMethods) Internal use only Given a method, returns null if arguments cannot be converted to parameters.static MethodBindingParameterizedGenericMethodBinding.computeCompatibleMethod18(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite) MethodBinding.computeSubstitutedMethod(MethodBinding method, LookupEnvironment env) ProblemMethodBinding.computeSubstitutedMethod(MethodBinding method, LookupEnvironment env) static MethodBindingMethodVerifier.computeSubstituteMethod(MethodBinding inheritedMethod, MethodBinding currentMethod, LookupEnvironment environment) LookupEnvironment.createGetClassMethod(TypeBinding receiverType, MethodBinding originalMethod, Scope scope) voidInferenceContext18.createInitialConstraintsForParameters(TypeBinding[] parameters, boolean checkVararg, TypeBinding varArgsType, MethodBinding method) JLS 18.5.1: compute bounds from formal and actual parameters.LookupEnvironment.createParameterizedGenericMethod(MethodBinding genericMethod, RawTypeBinding rawType) LookupEnvironment.createParameterizedGenericMethod(MethodBinding genericMethod, TypeBinding[] typeArguments) LookupEnvironment.createParameterizedGenericMethod(MethodBinding genericMethod, TypeBinding[] typeArguments, boolean inferredWithUncheckedConversion, boolean hasReturnProblem, TypeBinding targetType) LookupEnvironment.createParameterizedGenericMethod(MethodBinding genericMethod, TypeBinding[] typeArguments, TypeBinding targetType) ParameterizedTypeBinding.createParameterizedMethod(MethodBinding originalMethod) RawTypeBinding.createParameterizedMethod(MethodBinding originalMethod) LookupEnvironment.createPolymorphicMethod(MethodBinding originalPolymorphicMethod, TypeBinding[] parameters, Scope scope) booleanMethodVerifier.doesMethodOverride(MethodBinding method, MethodBinding inheritedMethod) static booleanMethodVerifier.doesMethodOverride(MethodBinding method, MethodBinding inheritedMethod, LookupEnvironment environment) static voidImplicitNullAnnotationVerifier.ensureNullnessIsKnown(MethodBinding methodBinding, Scope scope) protected MethodBindingScope.findDefaultAbstractMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, ReferenceBinding classHierarchyStart, ObjectVector found, MethodBinding[] concreteMatches) MethodBinding.findOriginalInheritedMethod(MethodBinding inheritedMethod) ProblemMethodBinding.findOriginalInheritedMethod(MethodBinding inheritedMethod) ArrayBinding.getCloneMethod(MethodBinding originalMethod) The type of x.clone() is substituted from 'Object' into the type of the receiver array (non-null)protected intInferenceContext18.getInferenceKind(MethodBinding nonGenericMethod, TypeBinding[] argumentTypes) IPrivilegedHandler.getPrivilegedAccessMethod(MethodBinding baseMethod, ASTNode location) 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.SourceTypeBinding.getSyntheticBridgeMethod(MethodBinding inheritedMethodToBridge) booleanParameterizedTypeBinding.implementsMethod(MethodBinding method) voidInferenceContext18.inferInvocationApplicability(MethodBinding method, TypeBinding[] arguments, boolean isDiamond) JLS 18.5.1 Invocation Applicability Inference.org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BoundSetInferenceContext18.inferInvocationType(TypeBinding expectedType, InvocationSite invocationSite, MethodBinding method) JLS 18.5.2 Invocation Type InferencevoidSyntheticMethodBinding.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).voidSyntheticMethodBinding.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 ParameterizedMethodBindingParameterizedMethodBinding.instantiateGetClass(TypeBinding receiverType, MethodBinding originalMethod, Scope scope) The type of x.getClass() is substituted from'Class<? extends Object>'into:'Class<? extends raw(X)>protected booleanScope.isAcceptableMethod(MethodBinding one, MethodBinding two) static booleanArrayBinding.isArrayClone(TypeBinding receiverType, MethodBinding binding) final booleanScope.isDefinedInMethod(MethodBinding method) booleanMethodVerifier.isMethodSubsignature(MethodBinding method, MethodBinding inheritedMethod) booleanInferenceContext18.isMoreSpecificThan(MethodBinding m1, MethodBinding m2, boolean isVarArgs, boolean isVarArgs2) 18.5.4 More Specific Method Inferencestatic booleanMethodVerifier.isSubstituteParameterSubsignature(MethodBinding method, MethodBinding substituteMethod, LookupEnvironment environment) protected final MethodBindingScope.mostSpecificClassMethodBinding(MethodBinding[] visible, int visibleSize, InvocationSite invocationSite) protected final MethodBindingScope.mostSpecificInterfaceMethodBinding(MethodBinding[] visible, int visibleSize, InvocationSite invocationSite) protected final MethodBindingScope.mostSpecificMethodBinding(MethodBinding[] visible, int visibleSize, TypeBinding[] argumentTypes, InvocationSite invocationSite, ReferenceBinding receiverType) intScope.parameterCompatibilityLevel(MethodBinding method, TypeBinding[] arguments) intScope.parameterCompatibilityLevel(MethodBinding method, TypeBinding[] arguments, boolean tiebreakingVarargsMethods) intScope.parameterCompatibilityLevel(MethodBinding method, TypeBinding[] arguments, InvocationSite site) protected voidImplicitNullAnnotationVerifier.recordDeferredInheritedNullness(Scope scope, ASTNode location, MethodBinding inheritedMethod, Boolean inheritedNonNullness, org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ImplicitNullAnnotationVerifier.InheritedNonNullnessInfo nullnessInfo) voidMethodVerifier.reportRawReferences(MethodBinding currentMethod, MethodBinding inheritedMethod) BinaryTypeBinding.resolveTypesFor(MethodBinding method) SourceTypeBinding.resolveTypesFor(MethodBinding method) SourceTypeBinding.setMethods(MethodBinding[] methods) static voidReferenceBinding.sortMethods(MethodBinding[] sortedMethods, int left, int right) Sort the field array using a quicksortvoidMethodBinding.verifyOverrideCompatibility(MethodBinding inheritedMethod, ClassScope scope) Method parameters in org.aspectj.org.eclipse.jdt.internal.compiler.lookup with type arguments of type MethodBindingModifier and TypeMethodDescriptionSourceTypeBinding.checkAndAddSyntheticRecordOverrideMethods(MethodBinding[] methodBindings, List<MethodBinding> implicitMethods) Constructors in org.aspectj.org.eclipse.jdt.internal.compiler.lookup with parameters of type MethodBindingModifierConstructorDescriptionAptBinaryLocalVariableBinding(char[] name, TypeBinding type, int modifiers, AnnotationBinding[] annotationBindings, MethodBinding methodBinding) AptSourceLocalVariableBinding(LocalVariableBinding localVariableBinding, MethodBinding methodBinding) ElementValuePair(char[] name, Object value, MethodBinding binding) ElementValuePair(char[] name, Expression expression, 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 typeParameterizedGenericMethodBinding(MethodBinding originalMethod, TypeBinding[] typeArguments, LookupEnvironment environment, boolean inferredWithUncheckConversion, boolean hasReturnProblem, TypeBinding targetType) 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 myBinding) 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 methodSyntheticMethodBinding(MethodBinding overridenMethodToBridge, SourceTypeBinding declaringClass) -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.compiler.problem
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.problem with parameters of type MethodBindingModifier and TypeMethodDescriptionvoidProblemReporter.abstractMethodCannotBeOverridden(SourceTypeBinding type, MethodBinding concreteMethod) voidProblemReporter.abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod) voidProblemReporter.abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod, MethodBinding concreteMethod) voidProblemReporter.annotationCannotOverrideMethod(MethodBinding overrideMethod, MethodBinding inheritedMethod) voidProblemReporter.bytecodeExceeds64KLimit(MethodBinding method, int start, int end) voidProblemReporter.cannotDireclyInvokeAbstractMethod(ASTNode invocationSite, MethodBinding method) voidProblemReporter.cannotImplementIncompatibleNullness(ReferenceContext context, MethodBinding currentMethod, MethodBinding inheritedMethod, boolean showReturn) voidProblemReporter.cannotInvokeSuperConstructorInEnum(ExplicitConstructorCall constructorCall, MethodBinding enumConstructor) voidProblemReporter.checkSyntheticAccessor(MethodBinding method, ASTNode location) voidProblemReporter.conflictingInheritedNullAnnotations(ASTNode location, boolean previousIsNonNull, MethodBinding previousInherited, boolean isNonNull, MethodBinding inheritedMethod) voidProblemReporter.conflictingNullAnnotations(MethodBinding currentMethod, ASTNode location, MethodBinding inheritedMethod) voidProblemReporter.contradictoryNullAnnotationsInferred(MethodBinding inferredMethod, int sourceStart, int sourceEnd, boolean isFunctionalExpression) voidProblemReporter.contradictoryNullAnnotationsInferred(MethodBinding inferredMethod, ASTNode location) voidProblemReporter.defaultMethodOverridesObjectMethod(MethodBinding currentMethod) voidProblemReporter.deprecatedMethod(MethodBinding method, ASTNode location) voidProblemReporter.duplicateInheritedMethods(SourceTypeBinding type, MethodBinding inheritedMethod1, MethodBinding inheritedMethod2, boolean isJava8) voidProblemReporter.finalMethodCannotBeOverridden(MethodBinding currentMethod, MethodBinding inheritedMethod) voidProblemReporter.forbiddenReference(MethodBinding method, InvocationSite location, byte classpathEntryType, String classpathEntryName, int problemId) voidProblemReporter.illegalReturnRedefinition(AbstractMethodDeclaration abstractMethodDecl, MethodBinding inheritedMethod, char[][] nonNullAnnotationName) voidProblemReporter.illegalReturnRedefinition(ASTNode location, MethodBinding descriptorMethod, boolean isUnchecked, TypeBinding providedType) voidProblemReporter.illegalSuperCallBypassingOverride(InvocationSite location, MethodBinding targetMethod, ReferenceBinding overrider) voidProblemReporter.incompatibleExceptionInThrowsClause(SourceTypeBinding type, MethodBinding currentMethod, MethodBinding inheritedMethod, ReferenceBinding exceptionType) voidProblemReporter.incompatibleReturnType(ReferenceExpression expression, MethodBinding method, TypeBinding returnType) voidProblemReporter.incompatibleReturnType(MethodBinding currentMethod, MethodBinding inheritedMethod) voidProblemReporter.indirectAccessToStaticMethod(ASTNode location, MethodBinding method) voidProblemReporter.inheritedDefaultMethodConflictsWithOtherInherited(SourceTypeBinding type, MethodBinding defaultMethod, MethodBinding otherMethod) voidProblemReporter.inheritedMethodReducesVisibility(TypeParameter typeParameter, MethodBinding concreteMethod, MethodBinding[] abstractMethods) voidProblemReporter.inheritedMethodReducesVisibility(SourceTypeBinding type, MethodBinding concreteMethod, MethodBinding[] abstractMethods) voidProblemReporter.inheritedMethodsHaveIncompatibleReturnTypes(ASTNode location, MethodBinding[] inheritedMethods, int length) voidProblemReporter.inheritedMethodsHaveIncompatibleReturnTypes(SourceTypeBinding type, MethodBinding[] inheritedMethods, int length, boolean[] isOverridden) voidProblemReporter.inheritedMethodsHaveNameClash(SourceTypeBinding type, MethodBinding oneMethod, MethodBinding twoMethod) voidProblemReporter.inheritedParameterLackingNonnullAnnotation(MethodBinding currentMethod, int paramRank, ReferenceBinding specificationType, ASTNode location, char[][] annotationName) voidProblemReporter.invalidConstructor(Statement statement, MethodBinding targetConstructor) voidProblemReporter.invalidMethod(MessageSend messageSend, MethodBinding method, Scope scope) voidProblemReporter.javadocDeprecatedMethod(MethodBinding method, ASTNode location, int modifiers) voidProblemReporter.javadocInvalidConstructor(Statement statement, MethodBinding targetConstructor, int modifiers) voidProblemReporter.javadocInvalidMethod(MessageSend messageSend, MethodBinding method, int modifiers) voidProblemReporter.lambdaExpressionCannotImplementGenericMethod(LambdaExpression lambda, MethodBinding sam) voidProblemReporter.messageSendPotentialNullReference(MethodBinding method, ASTNode location) voidProblemReporter.messageSendRedundantCheckOnNonNull(MethodBinding method, ASTNode location) voidProblemReporter.methodMustBeAccessedStatically(ReferenceExpression expression, MethodBinding nonInstanceMethod) voidProblemReporter.methodMustBeAccessedWithInstance(ReferenceExpression expression, MethodBinding instanceMethod) voidProblemReporter.methodNameClash(MethodBinding currentMethod, MethodBinding inheritedMethod, int severity) voidProblemReporter.methodNameClashHidden(MethodBinding currentMethod, MethodBinding inheritedMethod) voidProblemReporter.methodReferenceSwingsBothWays(ReferenceExpression expression, MethodBinding instanceMethod, MethodBinding nonInstanceMethod) voidProblemReporter.methodReturnTypeFreeTypeVariableReference(MethodBinding method, ASTNode location) voidProblemReporter.missingSynchronizedOnInheritedMethod(MethodBinding currentMethod, MethodBinding inheritedMethod) voidProblemReporter.missingTypeInConstructor(ASTNode location, MethodBinding constructor) voidProblemReporter.missingTypeInLambda(LambdaExpression lambda, MethodBinding method) voidProblemReporter.missingTypeInMethod(ASTNode astNode, MethodBinding method) voidProblemReporter.mustUseAStaticMethod(MessageSend messageSend, MethodBinding method) voidProblemReporter.needToEmulateMethodAccess(MethodBinding method, ASTNode location) voidProblemReporter.nonNullTypeVariableInUnannotatedBinary(LookupEnvironment environment, MethodBinding method, Expression expression, int providedSeverity) voidProblemReporter.nonStaticAccessToStaticMethod(ASTNode location, MethodBinding method) voidProblemReporter.nonStaticOrAlienTypeReceiver(MessageSend messageSend, MethodBinding method) voidProblemReporter.overridesDeprecatedMethod(MethodBinding localMethod, MethodBinding inheritedMethod) voidProblemReporter.overridesMethodWithoutSuperInvocation(MethodBinding localMethod) voidProblemReporter.overridesPackageDefaultMethod(MethodBinding localMethod, MethodBinding inheritedMethod) voidProblemReporter.parameterWithUnresolvedOwningAnnotation(ASTNode location, MethodBinding method, int rank, LookupEnvironment environment) voidProblemReporter.referenceExpressionArgumentNullityMismatch(ReferenceExpression location, TypeBinding requiredType, TypeBinding providedType, MethodBinding descriptorMethod, int idx, NullAnnotationMatching status) voidProblemReporter.safeVarargsOnFixedArityMethod(MethodBinding method) voidProblemReporter.safeVarargsOnNonFinalInstanceMethod(MethodBinding method) voidProblemReporter.staticAndInstanceConflict(MethodBinding currentMethod, MethodBinding inheritedMethod) voidProblemReporter.staticInheritedMethodConflicts(SourceTypeBinding type, MethodBinding concreteMethod, MethodBinding[] abstractMethods) voidProblemReporter.unlikelyArgumentType(Expression argument, MethodBinding method, TypeBinding argumentType, TypeBinding receiverType, TypeConstants.DangerousMethod dangerousMethod) voidProblemReporter.unnecessaryTypeArgumentsForMethodInvocation(MethodBinding method, TypeBinding[] genericTypeArguments, TypeReference[] typeArguments) voidProblemReporter.unsafeRawGenericMethodInvocation(ASTNode location, MethodBinding rawMethod, TypeBinding[] argumentTypes) voidProblemReporter.unsafeRawInvocation(ASTNode location, MethodBinding rawMethod) voidProblemReporter.unsafeReturnTypeOverride(MethodBinding currentMethod, MethodBinding inheritedMethod, SourceTypeBinding type) voidProblemReporter.varargsArgumentNeedCast(MethodBinding method, TypeBinding argumentType, InvocationSite location) voidProblemReporter.varargsConflict(MethodBinding method1, MethodBinding method2, SourceTypeBinding type) voidProblemReporter.visibilityConflict(MethodBinding currentMethod, MethodBinding inheritedMethod) voidProblemReporter.wildcardInvocation(ASTNode location, TypeBinding receiverType, MethodBinding method, TypeBinding[] arguments) -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.compiler.util
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.util that return MethodBindingModifier and TypeMethodDescriptionstatic MethodBinding[]Sorting.abstractFirst(MethodBinding[] methods, int length) static MethodBinding[]Sorting.concreteFirst(MethodBinding[] methods, int length) Methods in org.aspectj.org.eclipse.jdt.internal.compiler.util with parameters of type MethodBindingModifier and TypeMethodDescriptionstatic MethodBinding[]Sorting.abstractFirst(MethodBinding[] methods, int length) static MethodBinding[]Sorting.concreteFirst(MethodBinding[] methods, int length) -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.core
Methods in org.aspectj.org.eclipse.jdt.internal.core with parameters of type MethodBindingModifier and TypeMethodDescriptionvoidSelectionRequestor.acceptLambdaMethod(MethodBinding binding, ICompilationUnit unit) voidSelectionRequestor.acceptLocalMethod(MethodBinding methodBinding) SelectionRequestor.findMethodFromBinding(MethodBinding method, String[] signatures, ReferenceBinding declaringClass) This method returns an IMethod element from the given method and declaring type bindings. -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.core.search.matching
Methods in org.aspectj.org.eclipse.jdt.internal.core.search.matching that return MethodBindingMethods in org.aspectj.org.eclipse.jdt.internal.core.search.matching with parameters of type MethodBindingModifier and TypeMethodDescriptionprotected ReferenceBindingMethodLocator.checkMethodRef(MethodBinding method, ReferenceExpression referenceExpression) protected booleanMethodLocator.isVirtualInvoke(MethodBinding method, MessageSend messageSend) Returns whether the code gen will use an invoke virtual for this message send or not.protected intConstructorLocator.matchConstructor(MethodBinding constructor) protected intMethodLocator.matchMethod(MethodBinding method, boolean skipImpossibleArg) protected voidMethodLocator.reportDeclaration(MethodBinding methodBinding, MatchLocator locator, SimpleSet knownMethods) -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.core.util
Methods in org.aspectj.org.eclipse.jdt.internal.core.util with parameters of type MethodBindingModifier and TypeMethodDescriptionstatic JavaElementUtil.getUnresolvedJavaElement(MethodBinding methodBinding, WorkingCopyOwner workingCopyOwner, Util.BindingsToNodesMap bindingsToNodes) Return the java element corresponding to the given compiler binding. -
Uses of MethodBinding in org.aspectj.org.eclipse.jdt.internal.eval
Methods in org.aspectj.org.eclipse.jdt.internal.eval that return MethodBindingModifier and TypeMethodDescriptionCodeSnippetScope.findExactMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) CodeSnippetScope.findMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, boolean inStaticContext) CodeSnippetScope.findMethodForArray(ArrayBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) CodeSnippetScope.getConstructor(ReferenceBinding receiverType, TypeBinding[] argumentTypes, InvocationSite invocationSite) CodeSnippetScope.getImplicitMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) Methods in org.aspectj.org.eclipse.jdt.internal.eval with parameters of type MethodBindingModifier and TypeMethodDescriptionfinal booleanCodeSnippetScope.canBeSeenByForCodeSnippet(MethodBinding methodBinding, TypeBinding receiverType, InvocationSite invocationSite, Scope scope) voidCodeSnippetSingleNameReference.generateCompoundAssignment(BlockScope currentScope, CodeStream codeStream, MethodBinding writeAccessor, Expression expression, int operator, int assignmentImplicitConversion, boolean valueRequired)