public class PolymorphicMethodBinding extends MethodBinding
| Modifier and Type | Field and Description |
|---|---|
protected MethodBinding |
polymorphicMethod |
declaringClass, defaultNullness, modifiers, parameterNames, parameterNonNullness, parameters, receiver, returnType, selector, tagBits, thrownExceptions, typeAnnotations, typeVariablesANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, DefaultLocationArrayContents, DefaultLocationField, DefaultLocationParameter, DefaultLocationReturnType, DefaultLocationTypeArgument, DefaultLocationTypeBound, DefaultLocationTypeParameter, FIELD, GENERIC_TYPE, IMPORT, INTERSECTION_TYPE, INTERSECTION_TYPE18, LOCAL, METHOD, NO_ANNOTATIONS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_NULL_DEFAULT, NO_PARAMETER_NAMES, NO_PARAMETERS, NO_REFERENCE_TYPES, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, NONNULL_BY_DEFAULT, 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 |
|---|
PolymorphicMethodBinding(MethodBinding polymorphicMethod,
TypeBinding[] parameterTypes) |
PolymorphicMethodBinding(MethodBinding polymorphicMethod,
TypeBinding returnType,
TypeBinding[] parameterTypes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPolymorphic() |
boolean |
isVarargs() |
boolean |
matches(TypeBinding[] matchingParameters,
TypeBinding matchingReturnType) |
MethodBinding |
original()
Returns the original method (as opposed to parameterized/polymorphic instances)
|
alwaysNeedsAccessMethod, areParameterErasuresEqual, areParametersCompatibleWith, areParametersEqual, areTypeVariableErasuresEqual, asRawMethod, canBeSeenBy, canBeSeenBy, canBeSeenBy, collectMissingTypes, computeUniqueKey, constantPoolName, doesParameterLengthMatch, fillInDefaultNonNullness, fillInDefaultNonNullness18, findOriginalInheritedMethod, findPrivilegedBinding, genericMethod, genericSignature, getAccessFlags, getAccessMethod, getAllTypeVariables, getAnnotations, getAnnotationTagBits, getDefaultValue, getParameterAnnotations, getTypeAnnotations, getTypeVariable, getVisibleBinding, getVisibleBinding, hasNonNullDefaultFor, hasSubstitutedParameters, hasSubstitutedReturnType, isAbstract, isBridge, isConstructor, isDefault, isDefaultAbstract, isDefaultMethod, isDeprecated, isFinal, isImplementing, isMain, isNative, isOrEnclosedByPrivateType, isOverriding, isParameterizedGeneric, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isSynthetic, isUsed, isViewedAsDeprecated, isVoidMethod, kind, readableName, redeclaresPublicObjectMethod, setAnnotations, setAnnotations, setDefaultValue, setParameterAnnotations, setSelector, setTypeAnnotations, shallowOriginal, shortReadableName, signature, signature, sourceEnd, sourceLambda, sourceMethod, sourceStart, tiebreakMethod, toString, typeVariables, updateTypeVariableBindingcomputeUniqueKey, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isTaggedRepeatable, isValidBinding, isVolatile, problemId, setAnnotationsprotected MethodBinding polymorphicMethod
public PolymorphicMethodBinding(MethodBinding polymorphicMethod, TypeBinding[] parameterTypes)
public PolymorphicMethodBinding(MethodBinding polymorphicMethod, TypeBinding returnType, TypeBinding[] parameterTypes)
public MethodBinding original()
MethodBindingoriginal in class MethodBindingpublic boolean isPolymorphic()
isPolymorphic in class MethodBindingpublic boolean matches(TypeBinding[] matchingParameters, TypeBinding matchingReturnType)
public boolean isVarargs()
isVarargs in class MethodBinding