Class ProblemMethodBinding
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ProblemMethodBinding
-
Field Summary
FieldsFields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding
declaringClass, defaultNullness, extendedTagBits, modifiers, PARAM_NONNULL, PARAM_NOTOWNING, PARAM_NULLABLE, PARAM_NULLITY, PARAM_OWNING, parameterFlowBits, parameterNames, parameters, receiver, returnType, selector, tagBits, thrownExceptions, typeAnnotations, typeVariablesFields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
ANY_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_COMPONENTS, 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_PERMITTEDTYPES, NO_PLAIN_PACKAGES, NO_REFERENCE_TYPES, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, NULL_UNSPECIFIED_BY_DEFAULT, NullnessDefaultMASK, PACKAGE, PARAMETERIZED_TYPE, PATTERN, POLY_TYPE, RAW_TYPE, RECORD_COMPONENT, TYPE, TYPE_PARAMETER, TYPE_USE, UNINITIALIZED_COMPONENTS, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionProblemMethodBinding(char[] selector, TypeBinding[] args, int problemReason) ProblemMethodBinding(char[] selector, TypeBinding[] args, ReferenceBinding declaringClass, int problemReason) ProblemMethodBinding(MethodBinding closestMatch, char[] selector, TypeBinding[] args, int problemReason) -
Method Summary
Modifier and TypeMethodDescriptioncomputeSubstitutedMethod(MethodBinding method, LookupEnvironment env) findOriginalInheritedMethod(MethodBinding inheritedMethod) booleanReturns true if method got substituted parameter types (see ParameterizedMethodBinding)booleanoriginal()Returns the original method (as opposed to parameterized/polymorphic instances)final intAPI Answer the problem id associated with the receiver.Strips one level of parameterization, so if both class and method are parameterized, leave the class parameters in place.Returns the method to use during tiebreak (usually the method itself).Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding
alwaysNeedsAccessMethod, areParameterErasuresEqual, areParametersCompatibleWith, areParametersEqual, areTypeVariableErasuresEqual, asRawMethod, canBeSeenBy, canBeSeenBy, canBeSeenBy, collectMissingTypes, computeSignature, computeUniqueKey, constantPoolName, doesParameterLengthMatch, fillInDefaultNonNullness, fillInDefaultNonNullness18, findPrivilegedBinding, flowBitFromAnnotationTagBit, genericSignature, getAccessFlags, getAccessMethod, getAllTypeVariables, getAnnotations, getAnnotationTagBits, getDefaultValue, getParameterAnnotations, getParameterNullness, getTypeAnnotations, getTypeVariable, getVisibleBinding, getVisibleBinding, hasNonNullDefaultForParameter, hasNonNullDefaultForReturnType, hasPolymorphicSignature, hasSubstitutedReturnType, isAbstract, isBridge, isCandindateMain, isCanonicalConstructor, isClosingMethod, isCompactConstructor, isConstructor, isDefault, isDefaultAbstract, isDefaultMethod, isDeprecated, isFinal, isImplementing, isImplicit, isMain, isNative, isOrEnclosedByPrivateType, isOverriding, isPolymorphic, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isSynthetic, isUsed, isVarargs, isViewedAsDeprecated, isVoidMethod, isWellknownMethod, isWellknownMethod, kind, notownsParameter, ownsParameter, readableName, redeclaresPublicObjectMethod, setAnnotations, setAnnotations, setDefaultValue, setParameterAnnotations, setSelector, setTypeAnnotations, shortReadableName, signature, signature, sourceEnd, sourceLambda, sourceMethod, sourceRecordComponent, sourceStart, toString, typeVariables, updateTypeVariableBinding, verifyOverrideCompatibilityMethods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, initializeDeprecatedAnnotationTagBits, isAnnotationType, isParameter, isPatternVariable, isTaggedRepeatable, isValid, isValidBinding, isVolatile, setAnnotations
-
Field Details
-
closestMatch
-
inferenceContext
-
-
Constructor Details
-
ProblemMethodBinding
-
ProblemMethodBinding
public ProblemMethodBinding(char[] selector, TypeBinding[] args, ReferenceBinding declaringClass, int problemReason) -
ProblemMethodBinding
public ProblemMethodBinding(MethodBinding closestMatch, char[] selector, TypeBinding[] args, int problemReason)
-
-
Method Details
-
computeSubstitutedMethod
- Overrides:
computeSubstitutedMethodin classMethodBinding
-
findOriginalInheritedMethod
- Overrides:
findOriginalInheritedMethodin classMethodBinding
-
genericMethod
- Overrides:
genericMethodin classMethodBinding
-
original
Description copied from class:MethodBindingReturns the original method (as opposed to parameterized/polymorphic instances)- Overrides:
originalin classMethodBinding
-
shallowOriginal
Description copied from class:MethodBindingStrips one level of parameterization, so if both class and method are parameterized, leave the class parameters in place.- Overrides:
shallowOriginalin classMethodBinding
-
tiebreakMethod
Description copied from class:MethodBindingReturns the method to use during tiebreak (usually the method itself). For generic method invocations, tiebreak needs to use generic method with erasure substitutes.- Overrides:
tiebreakMethodin classMethodBinding
-
hasSubstitutedParameters
public boolean hasSubstitutedParameters()Description copied from class:MethodBindingReturns true if method got substituted parameter types (see ParameterizedMethodBinding)- Overrides:
hasSubstitutedParametersin classMethodBinding
-
isParameterizedGeneric
public boolean isParameterizedGeneric()- Overrides:
isParameterizedGenericin classMethodBinding
-
problemId
-