Example usage for Java org.eclipse.jdt.internal.compiler.lookup TypeBinding fields, constructors, methods, implement or subclass
The text is from its open source code.
BaseTypeBinding | INT Base type definitions |
BaseTypeBinding | BYTE |
BaseTypeBinding | SHORT |
BaseTypeBinding | CHAR |
BaseTypeBinding | LONG |
BaseTypeBinding | FLOAT |
BaseTypeBinding | DOUBLE |
BaseTypeBinding | BOOLEAN |
VoidTypeBinding | VOID |
ReferenceBinding | actualType() |
TypeBinding | clone(TypeBinding enclosingType) Virtual copy constructor: a copy is made of the receiver's entire instance state and then suitably parameterized by the arguments to the clone operation as seen fit by each type. |
TypeBinding | closestMatch() In case of problems, returns the closest match found. |
char[] | computeUniqueKey() |
char[] | constantPoolName() Answer the receiver's constant pool name. |
String | debugName() |
int | dimensions() |
MethodBinding | enclosingMethod() |
ReferenceBinding | enclosingType() |
boolean | equalsEquals(TypeBinding that, TypeBinding other) |
TypeBinding | erasure() |
TypeBinding | findSuperTypeOriginatingFrom(TypeBinding otherType) Find supertype which originates from a given type, or null if not found |
char[] | genericTypeSignature() Answer the receiver classfile signature. |
ReferenceBinding[] | getIntersectingTypes() |
PackageBinding | getPackage() |
AnnotationBinding[] | getTypeAnnotations() |
boolean | hasTypeAnnotations() |
boolean | isAnnotationType() |
boolean | isAnonymousType() |
boolean | isArrayType() |
boolean | isBaseType() |
boolean | isBoundParameterizedType() Returns true if parameterized type AND not of the form List> |
boolean | isCapture() Returns true if the type is the capture of some wildcard |
boolean | isClass() |
boolean | isCompatibleWith(TypeBinding right) |
boolean | isCompatibleWith(TypeBinding right, Scope scope) |
boolean | isEnum() |
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 | isInterface() |
boolean | isLocalType() |
boolean | isMemberType() |
boolean | isParameterizedType() Returns true if the type is parameterized, e.g. |
boolean | isParameterizedTypeWithActualArguments() Returns true if the type is parameterized, e.g. |
boolean | isProvablyDistinct(TypeBinding otherType) Returns true if a type is provably distinct from another one, |
boolean | isRawType() |
boolean | isTypeVariable() Returns true if the type was declared as a type variable |
boolean | isUnboundWildcard() Returns true if wildcard type of the form '?' |
boolean | isValidBinding() |
boolean | isWildcard() Returns true if the type is a wildcard |
int | kind() |
TypeBinding | leafComponentType() |
boolean | needsUncheckedConversion(TypeBinding targetType) Meant to be invoked on compatible types, to figure if unchecked conversion is necessary |
boolean | notEquals(TypeBinding that, TypeBinding other) |
TypeBinding | original() Returns the orignal generic type instantiated by the receiver type, or itself if not. |
int | problemId() |
char[] | qualifiedPackageName() Answer the qualified name of the receiver's package separated by periods or an empty string if its the default package. |
char[] | qualifiedSourceName() Answer the source name for the type. |
char[] | readableName() |
char[] | shortReadableName() |
char[] | signature() Answer the receiver classfile signature. |
char[] | sourceName() |
ReferenceBinding | superclass() |
TypeVariableBinding[] | typeVariables() |