public abstract class AstType extends AstNode
| Modifier and Type | Field and Description |
|---|---|
static AstType[] |
EMPTY_TYPES |
static AstType |
NULL |
AST_NODE_USED_FLAGS, flagsCHILD_ITERATOR| Constructor and Description |
|---|
AstType() |
| Modifier and Type | Method and Description |
|---|---|
AstType |
clone() |
static AstType |
forPattern(Pattern pattern) |
NodeType |
getNodeType() |
InvocationExpression |
invoke(java.lang.String methodName,
Expression... arguments) |
InvocationExpression |
invoke(java.lang.String methodName,
java.lang.Iterable<AstType> typeArguments,
Expression... arguments) |
InvocationExpression |
invoke(java.lang.String methodName,
java.lang.Iterable<AstType> typeArguments,
java.lang.Iterable<Expression> arguments) |
InvocationExpression |
invoke(java.lang.String methodName,
java.lang.Iterable<Expression> arguments) |
AstType |
makeArrayType() |
MemberReferenceExpression |
member(java.lang.String memberName) |
TypeReference |
toTypeReference() |
acceptVisitor, addChild, contains, contains, copyUserDataFrom, freezeCore, getAncestors, getAncestors, getAncestorsAndSelf, getChildByRole, getChildren, getChildrenByRole, getDescendants, getDescendantsAndSelf, getEndLocation, getFirstChild, getLastChild, getNextNode, getNextSibling, getNextSibling, getParent, getParent, getPreviousNode, getPreviousSibling, getPreviousSibling, getRegion, getRole, getStartLocation, getText, getText, getUserData, hasChildren, insertChildAfter, insertChildBefore, insertChildrenAfter, insertChildrenBefore, isAncestorOf, isDescendantOf, isInside, isInside, isLoop, isNull, isReference, isUnconditionalBranch, match, matches, matches, matchesCollection, matchString, putUserData, putUserDataIfAbsent, remove, replace, replaceWith, replaceWith, setChildByRole, setRole, toStringpublic static final AstType[] EMPTY_TYPES
public static final AstType NULL
public NodeType getNodeType()
getNodeType in class AstNodepublic TypeReference toTypeReference()
public AstType makeArrayType()
public InvocationExpression invoke(java.lang.String methodName, Expression... arguments)
public InvocationExpression invoke(java.lang.String methodName, java.lang.Iterable<Expression> arguments)
public InvocationExpression invoke(java.lang.String methodName, java.lang.Iterable<AstType> typeArguments, Expression... arguments)
public InvocationExpression invoke(java.lang.String methodName, java.lang.Iterable<AstType> typeArguments, java.lang.Iterable<Expression> arguments)
public MemberReferenceExpression member(java.lang.String memberName)