public class AnonymousObjectCreationExpression extends ObjectCreationExpression
NEW_KEYWORD_ROLEMYSTERY_OFFSET, NULLAST_NODE_USED_FLAGS, flagsCHILD_ITERATOR| Constructor and Description |
|---|
AnonymousObjectCreationExpression(int offset,
TypeDeclaration typeDeclaration,
AstType type) |
AnonymousObjectCreationExpression(int offset,
TypeDeclaration typeDeclaration,
AstType type,
Expression... arguments) |
AnonymousObjectCreationExpression(int offset,
TypeDeclaration typeDeclaration,
AstType type,
java.lang.Iterable<Expression> arguments) |
| Modifier and Type | Method and Description |
|---|---|
<T,R> R |
acceptVisitor(IAstVisitor<? super T,? extends R> visitor,
T data) |
TypeDeclaration |
getTypeDeclaration() |
boolean |
matches(INode other,
Match match) |
void |
setTypeDeclaration(TypeDeclaration value) |
getArguments, getLeftParenthesisToken, getNewToken, getRightParenthesisToken, getTarget, getType, setTarget, setTypeclone, forPattern, getNodeType, getOffset, invoke, invoke, invoke, invoke, invoke, invoke, member, setOffsetaddChild, 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, matchesCollection, matchString, putUserData, putUserDataIfAbsent, remove, replace, replaceWith, replaceWith, setChildByRole, setRole, toStringpublic AnonymousObjectCreationExpression(int offset,
TypeDeclaration typeDeclaration,
AstType type)
public AnonymousObjectCreationExpression(int offset,
TypeDeclaration typeDeclaration,
AstType type,
Expression... arguments)
public AnonymousObjectCreationExpression(int offset,
TypeDeclaration typeDeclaration,
AstType type,
java.lang.Iterable<Expression> arguments)
public final TypeDeclaration getTypeDeclaration()
public final void setTypeDeclaration(TypeDeclaration value)
public <T,R> R acceptVisitor(IAstVisitor<? super T,? extends R> visitor, T data)
acceptVisitor in class ObjectCreationExpression