public final class ObjectCreationExpr extends Expression
Constructor and Description |
---|
ObjectCreationExpr() |
ObjectCreationExpr(Expression scope,
ClassOrInterfaceType type,
List<Expression> args) |
ObjectCreationExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression scope,
ClassOrInterfaceType type,
List<Type> typeArgs,
List<Expression> args,
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.
|
List<BodyDeclaration> |
getAnonymousClassBody() |
List<Expression> |
getArgs() |
Expression |
getScope() |
ClassOrInterfaceType |
getType() |
List<Type> |
getTypeArgs() |
void |
setAnonymousClassBody(List<BodyDeclaration> anonymousClassBody) |
void |
setArgs(List<Expression> args) |
void |
setScope(Expression scope) |
void |
setType(ClassOrInterfaceType type) |
void |
setTypeArgs(List<Type> typeArgs) |
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public ObjectCreationExpr()
public ObjectCreationExpr(Expression scope, ClassOrInterfaceType type, List<Expression> args)
public ObjectCreationExpr(int beginLine, int beginColumn, int endLine, int endColumn, Expression scope, ClassOrInterfaceType type, List<Type> typeArgs, List<Expression> args, 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 List<BodyDeclaration> getAnonymousClassBody()
public List<Expression> getArgs()
public Expression getScope()
public ClassOrInterfaceType getType()
public void setAnonymousClassBody(List<BodyDeclaration> anonymousClassBody)
public void setArgs(List<Expression> args)
public void setScope(Expression scope)
public void setType(ClassOrInterfaceType type)