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.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | UNRESOLVABLE_TYPE
Special constant used to specify this |
| Modifier and Type | Method and Description |
|---|---|
| public Iterable | Returns: The declared constructorsReturns the external representation of the Java class's constructors. |
| public boolean | |
| public String[] | Returns: The name of theEnum constant or an empty list if the type is not an
EnumIf this |
| public String | Returns: The name of the class represented by this oneReturns the fully qualified class name. |
| public ITypeDeclaration | Returns: The external form of the class' type declarationReturns the declaration of the Java class, which gives the information about type parameters, dimensionality, etc. |
| public boolean | Returns: true if the annotation is defined on this type; false
otherwiseThe class of the annotation annotationType)Determines whether the given annotation is present on this type. |
| public boolean | Returns: true if this type is an instance of the given type; false
otherwiseThe type used to determine if the class represented by this external form is an
instance of with one type)Determines whether this type is an instance of the given type. |
| public boolean | |
| public boolean | Returns: true if the actual Java type can be located on the application's class
path; false if it could not be foundDetermines whether this Java type actually exists. |
| UNRESOLVABLE_TYPE | back to summary |
|---|---|
| public static final String UNRESOLVABLE_TYPE Special constant used to specify this | |
| constructors | back to summary |
|---|---|
| public Iterable Returns the external representation of the Java class's constructors. All public, protected, default (package) access, and private constructors should be included.
| |
| equals | back to summary |
|---|---|
| public boolean equals(IType type) Determines whether the given type represents the same Java type thank this one. Note
| |
| getEnumConstants | back to summary |
|---|---|
| public String[] getEnumConstants() If this
| |
| getName | back to summary |
|---|---|
| public String getName() Returns the fully qualified class name.
| |
| getTypeDeclaration | back to summary |
|---|---|
| public ITypeDeclaration getTypeDeclaration() Returns the declaration of the Java class, which gives the information about type parameters, dimensionality, etc.
| |
| hasAnnotation | back to summary |
|---|---|
| public boolean hasAnnotation(Class<? extends Annotation> annotationType) Determines whether the given annotation is present on this type.
| |
| isAssignableTo | back to summary |
|---|---|
| public boolean isAssignableTo(IType type) Determines whether this type is an instance of the given type.
| |
| isEnum | back to summary |
|---|---|
| public boolean isEnum() Determines whether this
| |
| isResolvable | back to summary |
|---|---|
| public boolean isResolvable() Determines whether this Java type actually exists.
| |