FileDocCategorySizeDatePackage
NewClassTree.javaAPI DocJava SE 6 API1160Tue Jun 10 00:23:26 BST 2008com.sun.source.tree

NewClassTree

public interface NewClassTree implements ExpressionTree
A tree node to declare a new instance of a class. For example:
new identifier ( )

new identifier ( arguments )

new typeArguments identifier ( arguments )
classBody

enclosingExpression.new identifier ( arguments )
see
"The Java Language Specification, 3rd ed, section 15.9"
author
Peter von der Ahé
author
Jonathan Gibbons
since
1.6

Fields Summary
Constructors Summary
Methods Summary
public java.util.ListgetArguments()

public com.sun.source.tree.ClassTreegetClassBody()

public com.sun.source.tree.ExpressionTreegetEnclosingExpression()

public com.sun.source.tree.ExpressionTreegetIdentifier()

public java.util.ListgetTypeArguments()