public final class ObjectCreationExpr extends Expression
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
ObjectCreationExpr() |
ObjectCreationExpr(Expression scope,
ClassOrInterfaceType type,
java.util.List<Expression> args) |
ObjectCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression scope,
ClassOrInterfaceType type,
java.util.List<Type> typeArgs,
java.util.List<Expression> args,
java.util.List<BodyDeclaration> anonymousBody) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
java.util.List<BodyDeclaration> |
getAnonymousClassBody() |
java.util.List<Expression> |
getArgs() |
Expression |
getScope() |
ClassOrInterfaceType |
getType() |
java.util.List<Type> |
getTypeArgs() |
void |
setAnonymousClassBody(java.util.List<BodyDeclaration> anonymousClassBody) |
void |
setArgs(java.util.List<Expression> args) |
void |
setScope(Expression scope) |
void |
setType(ClassOrInterfaceType type) |
void |
setTypeArgs(java.util.List<Type> typeArgs) |
addOrphanComment, clone, contains, equals, getAllContainedComments, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEndColumn, getEndLine, getOrphanComments, getParentNode, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setComment, setData, setEndColumn, setEndLine, setParentNode, toString, toStringWithoutComments
public ObjectCreationExpr()
public ObjectCreationExpr(Expression scope, ClassOrInterfaceType type, java.util.List<Expression> args)
public ObjectCreationExpr(int beginLine, int beginColumn, int endLine, int endColumn, Expression scope, ClassOrInterfaceType type, java.util.List<Type> typeArgs, java.util.List<Expression> args, java.util.List<BodyDeclaration> anonymousBody)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public java.util.List<BodyDeclaration> getAnonymousClassBody()
public java.util.List<Expression> getArgs()
public Expression getScope()
public ClassOrInterfaceType getType()
public java.util.List<Type> getTypeArgs()
public void setAnonymousClassBody(java.util.List<BodyDeclaration> anonymousClassBody)
public void setArgs(java.util.List<Expression> args)
public void setScope(Expression scope)
public void setType(ClassOrInterfaceType type)
public void setTypeArgs(java.util.List<Type> typeArgs)
Copyright © 2007-2015. All Rights Reserved.