public class TypeReference extends NonStatement implements IExpression
This AST element represents a type reference. Type references are used in 'instanceof' expressions.
Example: if(pet instanceof Dog) { ... }
Note: Currently, type references are read-only elements and cannot be generated by API users.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getType()
Get the referenced type.
|
attachTag, getSubElements, replaceSubElement, retrieveTag
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attachTag, getSubElements, replaceSubElement, retrieveTag