|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jdt.internal.compiler.lookup.Binding
org.eclipse.jdt.internal.compiler.lookup.MethodBinding
org.eclipse.jdt.internal.compiler.lookup.ParameterizedMethodBinding
org.eclipse.jdt.internal.compiler.lookup.ParameterizedGenericMethodBinding
public class ParameterizedGenericMethodBinding
Binding denoting a generic method after type parameter substitutions got performed. On parameterized type bindings, all methods got substituted, regardless whether their signature did involve generics or not, so as to get the proper declaringClass for these methods.
| 字段摘要 | |
|---|---|
boolean |
inferredReturnType
|
boolean |
isRaw
|
TypeBinding[] |
typeArguments
|
boolean |
wasInferred
|
| 从类 org.eclipse.jdt.internal.compiler.lookup.ParameterizedMethodBinding 继承的字段 |
|---|
originalMethod |
| 从类 org.eclipse.jdt.internal.compiler.lookup.MethodBinding 继承的字段 |
|---|
declaringClass, modifiers, parameters, returnType, selector, tagBits, thrownExceptions, typeVariables |
| 从类 org.eclipse.jdt.internal.compiler.lookup.Binding 继承的字段 |
|---|
ANY_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_PARAMETERS, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, PACKAGE, PARAMETERIZED_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE |
| 构造方法摘要 | |
|---|---|
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. |
|
| 方法摘要 | |
|---|---|
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). |
| 从类 org.eclipse.jdt.internal.compiler.lookup.ParameterizedMethodBinding 继承的方法 |
|---|
instantiateGetClass, original |
| 从类 org.eclipse.jdt.internal.compiler.lookup.Binding 继承的方法 |
|---|
computeUniqueKey, initializeDeprecatedAnnotationTagBits, isParameter, isValidBinding, isVolatile, problemId |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
public 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)
MethodBinding 中的 computeUniqueKeypublic LookupEnvironment environment()
Substitution 复制的描述
Substitution 中的 environmentSubstitution.environment()public boolean hasSubstitutedParameters()
ParameterizedMethodBinding 中的 hasSubstitutedParameterspublic boolean hasSubstitutedReturnType()
ParameterizedMethodBinding 中的 hasSubstitutedReturnTypepublic boolean isRawSubstitution()
Substitution 复制的描述
Substitution 中的 isRawSubstitutionSubstitution.isRawSubstitution()public TypeBinding substitute(TypeVariableBinding originalVariable)
Substitution 复制的描述
Substitution 中的 substituteSubstitution.substitute(org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding)public MethodBinding tiebreakMethod()
MethodBinding 复制的描述
MethodBinding 中的 tiebreakMethodMethodBinding.tiebreakMethod()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||