public class ParameterizedGenericMethodBinding extends ParameterizedMethodBinding implements Substitution
| Modifier and Type | Field and Description |
|---|---|
boolean |
inferredReturnType |
boolean |
isRaw |
TypeBinding[] |
typeArguments |
boolean |
wasInferred |
originalMethoddeclaringClass, 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 |
|---|
ParameterizedGenericMethodBinding(MethodBinding originalMethod,
RawTypeBinding rawType,
LookupEnvironment environment)
Create raw generic method for raw type (double substitution from type vars with raw type arguments, and erasure of method variables)
Only invoked for non-static generic methods of raw type
|
ParameterizedGenericMethodBinding(MethodBinding originalMethod,
TypeBinding[] typeArguments,
LookupEnvironment environment)
Create method of parameterized type, substituting original parameters with type arguments.
|
| Modifier and Type | Method and Description |
|---|---|
static MethodBinding |
computeCompatibleMethod(MethodBinding originalMethod,
TypeBinding[] arguments,
Scope scope,
InvocationSite invocationSite)
Perform inference of generic method type parameters and/or expected type
|
char[] |
computeUniqueKey(boolean isLeaf) |
LookupEnvironment |
environment()
Returns the lookup environment
|
boolean |
hasSubstitutedParameters()
Returns true if some parameters got substituted.
|
boolean |
hasSubstitutedReturnType()
Returns true if the return type got substituted.
|
boolean |
isRawSubstitution()
Returns true for raw substitution
|
TypeBinding |
substitute(TypeVariableBinding originalVariable)
Returns the type substitute for a given type variable, or itself
if no substitution got performed.
|
MethodBinding |
tiebreakMethod()
Returns the method to use during tiebreak (usually the method itself).
|
instantiateGetClass, originalareParameterErasuresEqual, areParametersCompatibleWith, areParametersEqual, areTypeVariableErasuresEqual, canBeSeenBy, canBeSeenBy, canBeSeenBy, collectMissingTypes, 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, toString, typeVariablescomputeUniqueKey, initializeDeprecatedAnnotationTagBits, isParameter, isValidBinding, isVolatile, problemIdpublic TypeBinding[] typeArguments
public boolean inferredReturnType
public boolean wasInferred
public boolean isRaw
public ParameterizedGenericMethodBinding(MethodBinding originalMethod, RawTypeBinding rawType, LookupEnvironment environment)
public ParameterizedGenericMethodBinding(MethodBinding originalMethod, TypeBinding[] typeArguments, LookupEnvironment environment)
public static MethodBinding computeCompatibleMethod(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite)
public char[] computeUniqueKey(boolean isLeaf)
computeUniqueKey in class MethodBindingpublic LookupEnvironment environment()
Substitutionenvironment in interface SubstitutionSubstitution.environment()public boolean hasSubstitutedParameters()
hasSubstitutedParameters in class ParameterizedMethodBindingpublic boolean hasSubstitutedReturnType()
hasSubstitutedReturnType in class ParameterizedMethodBindingpublic boolean isRawSubstitution()
SubstitutionisRawSubstitution in interface SubstitutionSubstitution.isRawSubstitution()public TypeBinding substitute(TypeVariableBinding originalVariable)
Substitutionsubstitute in interface SubstitutionSubstitution.substitute(org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding)public MethodBinding tiebreakMethod()
MethodBindingtiebreakMethod in class MethodBindingMethodBinding.tiebreakMethod()Copyright © 2013. All rights reserved.