Preview
Second Preview of ClassFile API (JEP 466).
Programs can only use MethodTypeEntry
when preview features are enabled.
Preview features may be removed in a future release,
or upgraded to permanent features of the Java platform.
CONSTANT_MethodType_info
constant in the constant pool of a
classfile.
Modifier and Type | Method and Description |
---|---|
public MethodTypeDesc | Returns: a symbolic descriptor for the method typeReturns a symbolic descriptor for the method type. |
public default ConstantDesc | constantValue()
Implements java. Returns the constant described by this entry. |
public Utf8Entry | Returns: the constant pool entry describing the method typeReturns the constant pool entry describing the method type. |
asSymbol | back to summary |
---|---|
public MethodTypeDesc asSymbol() Returns a symbolic descriptor for the method type.
|
constantValue | back to summary |
---|---|
public default ConstantDesc constantValue() Implements java. Doc from java. Returns the constant described by this entry.
|
descriptor | back to summary |
---|---|
public Utf8Entry descriptor() Returns the constant pool entry describing the method type.
|