public class KotlinMetadataWriter extends java.lang.Object implements ClassVisitor, KotlinMetadataVisitor, ElementValueVisitor
Modifier and Type | Field and Description |
---|---|
static KotlinMetadataVersion |
HIGHEST_ALLOWED_TO_WRITE |
static KotlinMetadataVersion |
LATEST_STABLE_SUPPORTED |
Constructor and Description |
---|
KotlinMetadataWriter(java.util.function.BiConsumer<Clazz,java.lang.String> errorHandler) |
KotlinMetadataWriter(java.util.function.BiConsumer<Clazz,java.lang.String> errorHandler,
ClassVisitor extraClassVisitor) |
KotlinMetadataWriter(WarningPrinter warningPrinter)
Deprecated.
Use
KotlinMetadataWriter(BiConsumer) instead. |
KotlinMetadataWriter(WarningPrinter warningPrinter,
ClassVisitor extraClassVisitor)
Deprecated.
Use
KotlinMetadataWriter(BiConsumer, ClassVisitor)
instead. |
Modifier and Type | Method and Description |
---|---|
void |
visitAnyClass(Clazz clazz)
Visits any Clazz instance.
|
void |
visitAnyKotlinMetadata(Clazz clazz,
KotlinMetadata kotlinMetadata) |
void |
visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitLibraryClass, visitProgramClass
visitKotlinClassMetadata, visitKotlinDeclarationContainerMetadata, visitKotlinFileFacadeMetadata, visitKotlinMultiFileFacadeMetadata, visitKotlinMultiFilePartMetadata, visitKotlinSyntheticClassMetadata, visitUnsupportedKotlinMetadata
visitAnnotationElementValue, visitAnyElementValue, visitClassElementValue, visitEnumConstantElementValue
public static final KotlinMetadataVersion HIGHEST_ALLOWED_TO_WRITE
public static final KotlinMetadataVersion LATEST_STABLE_SUPPORTED
@Deprecated public KotlinMetadataWriter(WarningPrinter warningPrinter)
KotlinMetadataWriter(BiConsumer)
instead.@Deprecated public KotlinMetadataWriter(WarningPrinter warningPrinter, ClassVisitor extraClassVisitor)
KotlinMetadataWriter(BiConsumer, ClassVisitor)
instead.public KotlinMetadataWriter(java.util.function.BiConsumer<Clazz,java.lang.String> errorHandler)
public KotlinMetadataWriter(java.util.function.BiConsumer<Clazz,java.lang.String> errorHandler, ClassVisitor extraClassVisitor)
public void visitAnyClass(Clazz clazz)
ClassVisitor
visitAnyClass
in interface ClassVisitor
public void visitAnyKotlinMetadata(Clazz clazz, KotlinMetadata kotlinMetadata)
visitAnyKotlinMetadata
in interface KotlinMetadataVisitor
public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue constantElementValue)
visitConstantElementValue
in interface ElementValueVisitor
public void visitArrayElementValue(Clazz clazz, Annotation annotation, ArrayElementValue arrayElementValue)
visitArrayElementValue
in interface ElementValueVisitor