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
declared annotations on this method.
Types
Functions
allAnnotations
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.
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
copy
Link copied to clipboard
fun copy(annotations: List<AnnotationSpec>, parameterAnnotations: Map<Int, Collection<AnnotationSpec>>, isSynthetic: Boolean, jvmModifiers: Set<JvmMethodModifier>, isOverride: Boolean, exceptions: List<TypeName>): MethodData
Content copied to clipboard
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