Preview
Second Preview of ClassFile API (JEP 466).
Programs can only use DynamicConstantPoolEntry
when preview features are enabled.
Preview features may be removed in a future release,
or upgraded to permanent features of the Java platform.
ConstantDynamicEntry
or InvokeDynamicEntry
.
Modifier and Type | Method and Description |
---|---|
public BootstrapMethodEntry | Returns: the entry in the bootstrap method table for this constantReturns the entry in the bootstrap method table for this constant. |
public int | Returns: index of the entry in the bootstrap method table for this constantReturns index of the entry in the bootstrap method table for this constant. |
public default Utf8Entry | |
public NameAndTypeEntry | |
public default Utf8Entry |
bootstrap | back to summary |
---|---|
public BootstrapMethodEntry bootstrap() Returns the entry in the bootstrap method table for this constant.
|
bootstrapMethodIndex | back to summary |
---|---|
public int bootstrapMethodIndex() Returns index of the entry in the bootstrap method table for this constant.
|
name | back to summary |
---|---|
public default Utf8Entry name() Returns the invocation name.
|
nameAndType | back to summary |
---|---|
public NameAndTypeEntry nameAndType() Returns the invocation name and type.
|
type | back to summary |
---|---|
public default Utf8Entry type() Returns the invocation type.
|