类 KotlinPropertyAccessorMetadata
java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.kotlin.flags.KotlinPropertyAccessorMetadata
- 所有已实现的接口:
Serializable,KotlinFlags,KotlinAnnotatable,Processable
public class KotlinPropertyAccessorMetadata
extends SimpleProcessable
implements KotlinFlags, KotlinAnnotatable
Kotlin property accessor metadata (getters/setters for properties).
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明boolean已过时。booleanIndicates that the corresponding interface has at least one annotation in the JVM bytecode.booleanSignifies that the corresponding property is not default, i.e. it has a body and/or annotations in the source code.booleanSignifies that the corresponding property is `external`.booleanSignifies that the corresponding property is `inline`.从类继承的字段 proguard.util.SimpleProcessable
processingFlags, processingInfo -
构造器概要
构造器构造器说明KotlinPropertyAccessorMetadata(KotlinVisibilityFlags visibility, KotlinModalityFlags modality) -
方法概要
修饰符和类型方法说明voidaccept(Clazz clazz, KotlinMetadata kotlinMetadata, KotlinPropertyMetadata kotlinPropertyMetadata, KotlinPropertyAccessorVisitor kotlinPropertyAccessorVisitor) voidannotationsAccept(Clazz clazz, KotlinAnnotationVisitor kotlinAnnotationVisitor) 从类继承的方法 proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 proguard.util.Processable
accept
-
字段详细资料
-
visibility
-
modality
-
referencedMethod
-
signature
-
annotations
-
isDefault
public boolean isDefaultSignifies that the corresponding property is not default, i.e. it has a body and/or annotations in the source code. -
isExternal
public boolean isExternalSignifies that the corresponding property is `external`. -
isInline
public boolean isInlineSignifies that the corresponding property is `inline`. -
hasAnnotationsInBytecode
public boolean hasAnnotationsInBytecodeIndicates that the corresponding interface 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
已过时。
-
-
构造器详细资料
-
KotlinPropertyAccessorMetadata
public KotlinPropertyAccessorMetadata(KotlinVisibilityFlags visibility, KotlinModalityFlags modality)
-
-
方法详细资料
-
accept
public void accept(Clazz clazz, KotlinMetadata kotlinMetadata, KotlinPropertyMetadata kotlinPropertyMetadata, KotlinPropertyAccessorVisitor kotlinPropertyAccessorVisitor) -
annotationsAccept
- 指定者:
annotationsAccept在接口中KotlinAnnotatable
-