Interface InstanceOfTree

  • All Superinterfaces:
    ExpressionTree, Tree


    public interface InstanceOfTree
    extends ExpressionTree
    A tree node for an 'instanceof' expression. For example:
       expression instanceof type
     
    Since:
    9
    • 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