Home » openjdk-7 » com.sun.source » tree » [javadoc | source]
com.sun.source.tree
public interface: NewClassTree [javadoc | source]

All Implemented Interfaces:
    ExpressionTree

All Known Implementing Classes:
    JCNewClass

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 )
Method from com.sun.source.tree.NewClassTree Summary:
getArguments,   getClassBody,   getEnclosingExpression,   getIdentifier,   getTypeArguments
Method from com.sun.source.tree.NewClassTree Detail:
 public List<ExpressionTree> getArguments()
 public ClassTree getClassBody()
 public ExpressionTree getEnclosingExpression()
 public ExpressionTree getIdentifier()
 public List<Tree> getTypeArguments()