|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jdt.internal.compiler.lookup.Binding
org.eclipse.jdt.internal.compiler.lookup.MethodBinding
org.eclipse.jdt.internal.compiler.lookup.ParameterizedMethodBinding
public class ParameterizedMethodBinding
Binding denoting a 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.
| 字段摘要 | |
|---|---|
protected MethodBinding |
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 |
| 构造方法摘要 | |
|---|---|
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. |
|
| 方法摘要 | |
|---|---|
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 |
MethodBinding |
original()
Returns the original method (as opposed to parameterized instances) |
| 从类 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 |
| 字段详细信息 |
|---|
protected 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()
MethodBinding 中的 hasSubstitutedParameterspublic boolean hasSubstitutedReturnType()
MethodBinding 中的 hasSubstitutedReturnTypepublic MethodBinding original()
MethodBinding 中的 original
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||