|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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. |
void |
ClassFile.traverse(MethodBinding methodBinding,
int maxLocals,
byte[] bytecodes,
int codeOffset,
int codeLength,
ArrayList frames,
boolean isClinit)
|
Uses of MethodBinding in org.eclipse.jdt.internal.compiler.apt.model |
---|
Methods in org.eclipse.jdt.internal.compiler.apt.model that return MethodBinding | |
---|---|
MethodBinding |
AnnotationMemberValue.getMethodBinding()
|
Constructors in org.eclipse.jdt.internal.compiler.apt.model with parameters of type MethodBinding | |
---|---|
AnnotationMemberValue(BaseProcessingEnvImpl env,
Object value,
MethodBinding methodBinding)
|
Uses of MethodBinding in org.eclipse.jdt.internal.compiler.ast |
---|
Fields in org.eclipse.jdt.internal.compiler.ast declared as MethodBinding | |
---|---|
MethodBinding |
MessageSend.binding
|
MethodBinding |
MemberValuePair.binding
|
MethodBinding |
ExplicitConstructorCall.binding
|
MethodBinding |
AllocationExpression.binding
|
MethodBinding |
AbstractMethodDeclaration.binding
|
MethodBinding |
JavadocFieldReference.methodBinding
|
MethodBinding |
MessageSend.syntheticAccessor
|
MethodBinding[] |
SingleNameReference.syntheticAccessors
|
MethodBinding[] |
FieldReference.syntheticAccessors
|
Methods in org.eclipse.jdt.internal.compiler.ast that return MethodBinding | |
---|---|
MethodBinding |
TypeDeclaration.createDefaultConstructorWithBinding(MethodBinding inheritedConstructorBinding,
boolean eraseThrownExceptions)
|
Methods in org.eclipse.jdt.internal.compiler.ast with parameters of type MethodBinding | |
---|---|
MethodDeclaration |
TypeDeclaration.addMissingAbstractMethodFor(MethodBinding methodBinding)
|
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)
|
boolean |
ASTNode.isMethodUseDeprecated(MethodBinding method,
Scope scope,
boolean isExplicitUse)
|
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)
|
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 |
SyntheticMethodBinding
|
Fields in org.eclipse.jdt.internal.compiler.lookup declared as MethodBinding | |
---|---|
MethodBinding |
LookupEnvironment.arrayClone
|
MethodBinding |
ElementValuePair.binding
|
MethodBinding |
ProblemMethodBinding.closestMatch
|
MethodBinding |
LocalTypeBinding.enclosingMethod
|
MethodBinding |
AptSourceLocalVariableBinding.methodBinding
|
MethodBinding |
AptBinaryLocalVariableBinding.methodBinding
|
MethodBinding[] |
ParameterizedTypeBinding.methods
|
protected MethodBinding[] |
BinaryTypeBinding.methods
|
static MethodBinding[] |
Binding.NO_METHODS
|
protected MethodBinding |
ParameterizedMethodBinding.originalMethod
|
protected MethodBinding |
PolymorphicMethodBinding.polymorphicMethod
|
MethodBinding |
SyntheticMethodBinding.targetMethod
|
static MethodBinding[] |
Binding.UNINITIALIZED_METHODS
|
Methods in org.eclipse.jdt.internal.compiler.lookup that return MethodBinding | |
---|---|
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)
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)
Perform inference of generic method type parameters and/or expected type |
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)
|
MethodBinding |
Scope.findMethod(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 |
Scope.getConstructor(ReferenceBinding receiverType,
TypeBinding[] argumentTypes,
InvocationSite invocationSite)
|
MethodBinding[] |
SourceTypeBinding.getDefaultAbstractMethods()
|
MethodBinding |
SourceTypeBinding.getExactConstructor(TypeBinding[] argumentTypes)
|
MethodBinding |
ReferenceBinding.getExactConstructor(TypeBinding[] argumentTypes)
|
MethodBinding |
ParameterizedTypeBinding.getExactConstructor(TypeBinding[] argumentTypes)
|
MethodBinding |
BinaryTypeBinding.getExactConstructor(TypeBinding[] argumentTypes)
|
MethodBinding |
SourceTypeBinding.getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope)
|
MethodBinding |
ReferenceBinding.getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope)
|
MethodBinding |
ParameterizedTypeBinding.getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope)
|
MethodBinding |
BinaryTypeBinding.getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope)
|
MethodBinding |
Scope.getImplicitMethod(char[] selector,
TypeBinding[] argumentTypes,
InvocationSite invocationSite)
|
MethodBinding |
Scope.getMethod(TypeBinding receiverType,
char[] selector,
TypeBinding[] argumentTypes,
InvocationSite invocationSite)
|
MethodBinding |
ElementValuePair.getMethodBinding()
|
MethodBinding[] |
SourceTypeBinding.getMethods(char[] selector)
|
MethodBinding[] |
ReferenceBinding.getMethods(char[] selector)
|
MethodBinding[] |
ParameterizedTypeBinding.getMethods(char[] selector)
|
MethodBinding[] |
BinaryTypeBinding.getMethods(char[] selector)
|
MethodBinding[] |
ReferenceBinding.getMethods(char[] selector,
int suggestedParameterLength)
|
MethodBinding[] |
BinaryTypeBinding.getMethods(char[] selector,
int suggestedParameterLength)
|
MethodBinding |
Scope.getStaticFactory(ReferenceBinding allocationType,
ReferenceBinding originalEnclosingType,
TypeBinding[] argumentTypes,
InvocationSite allocationSite)
|
MethodBinding[] |
SourceTypeBinding.methods()
|
MethodBinding[] |
ReferenceBinding.methods()
|
MethodBinding[] |
ParameterizedTypeBinding.methods()
|
MethodBinding[] |
BinaryTypeBinding.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 |
PolymorphicMethodBinding.original()
|
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 |
SourceTypeBinding.resolveTypesFor(MethodBinding method)
|
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.addSyntheticMethod(MethodBinding targetMethod,
boolean isSuperAccess)
|
boolean |
MethodBinding.areParameterErasuresEqual(MethodBinding method)
|
boolean |
MethodBinding.areParametersEqual(MethodBinding method)
|
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 |
MethodScope.checkUnusedParameters(MethodBinding method)
|
MethodBinding |
LookupEnvironment.computeArrayClone(MethodBinding objectClone)
|
protected MethodBinding |
Scope.computeCompatibleMethod(MethodBinding method,
TypeBinding[] arguments,
InvocationSite invocationSite)
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)
Perform inference of generic method type parameters and/or expected type |
ParameterizedMethodBinding |
LookupEnvironment.createGetClassMethod(TypeBinding receiverType,
MethodBinding originalMethod,
Scope scope)
|
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)
|
protected MethodBinding |
Scope.findDefaultAbstractMethod(ReferenceBinding receiverType,
char[] selector,
TypeBinding[] argumentTypes,
InvocationSite invocationSite,
ReferenceBinding classHierarchyStart,
ObjectVector found,
MethodBinding concreteMatch)
|
MethodBinding |
MethodBinding.findOriginalInheritedMethod(MethodBinding inheritedMethod)
|
SyntheticMethodBinding |
SourceTypeBinding.getSyntheticBridgeMethod(MethodBinding inheritedMethodToBridge)
|
boolean |
ParameterizedTypeBinding.implementsMethod(MethodBinding method)
|
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 extends Object>' into: 'Class extends raw(X)> |
protected boolean |
Scope.isAcceptableMethod(MethodBinding one,
MethodBinding two)
|
boolean |
Scope.isDefinedInMethod(MethodBinding method)
|
boolean |
MethodVerifier.isMethodSubsignature(MethodBinding method,
MethodBinding inheritedMethod)
|
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)
|
void |
MethodVerifier.reportRawReferences(MethodBinding currentMethod,
MethodBinding inheritedMethod)
|
MethodBinding |
SourceTypeBinding.resolveTypesFor(MethodBinding method)
|
void |
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 | |
---|---|
AptBinaryLocalVariableBinding(char[] name,
TypeBinding type,
int modifiers,
AnnotationBinding[] annotationBindings,
MethodBinding methodBinding)
|
|
AptSourceLocalVariableBinding(LocalVariableBinding localVariableBinding,
MethodBinding methodBinding)
|
|
ElementValuePair(char[] name,
Expression expression,
MethodBinding binding)
|
|
ElementValuePair(char[] name,
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)
|
|
SyntheticMethodBinding(MethodBinding targetMethod,
boolean isSuperAccess,
ReferenceBinding 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 |
---|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |