Constructor Data
Represents relevant information on a constructor used for ClassInspector. Should only be associated with constructors of a ClassData.
data class ConstructorData(annotations: List<AnnotationSpec>, parameterAnnotations: Map<Int, Collection<AnnotationSpec>>, isSynthetic: Boolean, jvmModifiers: Set<JvmMethodModifier>, exceptions: List<TypeName>)
Content copied to clipboard
Parameters
Constructors
ConstructorData
Link copied to clipboard
declared annotations on this constructor.
fun ConstructorData(annotations: List<AnnotationSpec>, parameterAnnotations: Map<Int, Collection<AnnotationSpec>>, isSynthetic: Boolean, jvmModifiers: Set<JvmMethodModifier>, exceptions: List<TypeName>)
Content copied to clipboard
Types
Functions
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
copy
Link copied to clipboard
fun copy(annotations: List<AnnotationSpec>, parameterAnnotations: Map<Int, Collection<AnnotationSpec>>, isSynthetic: Boolean, jvmModifiers: Set<JvmMethodModifier>, exceptions: List<TypeName>): ConstructorData
Content copied to clipboard
equals
Link copied to clipboard
Properties
allAnnotations
Link copied to clipboard
A collection of all annotations on this constructor, including any derived from jvmModifiers, isSynthetic, and exceptions.
exceptions
Link copied to clipboard
list of exceptions thrown by this constructor.
isSynthetic
Link copied to clipboard
indicates if this constructor is synthetic or not.
jvmModifiers
Link copied to clipboard
set of JvmMethodModifiers on this constructor.
parameterAnnotations
Link copied to clipboard
a mapping of parameter indices to annotations on them.