|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface TypeBinding
Represents a java type declaration, field type, method return type, etc. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Method Summary | |
|---|---|
String |
getArrayComponentTypeName()
Return the component type name of the array, null otherwise. |
int |
getArrayDimensionality()
Return the dimensionality of the array, 0 otherwise. |
String |
getPackageName()
Return the package name (or null) |
String |
getQualifiedName()
Return the resolved, qualified name of the attribute's type (e.g. |
String |
getSimpleName()
Returns the unqualified version of getQualifiedName() |
String |
getTypeArgumentName(int index)
|
org.eclipse.jpt.common.utility.iterable.ListIterable<String> |
getTypeArgumentNames()
Return the fully qualified names of the type arguments, if any. |
int |
getTypeArgumentNamesSize()
|
boolean |
isArray()
Return whether the type is an array. |
boolean |
isEnum()
Return whether the type resolves to an enum type. |
boolean |
isGenericTypeDeclaration()
Return whether type represents a generic type *declaration*. |
boolean |
isInterface()
Return whether the type resolves to an interface type. |
boolean |
isMemberTypeDeclaration()
Return whether type represents a member type *declaration*. |
boolean |
isSubTypeOf(String typeName)
Return whether the type implements or extends the specified type. |
boolean |
isVariablePrimitive()
Return whether the type is a "variable" primitive type (i.e. any primitive type except 'void'). |
| Method Detail |
|---|
String getQualifiedName()
String getSimpleName()
getQualifiedName()
String getPackageName()
boolean isInterface()
boolean isEnum()
boolean isVariablePrimitive()
boolean isGenericTypeDeclaration()
boolean isMemberTypeDeclaration()
boolean isSubTypeOf(String typeName)
boolean isArray()
int getArrayDimensionality()
String getArrayComponentTypeName()
org.eclipse.jpt.common.utility.iterable.ListIterable<String> getTypeArgumentNames()
int getTypeArgumentNamesSize()
String getTypeArgumentName(int index)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||