- 
- All Superinterfaces:
- Tree
 
 @Deprecated(since="11", forRemoval=true) public interface PropertyTree extends Tree 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.To represent property setting in an object literal tree.- Since:
- 9
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description FunctionExpressionTreegetGetter()Deprecated, for removal: This API element is subject to removal in a future version.Returns the setter function of this property if this is an accessor property.ExpressionTreegetKey()Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of this property.FunctionExpressionTreegetSetter()Deprecated, for removal: This API element is subject to removal in a future version.Returns the getter function of this property if this is an accessor property.ExpressionTreegetValue()Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of this property.booleanisComputed()Deprecated, for removal: This API element is subject to removal in a future version.Is this a computed property?booleanisStatic()Deprecated, for removal: This API element is subject to removal in a future version.Is this a class static property?- 
Methods declared in interface jdk.nashorn.api.tree.Treeaccept, getEndPosition, getKind, getStartPosition
 
- 
 
- 
- 
- 
Method Detail- 
getKeyExpressionTree getKey() Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of this property.- Returns:
- the name of the property
 
 - 
getValueExpressionTree getValue() Deprecated, for removal: This API element is subject to removal in a future version.Returns the value of this property. This is null for accessor properties.- Returns:
- the value of the property
 
 - 
getGetterFunctionExpressionTree getGetter() Deprecated, for removal: This API element is subject to removal in a future version.Returns the setter function of this property if this is an accessor property. This is null for data properties.- Returns:
- the setter function of the property
 
 - 
getSetterFunctionExpressionTree getSetter() Deprecated, for removal: This API element is subject to removal in a future version.Returns the getter function of this property if this is an accessor property. This is null for data properties.- Returns:
- the getter function of the property
 
 - 
isStaticboolean isStatic() Deprecated, for removal: This API element is subject to removal in a future version.Is this a class static property?- Returns:
- true if this is a static property
 
 - 
isComputedboolean isComputed() Deprecated, for removal: This API element is subject to removal in a future version.Is this a computed property?- Returns:
- true if this is a computed property
 
 
- 
 
-