Method Data
Represents relevant information on a method used for ClassInspector. Should only be associated with methods of a ClassData or PropertyData.
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
Parameters
Constructors
MethodData
Link copied to clipboard
declared annotations on this method.
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
allAnnotations
Link copied to clipboard
fun allAnnotations(useSiteTarget: AnnotationSpec.UseSiteTarget?, containsReifiedTypeParameter: Boolean): Collection<AnnotationSpec>
Content copied to clipboard
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
equals
Link copied to clipboard
Properties
exceptions
Link copied to clipboard
list of exceptions thrown by this method.
isOverride
Link copied to clipboard
indicates if this method overrides one in a supertype.
isSynthetic
Link copied to clipboard
indicates if this method is synthetic or not.
jvmModifiers
Link copied to clipboard
set of JvmMethodModifiers on this method.
parameterAnnotations
Link copied to clipboard
a mapping of parameter indices to annotations on them.