- All Superinterfaces:
- HasNameT, Tree
- public interface TypeReferenceT
- extends Tree, HasNameT
A type reference.
| Methods inherited from interface javax.ide.model.java.source.tree.Tree |
accept, accept, addSelf, addSelf, addSelfAfter, addSelfBefore, clearProperty, cloneSelf, getChildren, getOwningFile, getParent, getPosition, getProperty, getSiblingAfter, getSiblingBefore, getSiblings, getTreeKind, isSynthetic, removeSelf, replaceSelf, setProperty |
EMPTY_ARRAY
public static final TypeReferenceT[] EMPTY_ARRAY
isPrimitive
public boolean isPrimitive()
- True if this is a primitive type (including "void"). Array types
of primitives return false.
getTypeArguments
public java.util.List getTypeArguments()
- Gets the list of type arguments.
isArray
public boolean isArray()
- True if this is an array type reference.
getArrayDimension
public int getArrayDimension()
- Gets the array dimension. Implicitly includes an array dimension
increment of 1 IF this is the type of a variable-length argument.