public class InterTypeMethodBinding extends MethodBinding
| Modifier and Type | Field and Description |
|---|---|
MethodBinding |
postDispatchMethod |
AbstractMethodDeclaration |
sourceMethod |
declaringClass, defaultNullness, modifiers, parameterNames, parameterNonNullness, parameters, receiver, returnType, selector, tagBits, thrownExceptions, typeAnnotations, typeVariablesANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, DefaultLocationArrayContents, DefaultLocationField, DefaultLocationParameter, DefaultLocationReturnType, DefaultLocationsForTrueValue, DefaultLocationTypeArgument, DefaultLocationTypeBound, DefaultLocationTypeParameter, FIELD, GENERIC_TYPE, IMPORT, INTERSECTION_TYPE, INTERSECTION_TYPE18, LOCAL, METHOD, MODULE, NO_ANNOTATIONS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_MODULES, NO_NULL_DEFAULT, NO_PACKAGES, NO_PARAMETER_NAMES, NO_PARAMETERS, NO_PLAIN_PACKAGES, NO_REFERENCE_TYPES, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, NULL_UNSPECIFIED_BY_DEFAULT, NullnessDefaultMASK, PACKAGE, PARAMETERIZED_TYPE, POLY_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, TYPE_USE, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE| Constructor and Description |
|---|
InterTypeMethodBinding(EclipseFactory world,
ResolvedTypeMunger munger,
UnresolvedType withinType,
AbstractMethodDeclaration sourceMethod) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
alwaysNeedsAccessMethod()
Subtypes can override this to return true if an access method should be
used when referring to this method binding.
|
boolean |
canBeSeenBy(TypeBinding receiverType,
InvocationSite invocationSite,
Scope scope) |
MethodBinding |
getAccessMethod(boolean staticReference)
This will only be called if alwaysNeedsAccessMethod() returns true.
|
ReferenceBinding |
getOwningClass() |
ReferenceBinding |
getTargetType() |
boolean |
isFinal() |
AbstractMethodDeclaration |
sourceMethod() |
java.lang.String |
toString() |
areParameterErasuresEqual, areParametersCompatibleWith, areParametersEqual, areTypeVariableErasuresEqual, asRawMethod, canBeSeenBy, canBeSeenBy, collectMissingTypes, computeSubstitutedMethod, computeUniqueKey, constantPoolName, doesParameterLengthMatch, fillInDefaultNonNullness, fillInDefaultNonNullness18, findOriginalInheritedMethod, findPrivilegedBinding, genericMethod, genericSignature, getAccessFlags, getAllTypeVariables, getAnnotations, getAnnotationTagBits, getDefaultValue, getParameterAnnotations, getTypeAnnotations, getTypeVariable, getVisibleBinding, getVisibleBinding, hasNonNullDefaultForParameter, hasNonNullDefaultForReturnType, hasSubstitutedParameters, hasSubstitutedReturnType, isAbstract, isBridge, isConstructor, isDefault, isDefaultAbstract, isDefaultMethod, isDeprecated, isImplementing, isMain, isNative, isOrEnclosedByPrivateType, isOverriding, isParameterizedGeneric, isPolymorphic, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isSynthetic, isUsed, isVarargs, isViewedAsDeprecated, isVoidMethod, kind, original, readableName, redeclaresPublicObjectMethod, setAnnotations, setAnnotations, setDefaultValue, setParameterAnnotations, setSelector, setTypeAnnotations, shallowOriginal, shortReadableName, signature, signature, sourceEnd, sourceLambda, sourceStart, tiebreakMethod, typeVariables, updateTypeVariableBindingcomputeUniqueKey, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isTaggedRepeatable, isValid, isValidBinding, isVolatile, problemId, setAnnotationspublic MethodBinding postDispatchMethod
public AbstractMethodDeclaration sourceMethod
public InterTypeMethodBinding(EclipseFactory world, ResolvedTypeMunger munger, UnresolvedType withinType, AbstractMethodDeclaration sourceMethod)
public boolean canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope)
canBeSeenBy in class MethodBindingpublic boolean isFinal()
isFinal in class MethodBindingpublic MethodBinding getAccessMethod(boolean staticReference)
MethodBindinggetAccessMethod in class MethodBindingpublic boolean alwaysNeedsAccessMethod()
MethodBindingalwaysNeedsAccessMethod in class MethodBindingpublic AbstractMethodDeclaration sourceMethod()
sourceMethod in class MethodBindingpublic ReferenceBinding getTargetType()
public ReferenceBinding getOwningClass()
public java.lang.String toString()
toString in class MethodBinding