public final class MethodTypeSignature extends HierarchicalTypeSignature
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AnnotationInfoList |
getReceiverTypeAnnotationInfo()
Get type annotations on the explicit receiver parameter, or null if none.
|
TypeSignature |
getResultType()
Get the result type for the method.
|
List<ClassRefOrTypeVariableSignature> |
getThrowsSignatures()
Get the throws type(s) for the method.
|
List<TypeParameter> |
getTypeParameters()
Get the type parameters for the method, if this is a
generic method.
|
int |
hashCode() |
String |
toString()
Render to string.
|
String |
toStringWithSimpleNames()
Render to string, using only simple
names for classes.
|
getTypeAnnotationInfopublic List<TypeParameter> getTypeParameters()
public TypeSignature getResultType()
TypeSignature parsed type object.public List<ClassRefOrTypeVariableSignature> getThrowsSignatures()
TypeSignature parsed type objects.public AnnotationInfoList getReceiverTypeAnnotationInfo()
public String toStringWithSimpleNames()
Copyright © 2024. All rights reserved.