Interface UnaryTree

  • All Superinterfaces:
    ExpressionTree, Tree


    public interface UnaryTree
    extends ExpressionTree
    A tree node for postfix and unary expressions. Use getKind to determine the kind of operator. For example:
       operator expression
    
       expression operator
     
    Since:
    9
    • Method Detail

      • getExpression

        ExpressionTree getExpression​()
        Returns the expression operated by the unary operator.
        Returns:
        The expression operated by the unary operator.