- 
- All Superinterfaces:
 ExpressionTree,Tree
public interface InstanceOfTree extends ExpressionTree
A tree node for an 'instanceof' expression. For example:expression instanceof type
- Since:
 - 9
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionTreegetExpression()Returns the expression whose type is being checked.TreegetType()Returns the type expression.- 
Methods declared in interface jdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getExpression
ExpressionTree getExpression()
Returns the expression whose type is being checked.- Returns:
 - the expression whose type is being checked
 
 
- 
getType
Tree getType()
Returns the type expression.- Returns:
 - the type expression
 
 
 - 
 
 -