Interface LiteralTree

  • All Superinterfaces:
    ExpressionTree, Tree


    public interface LiteralTree
    extends ExpressionTree
    A tree node for a literal expression. Use getKind to determine the kind of literal. For example:
       value
     
    Since:
    9
    • Method Detail

      • getValue

        Object getValue​()
        Returns the value of this literal.
        Returns:
        the value of this literal