public class ParameterizedMethodBinding extends MethodBinding
| Modifier and Type | Field and Description |
|---|---|
protected MethodBinding |
originalMethod |
declaringClass, modifiers, parameterNonNullness, parameters, returnType, selector, tagBits, thrownExceptions, typeVariablesANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, FIELD, GENERIC_TYPE, IMPORT, INTERSECTION_TYPE, LOCAL, METHOD, NO_ANNOTATIONS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_NULL_DEFAULT, NO_PARAMETERS, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, NONNULL_BY_DEFAULT, NULL_UNSPECIFIED_BY_DEFAULT, PACKAGE, PARAMETERIZED_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE| Constructor and Description |
|---|
ParameterizedMethodBinding() |
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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasSubstitutedParameters()
Returns true if some parameters got substituted.
|
boolean |
hasSubstitutedReturnType()
Returns true if the return type got substituted.
|
static ParameterizedMethodBinding |
instantiateGetClass(TypeBinding receiverType,
MethodBinding originalMethod,
Scope scope)
The type of x.getClass() is substituted from 'Class extends Object>' into: 'Class extends raw(X)>
|
MethodBinding |
original()
Returns the original method (as opposed to parameterized instances)
|
areParameterErasuresEqual, areParametersCompatibleWith, areParametersEqual, areTypeVariableErasuresEqual, canBeSeenBy, canBeSeenBy, canBeSeenBy, collectMissingTypes, computeUniqueKey, constantPoolName, fillInDefaultNonNullness, findOriginalInheritedMethod, genericSignature, getAccessFlags, getAnnotations, getAnnotationTagBits, getDefaultValue, getParameterAnnotations, getTypeVariable, hasNonNullDefault, isAbstract, isBridge, isConstructor, isDefault, isDefaultAbstract, isDeprecated, isFinal, isImplementing, isMain, isNative, isOrEnclosedByPrivateType, isOverriding, isPolymorphic, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isSynthetic, isUsed, isVarargs, isViewedAsDeprecated, kind, readableName, setAnnotations, setAnnotations, setDefaultValue, setParameterAnnotations, setSelector, shortReadableName, signature, signature, sourceEnd, sourceMethod, sourceStart, tiebreakMethod, toString, typeVariablescomputeUniqueKey, initializeDeprecatedAnnotationTagBits, isParameter, isValidBinding, isVolatile, problemIdprotected MethodBinding originalMethod
public ParameterizedMethodBinding(ParameterizedTypeBinding parameterizedDeclaringClass, MethodBinding originalMethod)
public ParameterizedMethodBinding(ReferenceBinding declaringClass, MethodBinding originalMethod, char[][] alternateParamaterNames, LookupEnvironment environment)
public ParameterizedMethodBinding()
public static ParameterizedMethodBinding instantiateGetClass(TypeBinding receiverType, MethodBinding originalMethod, Scope scope)
public boolean hasSubstitutedParameters()
hasSubstitutedParameters in class MethodBindingpublic boolean hasSubstitutedReturnType()
hasSubstitutedReturnType in class MethodBindingpublic MethodBinding original()
original in class MethodBindingCopyright © 2013. All rights reserved.