Method Data
data class MethodData(annotations: List<AnnotationSpec>, parameterAnnotations: Map<Int, Collection<AnnotationSpec>>, isSynthetic: Boolean, jvmModifiers: Set<JvmMethodModifier>, isOverride: Boolean, exceptions: List<TypeName>)
Content copied to clipboard
Represents relevant information on a method used for ClassInspector. Should only be associated with methods of a ClassData or PropertyData.
Parameters
annotations
declared annotations on this method.
Constructors
MethodData
Link copied to clipboard
fun MethodData(annotations: List<AnnotationSpec>, parameterAnnotations: Map<Int, Collection<AnnotationSpec>>, isSynthetic: Boolean, jvmModifiers: Set<JvmMethodModifier>, isOverride: Boolean, exceptions: List<TypeName>)
Content copied to clipboard
Types
Functions
all Annotations
Link copied to clipboard
fun allAnnotations(useSiteTarget: AnnotationSpec.UseSiteTarget? = null, containsReifiedTypeParameter: Boolean = false): Collection<AnnotationSpec>
Content copied to clipboard
A collection of all annotations on this method, including any derived from jvmModifiers, isSynthetic, and exceptions.
Properties
exceptions
Link copied to clipboard
isOverride
Link copied to clipboard
isSynthetic
Link copied to clipboard
jvmModifiers
Link copied to clipboard
set of JvmMethodModifiers on this method.
parameterAnnotations
Link copied to clipboard