< prev index next >

src/java.base/share/classes/java/lang/constant/ConstantDesc.java

Print this page

        

@@ -22,10 +22,11 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 package java.lang.constant;
 
+import java.lang.invoke.Intrinsics;
 import java.lang.Enum.EnumDesc;
 import java.lang.invoke.MethodHandle;
 import java.lang.invoke.MethodHandles;
 import java.lang.invoke.MethodType;
 import java.lang.invoke.VarHandle.VarHandleDesc;

@@ -52,10 +53,13 @@
  * {@linkplain ConstantDesc} to describe the operand of an {@code ldc} instruction
  * (including dynamic constants), the static bootstrap arguments of
  * dynamic constants and {@code invokedynamic} instructions, and other
  * bytecodes or classfile structures that make use of the constant pool.
  *
+ * <p>The {@linkplain ConstantDesc} types are also used by {@link Intrinsics}
+ * to express {@code ldc} instructions.
+ *
  * <p>Constants describing various common constants (such as {@link ClassDesc}
  * instances for platform types) can be found in {@link ConstantDescs}.
  *
  * <p>Implementations of {@linkplain ConstantDesc} must be
  * <a href="../doc-files/ValueBased.html">value-based</a> classes.

@@ -76,10 +80,11 @@
  * {@link MethodTypeDesc}, {@link MethodHandleDesc}, and
  * {@link DynamicConstantDesc}; this list may be extended to reflect future
  * changes to the constant pool format as defined in JVMS 4.4.
  *
  * @see Constable
+ * @see Intrinsics
  * @see ConstantDescs
  *
  * @jvms 4.4 The Constant Pool
  *
  * @since 12
< prev index next >