Class MethodTypeSignature
java.lang.Object
io.github.classgraph.HierarchicalTypeSignature
io.github.classgraph.MethodTypeSignature
A method type signature (called "MethodSignature" in the classfile documentation).
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGet type annotations on the explicit receiver parameter, or null if none.Get the result type for the method.Get the throws type(s) for the method.Get the type parameters for the method, if this is a generic method.inthashCode()toString()Render to string.Render to string, using only simple names for classes.Methods inherited from class io.github.classgraph.HierarchicalTypeSignature
getTypeAnnotationInfo
-
Method Details
-
getTypeParameters
Get the type parameters for the method, if this is a generic method.- Returns:
- The type parameters for the method, if any, otherwise null.
-
getResultType
Get the result type for the method.- Returns:
- The result type for the method, as a
TypeSignatureparsed type object.
-
getThrowsSignatures
Get the throws type(s) for the method.- Returns:
- The throws types for the method, as
TypeSignatureparsed type objects.
-
getReceiverTypeAnnotationInfo
Get type annotations on the explicit receiver parameter, or null if none.- Returns:
- type annotations on the explicit receiver parameter, or null if none.
-
hashCode
-
equals
-
toStringWithSimpleNames
Render to string, using only simple names for classes.- Returns:
- the string representation, using simple names for classes.
-
toString
-