- 
- All Superinterfaces:
- ExpressionTree,- Tree
 
 @Deprecated(since="11", forRemoval=true) public interface ClassExpressionTree extends ExpressionTree Deprecated, for removal: This API element is subject to removal in a future version.Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.A tree node that represents a class expression.- Since:
- 9
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<? extends PropertyTree>getClassElements()Deprecated, for removal: This API element is subject to removal in a future version.Get other property definitions except for the constructor.ExpressionTreegetClassHeritage()Deprecated, for removal: This API element is subject to removal in a future version.The expression of theextendsclause.PropertyTreegetConstructor()Deprecated, for removal: This API element is subject to removal in a future version.Get the constructor method definition.IdentifierTreegetName()Deprecated, for removal: This API element is subject to removal in a future version.Class identifier.- 
Methods declared in interface jdk.nashorn.api.tree.Treeaccept, getEndPosition, getKind, getStartPosition
 
- 
 
- 
- 
- 
Method Detail- 
getNameIdentifierTree getName() Deprecated, for removal: This API element is subject to removal in a future version.Class identifier. Optional.- Returns:
- the class identifier
 
 - 
getClassHeritageExpressionTree getClassHeritage() Deprecated, for removal: This API element is subject to removal in a future version.The expression of theextendsclause. Optional.- Returns:
- the class heritage
 
 - 
getConstructorPropertyTree getConstructor() Deprecated, for removal: This API element is subject to removal in a future version.Get the constructor method definition.- Returns:
- the constructor
 
 - 
getClassElementsList<? extends PropertyTree> getClassElements() Deprecated, for removal: This API element is subject to removal in a future version.Get other property definitions except for the constructor.- Returns:
- the class elements
 
 
- 
 
-