Class KotlinCallableReferenceInitializer
- java.lang.Object
-
- proguard.classfile.kotlin.reflect.util.KotlinCallableReferenceInitializer
-
- All Implemented Interfaces:
KotlinMetadataVisitor
public class KotlinCallableReferenceInitializer extends java.lang.Object implements KotlinMetadataVisitor
Initialize callable reference class information, by visiting synthetic classes that implement (Function|Property|LocalVariable)Reference, then finding Function/Property that they refer to and use this information to initialize aCallableReferenceInfo
inside the synthetic class.FunctionReferences are lambda synthetic classes PropertyReferences are regular synthetic classes LocalVariableReferences extend PropertyReferences
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KotlinCallableReferenceInitializer.LocalVariableReferenceInfoInitializer
static class
KotlinCallableReferenceInitializer.OptimizedCallableReferenceFilter
-
Constructor Summary
Constructors Constructor Description KotlinCallableReferenceInitializer(ClassPool programClassPool, ClassPool libraryClassPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitAnyKotlinMetadata(Clazz clazz, KotlinMetadata kotlinMetadata)
void
visitKotlinSyntheticClassMetadata(Clazz clazz, KotlinSyntheticClassKindMetadata syntheticClassKindMetadata)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface proguard.classfile.kotlin.visitor.KotlinMetadataVisitor
visitKotlinClassMetadata, visitKotlinDeclarationContainerMetadata, visitKotlinFileFacadeMetadata, visitKotlinMultiFileFacadeMetadata, visitKotlinMultiFilePartMetadata, visitUnsupportedKotlinMetadata
-
-
-
-
Method Detail
-
visitAnyKotlinMetadata
public void visitAnyKotlinMetadata(Clazz clazz, KotlinMetadata kotlinMetadata)
- Specified by:
visitAnyKotlinMetadata
in interfaceKotlinMetadataVisitor
-
visitKotlinSyntheticClassMetadata
public void visitKotlinSyntheticClassMetadata(Clazz clazz, KotlinSyntheticClassKindMetadata syntheticClassKindMetadata)
- Specified by:
visitKotlinSyntheticClassMetadata
in interfaceKotlinMetadataVisitor
-
-