src/share/classes/com/sun/source/tree/LiteralTree.java

Print this page




  23  * questions.
  24  */
  25 
  26 package com.sun.source.tree;
  27 
  28 /**
  29  * A tree node for a literal expression.
  30  * Use {@link #getKind getKind} to determine the kind of literal.
  31  *
  32  * For example:
  33  * <pre>
  34  *   <em>value</em>
  35  * </pre>
  36  *
  37  * @jls section 15.28
  38  *
  39  * @author Peter von der Ah&eacute;
  40  * @author Jonathan Gibbons
  41  * @since 1.6
  42  */
  43 @jdk.Supported
  44 public interface LiteralTree extends ExpressionTree {
  45     Object getValue();
  46 }


  23  * questions.
  24  */
  25 
  26 package com.sun.source.tree;
  27 
  28 /**
  29  * A tree node for a literal expression.
  30  * Use {@link #getKind getKind} to determine the kind of literal.
  31  *
  32  * For example:
  33  * <pre>
  34  *   <em>value</em>
  35  * </pre>
  36  *
  37  * @jls section 15.28
  38  *
  39  * @author Peter von der Ah&eacute;
  40  * @author Jonathan Gibbons
  41  * @since 1.6
  42  */
  43 @jdk.Exported
  44 public interface LiteralTree extends ExpressionTree {
  45     Object getValue();
  46 }