|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jdt.internal.compiler.lookup.Binding
org.eclipse.jdt.internal.compiler.lookup.TypeBinding
org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding
public class BinaryTypeBinding
| 字段摘要 | |
|---|---|
protected ReferenceBinding |
enclosingType
|
protected LookupEnvironment |
environment
|
protected FieldBinding[] |
fields
|
protected ReferenceBinding[] |
memberTypes
|
protected MethodBinding[] |
methods
|
protected SimpleLookupTable |
storedAnnotations
|
protected ReferenceBinding |
superclass
|
protected ReferenceBinding[] |
superInterfaces
|
protected TypeVariableBinding[] |
typeVariables
|
| 从类 org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding 继承的字段 |
|---|
compoundName, fPackage, LUB_GENERIC, modifiers, sourceName |
| 从类 org.eclipse.jdt.internal.compiler.lookup.TypeBinding 继承的字段 |
|---|
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, VOID |
| 从类 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 |
| 构造方法摘要 | |
|---|---|
protected |
BinaryTypeBinding()
Default empty constructor for subclasses only. |
|
BinaryTypeBinding(PackageBinding packageBinding,
IBinaryType binaryType,
LookupEnvironment environment)
Standard constructor for creating binary type bindings from binary models (classfiles) |
| 方法摘要 | |
|---|---|
FieldBinding[] |
availableFields()
Return the array of resolvable fields (resilience) |
MethodBinding[] |
availableMethods()
Return the array of resolvable methods (resilience) |
static AnnotationBinding[] |
createAnnotations(IBinaryAnnotation[] annotationInfos,
LookupEnvironment env,
char[][][] missingTypeNames)
|
ReferenceBinding |
enclosingType()
|
FieldBinding[] |
fields()
|
char[] |
genericTypeSignature()
Answer the receiver classfile signature. |
MethodBinding |
getExactConstructor(TypeBinding[] argumentTypes)
|
MethodBinding |
getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope)
|
FieldBinding |
getField(char[] fieldName,
boolean needResolve)
|
ReferenceBinding |
getMemberType(char[] typeName)
Rewrite of default getMemberType to avoid resolving eagerly all member types when one is requested |
MethodBinding[] |
getMethods(char[] selector)
|
MethodBinding[] |
getMethods(char[] selector,
int suggestedParameterLength)
|
TypeVariableBinding |
getTypeVariable(char[] variableName)
|
boolean |
hasMemberTypes()
|
boolean |
isEquivalentTo(TypeBinding otherType)
Returns true if a type is identical to another one, or for generic types, true if compared to its raw type. |
boolean |
isGenericType()
|
boolean |
isHierarchyConnected()
Returns true if the type hierarchy is connected |
int |
kind()
|
ReferenceBinding[] |
memberTypes()
|
MethodBinding[] |
methods()
|
static TypeBinding |
resolveType(TypeBinding type,
LookupEnvironment environment,
boolean convertGenericToRawType)
|
ReferenceBinding |
superclass()
|
ReferenceBinding[] |
superInterfaces()
|
String |
toString()
|
TypeVariableBinding[] |
typeVariables()
|
FieldBinding[] |
unResolvedFields()
|
| 从类 org.eclipse.jdt.internal.compiler.lookup.Binding 继承的方法 |
|---|
computeUniqueKey, initializeDeprecatedAnnotationTagBits, isParameter, isValidBinding, isVolatile, problemId |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
protected ReferenceBinding superclass
protected ReferenceBinding enclosingType
protected ReferenceBinding[] superInterfaces
protected FieldBinding[] fields
protected MethodBinding[] methods
protected ReferenceBinding[] memberTypes
protected TypeVariableBinding[] typeVariables
protected LookupEnvironment environment
protected SimpleLookupTable storedAnnotations
| 构造方法详细信息 |
|---|
protected BinaryTypeBinding()
public BinaryTypeBinding(PackageBinding packageBinding,
IBinaryType binaryType,
LookupEnvironment environment)
packageBinding - binaryType - environment - | 方法详细信息 |
|---|
public static AnnotationBinding[] createAnnotations(IBinaryAnnotation[] annotationInfos,
LookupEnvironment env,
char[][][] missingTypeNames)
public static TypeBinding resolveType(TypeBinding type,
LookupEnvironment environment,
boolean convertGenericToRawType)
public FieldBinding[] availableFields()
ReferenceBinding 复制的描述
ReferenceBinding 中的 availableFieldsReferenceBinding.availableMethods()public MethodBinding[] availableMethods()
ReferenceBinding 复制的描述
ReferenceBinding 中的 availableMethodsReferenceBinding.availableMethods()public ReferenceBinding enclosingType()
TypeBinding 中的 enclosingTypepublic FieldBinding[] fields()
ReferenceBinding 中的 fieldspublic char[] genericTypeSignature()
TypeBinding 复制的描述
TypeBinding 中的 genericTypeSignatureTypeBinding.genericTypeSignature()public MethodBinding getExactConstructor(TypeBinding[] argumentTypes)
ReferenceBinding 中的 getExactConstructor
public MethodBinding getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope)
ReferenceBinding 中的 getExactMethod
public FieldBinding getField(char[] fieldName,
boolean needResolve)
ReferenceBinding 中的 getFieldpublic ReferenceBinding getMemberType(char[] typeName)
ReferenceBinding 中的 getMemberTypepublic MethodBinding[] getMethods(char[] selector)
ReferenceBinding 中的 getMethods
public MethodBinding[] getMethods(char[] selector,
int suggestedParameterLength)
ReferenceBinding 中的 getMethodspublic boolean hasMemberTypes()
ReferenceBinding 中的 hasMemberTypespublic TypeVariableBinding getTypeVariable(char[] variableName)
ReferenceBinding 中的 getTypeVariablepublic boolean isEquivalentTo(TypeBinding otherType)
TypeBinding 中的 isEquivalentTopublic boolean isGenericType()
TypeBinding 中的 isGenericTypepublic boolean isHierarchyConnected()
ReferenceBinding 复制的描述
ReferenceBinding 中的 isHierarchyConnectedpublic int kind()
TypeBinding 中的 kindpublic ReferenceBinding[] memberTypes()
ReferenceBinding 中的 memberTypespublic MethodBinding[] methods()
ReferenceBinding 中的 methodspublic ReferenceBinding superclass()
ReferenceBinding 中的 superclasspublic ReferenceBinding[] superInterfaces()
ReferenceBinding 中的 superInterfacespublic TypeVariableBinding[] typeVariables()
TypeBinding 中的 typeVariablespublic String toString()
Object 中的 toStringpublic FieldBinding[] unResolvedFields()
ReferenceBinding 中的 unResolvedFields
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||