Preview
Second Preview of ClassFile API (JEP 466).
Programs can only use MethodSignature
when preview features are enabled.
Preview features may be removed in a future release,
or upgraded to permanent features of the Java platform.
Modifier and Type | Method and Description |
---|---|
public List | Returns: the signatures of the parameters of this methodReturns the signatures of the parameters of this method. |
public static MethodSignature | Returns: a method signature for a raw (no generic information) method descriptorthe method descriptor methodDescriptor)Returns a method signature for a raw (no generic information) method descriptor. |
public static MethodSignature | |
public static MethodSignature | Returns: a method signaturesignatures for the type parameters typeParameters,signatures for the exceptions exceptions,signature for the return type result, Signature... signatures for the method arguments arguments)Returns a method signature. |
public static MethodSignature | Returns: method signaturethe raw method signature string methodSignature)Parses a raw method signature string into a MethodSignature |
public Signature | Returns: the signatures of the return value of this methodReturns the signatures of the return value of this method. |
public String | |
public List | Returns: the signatures of the exceptions thrown by this methodReturns the signatures of the exceptions thrown by this method. |
public List | Returns: the type parameters of this methodReturns the type parameters of this method. |
arguments | back to summary |
---|---|
public List Returns the signatures of the parameters of this method. |
of | back to summary |
---|---|
public static MethodSignature of(MethodTypeDesc methodDescriptor) Returns a method signature for a raw (no generic information) method descriptor.
|
of | back to summary |
---|---|
public static MethodSignature of(Signature result, Signature... arguments) Returns a method signature.
|
of | back to summary |
---|---|
public static MethodSignature of(List<Signature. Returns a method signature.
|
parseFrom | back to summary |
---|---|
public static MethodSignature parseFrom(String methodSignature) Parses a raw method signature string into a MethodSignature
|
result | back to summary |
---|---|
public Signature result() Returns the signatures of the return value of this method.
|
signatureString | back to summary |
---|---|
public String signatureString() Returns the raw signature string.
|
throwableSignatures | back to summary |
---|---|
public List Returns the signatures of the exceptions thrown by this method.
|
typeParameters | back to summary |
---|---|
public List Returns the type parameters of this method. |