public class ProblemMethodBinding extends MethodBinding
| Modifier and Type | Field and Description |
|---|---|
MethodBinding |
closestMatch |
InferenceContext18 |
inferenceContext |
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 |
|---|
ProblemMethodBinding(char[] selector,
TypeBinding[] args,
int problemReason) |
ProblemMethodBinding(char[] selector,
TypeBinding[] args,
ReferenceBinding declaringClass,
int problemReason) |
ProblemMethodBinding(MethodBinding closestMatch,
char[] selector,
TypeBinding[] args,
int problemReason) |
| Modifier and Type | Method and Description |
|---|---|
MethodBinding |
computeSubstitutedMethod(MethodBinding method,
LookupEnvironment env) |
MethodBinding |
findOriginalInheritedMethod(MethodBinding inheritedMethod) |
MethodBinding |
genericMethod() |
boolean |
hasSubstitutedParameters()
Returns true if method got substituted parameter types
(see ParameterizedMethodBinding)
|
boolean |
isParameterizedGeneric() |
MethodBinding |
original()
Returns the original method (as opposed to parameterized/polymorphic instances)
|
int |
problemId()
API
Answer the problem id associated with the receiver.
|
MethodBinding |
shallowOriginal()
Strips one level of parameterization, so if both class & method are parameterized,
leave the class parameters in place.
|
MethodBinding |
tiebreakMethod()
Returns the method to use during tiebreak (usually the method itself).
|
alwaysNeedsAccessMethod, areParameterErasuresEqual, areParametersCompatibleWith, areParametersEqual, areTypeVariableErasuresEqual, asRawMethod, canBeSeenBy, canBeSeenBy, canBeSeenBy, collectMissingTypes, computeUniqueKey, constantPoolName, doesParameterLengthMatch, fillInDefaultNonNullness, fillInDefaultNonNullness18, findPrivilegedBinding, genericSignature, getAccessFlags, getAccessMethod, getAllTypeVariables, getAnnotations, getAnnotationTagBits, getDefaultValue, getParameterAnnotations, getTypeAnnotations, getTypeVariable, getVisibleBinding, getVisibleBinding, hasNonNullDefaultForParameter, hasNonNullDefaultForReturnType, hasSubstitutedReturnType, isAbstract, isBridge, isConstructor, isDefault, isDefaultAbstract, isDefaultMethod, isDeprecated, isFinal, isImplementing, isMain, isNative, isOrEnclosedByPrivateType, isOverriding, isPolymorphic, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isSynthetic, isUsed, isVarargs, isViewedAsDeprecated, isVoidMethod, kind, readableName, redeclaresPublicObjectMethod, setAnnotations, setAnnotations, setDefaultValue, setParameterAnnotations, setSelector, setTypeAnnotations, shortReadableName, signature, signature, sourceEnd, sourceLambda, sourceMethod, sourceStart, toString, typeVariables, updateTypeVariableBindingcomputeUniqueKey, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isTaggedRepeatable, isValid, isValidBinding, isVolatile, setAnnotationspublic MethodBinding closestMatch
public InferenceContext18 inferenceContext
public ProblemMethodBinding(char[] selector,
TypeBinding[] args,
int problemReason)
public ProblemMethodBinding(char[] selector,
TypeBinding[] args,
ReferenceBinding declaringClass,
int problemReason)
public ProblemMethodBinding(MethodBinding closestMatch, char[] selector, TypeBinding[] args, int problemReason)
public MethodBinding computeSubstitutedMethod(MethodBinding method, LookupEnvironment env)
computeSubstitutedMethod in class MethodBindingpublic MethodBinding findOriginalInheritedMethod(MethodBinding inheritedMethod)
findOriginalInheritedMethod in class MethodBindingpublic MethodBinding genericMethod()
genericMethod in class MethodBindingpublic MethodBinding original()
MethodBindingoriginal in class MethodBindingpublic MethodBinding shallowOriginal()
MethodBindingshallowOriginal in class MethodBindingpublic MethodBinding tiebreakMethod()
MethodBindingtiebreakMethod in class MethodBindingpublic boolean hasSubstitutedParameters()
MethodBindinghasSubstitutedParameters in class MethodBindingpublic boolean isParameterizedGeneric()
isParameterizedGeneric in class MethodBinding