类 KotlinConstructorFlags
- java.lang.Object
-
- proguard.classfile.kotlin.flags.KotlinConstructorFlags
-
- 所有已实现的接口:
KotlinFlags
public class KotlinConstructorFlags extends java.lang.Object implements KotlinFlags
-
-
字段概要
字段 修饰符和类型 字段 说明 booleanhasAnnotations已过时。booleanhasAnnotationsInBytecodeIndicates that the corresponding constructor has at least one annotation in the JVM bytecode.booleanhasNonStableParameterNamesSignifies that the corresponding constructor has non-stable parameter names, i.e. cannot be called with named arguments.booleanisSecondarySignifies that the corresponding constructor is secondary, i.e. declared not in the class header, but in the class body.KotlinVisibilityFlagsvisibility
-
构造器概要
构造器 构造器 说明 KotlinConstructorFlags(KotlinVisibilityFlags visibility)
-
-
-
字段详细资料
-
visibility
public final KotlinVisibilityFlags visibility
-
isSecondary
public boolean isSecondary
Signifies that the corresponding constructor is secondary, i.e. declared not in the class header, but in the class body.
-
hasNonStableParameterNames
public boolean hasNonStableParameterNames
Signifies that the corresponding constructor has non-stable parameter names, i.e. cannot be called with named arguments.
-
hasAnnotationsInBytecode
public boolean hasAnnotationsInBytecode
Indicates 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 public boolean hasAnnotations
已过时。
-
-
构造器详细资料
-
KotlinConstructorFlags
public KotlinConstructorFlags(KotlinVisibilityFlags visibility)
-
-