Package proguard.classfile.kotlin.flags
Class KotlinConstructorFlags
java.lang.Object
proguard.classfile.kotlin.flags.KotlinConstructorFlags
- All Implemented Interfaces:
KotlinFlags
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanDeprecated.booleanIndicates that the corresponding constructor has at least one annotation in the JVM bytecode.booleanSignifies that the corresponding constructor has non-stable parameter names, i.e.booleanSignifies that the corresponding constructor is secondary, i.e.final KotlinVisibilityFlags -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
visibility
-
isSecondary
public boolean isSecondarySignifies that the corresponding constructor is secondary, i.e. declared not in the class header, but in the class body. -
hasNonStableParameterNames
public boolean hasNonStableParameterNamesSignifies that the corresponding constructor has non-stable parameter names, i.e. cannot be called with named arguments. -
hasAnnotationsInBytecode
public boolean hasAnnotationsInBytecodeIndicates that the corresponding constructor has at least one annotation in the JVM bytecode.Before annotations in metadata are enabled by default in the Kotlin compiler (https://youtrack.jetbrains.com/issue/KT-75736), annotations are only generated in the JVM bytecode. The compiler writes and reads this flag to metadata as an optimization, to avoid parsing class file one additional time when it's not needed.
Only annotations with [AnnotationRetention.BINARY] and [AnnotationRetention.RUNTIME] are written to the class files.
-
hasAnnotations
Deprecated.
-
-
Constructor Details
-
KotlinConstructorFlags
-