Class KotlinMetadataPrinter
- java.lang.Object
-
- proguard.classfile.kotlin.visitor.KotlinMetadataPrinter
-
- All Implemented Interfaces:
KotlinAnnotationVisitor
,KotlinConstructorVisitor
,KotlinContractVisitor
,KotlinEffectExprVisitor
,KotlinEffectVisitor
,KotlinFunctionVisitor
,KotlinMetadataVisitor
,KotlinPropertyVisitor
,KotlinTypeAliasVisitor
,KotlinTypeParameterVisitor
,KotlinTypeVisitor
,KotlinValueParameterVisitor
,KotlinVersionRequirementVisitor
public class KotlinMetadataPrinter extends java.lang.Object implements KotlinMetadataVisitor, KotlinConstructorVisitor, KotlinTypeParameterVisitor, KotlinTypeVisitor, KotlinValueParameterVisitor, KotlinVersionRequirementVisitor, KotlinFunctionVisitor, KotlinContractVisitor, KotlinEffectVisitor, KotlinTypeAliasVisitor, KotlinPropertyVisitor, KotlinEffectExprVisitor, KotlinAnnotationVisitor
- See Also:
.main
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_MISSING_REF_INDICATOR
-
Constructor Summary
Constructors Constructor Description KotlinMetadataPrinter()
KotlinMetadataPrinter(java.io.PrintWriter pw)
KotlinMetadataPrinter(java.io.PrintWriter pw, java.lang.String refMissingIndicator)
-
Method Summary
-
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.KotlinAnnotationVisitor
visitTypeAliasAnnotation, visitTypeAnnotation, visitTypeParameterAnnotation
-
Methods inherited from interface proguard.classfile.kotlin.visitor.KotlinEffectExprVisitor
visitConclusionExpression, visitConstructorArgExpression
-
Methods inherited from interface proguard.classfile.kotlin.visitor.KotlinMetadataVisitor
visitUnsupportedKotlinMetadata
-
Methods inherited from interface proguard.classfile.kotlin.visitor.KotlinTypeParameterVisitor
visitAliasTypeParameter, visitClassTypeParameter, visitFunctionTypeParameter, visitPropertyTypeParameter
-
Methods inherited from interface proguard.classfile.kotlin.visitor.KotlinTypeVisitor
visitClassContextReceiverType, visitConstructorValParamType, visitFunctionContextReceiverType, visitFunctionValParamType, visitPropertyContextReceiverType, visitPropertyType, visitPropertyValParamType, visitTypeOfIsExpression
-
Methods inherited from interface proguard.classfile.kotlin.visitor.KotlinVersionRequirementVisitor
visitClassVersionRequirement, visitConstructorVersionRequirement, visitFunctionVersionRequirement, visitPropertyVersionRequirement, visitTypeAliasVersionRequirement
-
-
-
-
Field Detail
-
DEFAULT_MISSING_REF_INDICATOR
public static final java.lang.String DEFAULT_MISSING_REF_INDICATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
visitAnyKotlinMetadata
public void visitAnyKotlinMetadata(Clazz clazz, KotlinMetadata kotlinMetadata)
- Specified by:
visitAnyKotlinMetadata
in interfaceKotlinMetadataVisitor
-
visitKotlinDeclarationContainerMetadata
public void visitKotlinDeclarationContainerMetadata(Clazz clazz, KotlinDeclarationContainerMetadata kotlinDeclarationContainerMetadata)
- Specified by:
visitKotlinDeclarationContainerMetadata
in interfaceKotlinMetadataVisitor
-
visitKotlinClassMetadata
public void visitKotlinClassMetadata(Clazz clazz, KotlinClassKindMetadata kotlinClassKindMetadata)
- Specified by:
visitKotlinClassMetadata
in interfaceKotlinMetadataVisitor
-
visitKotlinFileFacadeMetadata
public void visitKotlinFileFacadeMetadata(Clazz clazz, KotlinFileFacadeKindMetadata kotlinFileFacadeKindMetadata)
- Specified by:
visitKotlinFileFacadeMetadata
in interfaceKotlinMetadataVisitor
-
visitKotlinSyntheticClassMetadata
public void visitKotlinSyntheticClassMetadata(Clazz clazz, KotlinSyntheticClassKindMetadata kotlinSyntheticClassKindMetadata)
- Specified by:
visitKotlinSyntheticClassMetadata
in interfaceKotlinMetadataVisitor
-
visitKotlinMultiFileFacadeMetadata
public void visitKotlinMultiFileFacadeMetadata(Clazz clazz, KotlinMultiFileFacadeKindMetadata kotlinMultiFileFacadeKindMetadata)
- Specified by:
visitKotlinMultiFileFacadeMetadata
in interfaceKotlinMetadataVisitor
-
visitKotlinMultiFilePartMetadata
public void visitKotlinMultiFilePartMetadata(Clazz clazz, KotlinMultiFilePartKindMetadata kotlinMultiFilePartKindMetadata)
- Specified by:
visitKotlinMultiFilePartMetadata
in interfaceKotlinMetadataVisitor
-
visitConstructor
public void visitConstructor(Clazz clazz, KotlinClassKindMetadata kotlinClassKindMetadata, KotlinConstructorMetadata kotlinConstructorMetadata)
- Specified by:
visitConstructor
in interfaceKotlinConstructorVisitor
-
visitAnyTypeParameter
public void visitAnyTypeParameter(Clazz clazz, KotlinTypeParameterMetadata kotlinTypeParameterMetadata)
- Specified by:
visitAnyTypeParameter
in interfaceKotlinTypeParameterVisitor
-
visitAnyValueParameter
public void visitAnyValueParameter(Clazz clazz, KotlinValueParameterMetadata kotlinValueParameterMetadata)
- Specified by:
visitAnyValueParameter
in interfaceKotlinValueParameterVisitor
-
visitPropertyValParameter
public void visitPropertyValParameter(Clazz clazz, KotlinDeclarationContainerMetadata kotlinDeclarationContainerMetadata, KotlinPropertyMetadata kotlinPropertyMetadata, KotlinValueParameterMetadata kotlinValueParameterMetadata)
Description copied from interface:KotlinValueParameterVisitor
Visit a value parameter of the property setter, if it has one.- Specified by:
visitPropertyValParameter
in interfaceKotlinValueParameterVisitor
-
visitFunctionValParameter
public void visitFunctionValParameter(Clazz clazz, KotlinMetadata kotlinMetadata, KotlinFunctionMetadata kotlinFunctionMetadata, KotlinValueParameterMetadata kotlinValueParameterMetadata)
- Specified by:
visitFunctionValParameter
in interfaceKotlinValueParameterVisitor
-
visitConstructorValParameter
public void visitConstructorValParameter(Clazz clazz, KotlinClassKindMetadata kotlinClassKindMetadata, KotlinConstructorMetadata kotlinConstructorMetadata, KotlinValueParameterMetadata kotlinValueParameterMetadata)
- Specified by:
visitConstructorValParameter
in interfaceKotlinValueParameterVisitor
-
visitAnyProperty
public void visitAnyProperty(Clazz clazz, KotlinDeclarationContainerMetadata kotlinDeclarationContainerMetadata, KotlinPropertyMetadata kotlinPropertyMetadata)
- Specified by:
visitAnyProperty
in interfaceKotlinPropertyVisitor
-
visitProperty
public void visitProperty(Clazz clazz, KotlinDeclarationContainerMetadata kotlinDeclarationContainerMetadata, KotlinPropertyMetadata kotlinPropertyMetadata)
- Specified by:
visitProperty
in interfaceKotlinPropertyVisitor
-
visitDelegatedProperty
public void visitDelegatedProperty(Clazz clazz, KotlinDeclarationContainerMetadata kotlinDeclarationContainerMetadata, KotlinPropertyMetadata kotlinPropertyMetadata)
- Specified by:
visitDelegatedProperty
in interfaceKotlinPropertyVisitor
-
visitAnyType
public void visitAnyType(Clazz clazz, KotlinTypeMetadata kotlinTypeMetadata)
- Specified by:
visitAnyType
in interfaceKotlinTypeVisitor
-
visitAbbreviation
public void visitAbbreviation(Clazz clazz, KotlinTypeMetadata kotlinTypeMetadata, KotlinTypeMetadata abbreviation)
- Specified by:
visitAbbreviation
in interfaceKotlinTypeVisitor
-
visitOuterClass
public void visitOuterClass(Clazz clazz, KotlinTypeMetadata innerClass, KotlinTypeMetadata outerClass)
- Specified by:
visitOuterClass
in interfaceKotlinTypeVisitor
-
visitTypeArgument
public void visitTypeArgument(Clazz clazz, KotlinTypeMetadata kotlinTypeMetadata, KotlinTypeMetadata typeArgument)
- Specified by:
visitTypeArgument
in interfaceKotlinTypeVisitor
-
visitStarProjection
public void visitStarProjection(Clazz clazz, KotlinTypeMetadata typeWithStarArg)
- Specified by:
visitStarProjection
in interfaceKotlinTypeVisitor
-
visitTypeUpperBound
public void visitTypeUpperBound(Clazz clazz, KotlinTypeMetadata boundedType, KotlinTypeMetadata upperBound)
- Specified by:
visitTypeUpperBound
in interfaceKotlinTypeVisitor
-
visitSuperType
public void visitSuperType(Clazz clazz, KotlinClassKindMetadata kotlinMetadata, KotlinTypeMetadata kotlinTypeMetadata)
- Specified by:
visitSuperType
in interfaceKotlinTypeVisitor
-
visitInlineClassUnderlyingPropertyType
public void visitInlineClassUnderlyingPropertyType(Clazz clazz, KotlinClassKindMetadata kotlinMetadata, KotlinTypeMetadata kotlinTypeMetadata)
- Specified by:
visitInlineClassUnderlyingPropertyType
in interfaceKotlinTypeVisitor
-
visitFunctionReturnType
public void visitFunctionReturnType(Clazz clazz, KotlinMetadata kotlinMetadata, KotlinFunctionMetadata kotlinFunctionMetadata, KotlinTypeMetadata kotlinTypeMetadata)
- Specified by:
visitFunctionReturnType
in interfaceKotlinTypeVisitor
-
visitConstructorValParamVarArgType
public void visitConstructorValParamVarArgType(Clazz clazz, KotlinDeclarationContainerMetadata kotlinDeclarationContainerMetadata, KotlinConstructorMetadata kotlinConstructorMetadata, KotlinValueParameterMetadata kotlinValueParameterMetadata, KotlinTypeMetadata kotlinTypeMetadata)
- Specified by:
visitConstructorValParamVarArgType
in interfaceKotlinTypeVisitor
-
visitPropertyValParamVarArgType
public void visitPropertyValParamVarArgType(Clazz clazz, KotlinDeclarationContainerMetadata kotlinDeclarationContainerMetadata, KotlinPropertyMetadata kotlinPropertyMetadata, KotlinValueParameterMetadata kotlinValueParameterMetadata, KotlinTypeMetadata kotlinTypeMetadata)
- Specified by:
visitPropertyValParamVarArgType
in interfaceKotlinTypeVisitor
-
visitFunctionValParamVarArgType
public void visitFunctionValParamVarArgType(Clazz clazz, KotlinMetadata kotlinMetadata, KotlinFunctionMetadata kotlinFunctionMetadata, KotlinValueParameterMetadata kotlinValueParameterMetadata, KotlinTypeMetadata kotlinTypeMetadata)
- Specified by:
visitFunctionValParamVarArgType
in interfaceKotlinTypeVisitor
-
visitAliasUnderlyingType
public void visitAliasUnderlyingType(Clazz clazz, KotlinDeclarationContainerMetadata kotlinDeclarationContainerMetadata, KotlinTypeAliasMetadata kotlinTypeAliasMetadata, KotlinTypeMetadata kotlinTypeMetadata)
- Specified by:
visitAliasUnderlyingType
in interfaceKotlinTypeVisitor
-
visitAliasExpandedType
public void visitAliasExpandedType(Clazz clazz, KotlinDeclarationContainerMetadata kotlinDeclarationContainerMetadata, KotlinTypeAliasMetadata kotlinTypeAliasMetadata, KotlinTypeMetadata kotlinTypeMetadata)
- Specified by:
visitAliasExpandedType
in interfaceKotlinTypeVisitor
-
visitPropertyReceiverType
public void visitPropertyReceiverType(Clazz clazz, KotlinDeclarationContainerMetadata kotlinDeclarationContainerMetadata, KotlinPropertyMetadata kotlinPropertyMetadata, KotlinTypeMetadata kotlinTypeMetadata)
- Specified by:
visitPropertyReceiverType
in interfaceKotlinTypeVisitor
-
visitFunctionReceiverType
public void visitFunctionReceiverType(Clazz clazz, KotlinMetadata kotlinMetadata, KotlinFunctionMetadata kotlinFunctionMetadata, KotlinTypeMetadata kotlinTypeMetadata)
- Specified by:
visitFunctionReceiverType
in interfaceKotlinTypeVisitor
-
visitAnyContextReceiverType
public void visitAnyContextReceiverType(Clazz clazz, KotlinMetadata kotlinMetadata, KotlinTypeMetadata kotlinTypeMetadata)
- Specified by:
visitAnyContextReceiverType
in interfaceKotlinTypeVisitor
-
visitParameterUpperBound
public void visitParameterUpperBound(Clazz clazz, KotlinTypeParameterMetadata boundedTypeParameter, KotlinTypeMetadata upperBound)
- Specified by:
visitParameterUpperBound
in interfaceKotlinTypeVisitor
-
visitTypeAlias
public void visitTypeAlias(Clazz clazz, KotlinDeclarationContainerMetadata kotlinDeclarationContainerMetadata, KotlinTypeAliasMetadata kotlinTypeAliasMetadata)
- Specified by:
visitTypeAlias
in interfaceKotlinTypeAliasVisitor
-
visitAnyVersionRequirement
public void visitAnyVersionRequirement(Clazz clazz, KotlinVersionRequirementMetadata kotlinVersionRequirementMetadata)
- Specified by:
visitAnyVersionRequirement
in interfaceKotlinVersionRequirementVisitor
-
visitAnyFunction
public void visitAnyFunction(Clazz clazz, KotlinMetadata kotlinMetadata, KotlinFunctionMetadata kotlinFunctionMetadata)
- Specified by:
visitAnyFunction
in interfaceKotlinFunctionVisitor
-
visitFunction
public void visitFunction(Clazz clazz, KotlinDeclarationContainerMetadata kotlinDeclarationContainerMetadata, KotlinFunctionMetadata kotlinFunctionMetadata)
- Specified by:
visitFunction
in interfaceKotlinFunctionVisitor
-
visitSyntheticFunction
public void visitSyntheticFunction(Clazz clazz, KotlinSyntheticClassKindMetadata kotlinSyntheticClassKindMetadata, KotlinFunctionMetadata kotlinFunctionMetadata)
- Specified by:
visitSyntheticFunction
in interfaceKotlinFunctionVisitor
-
visitAnyAnnotation
public void visitAnyAnnotation(Clazz clazz, KotlinAnnotatable annotatable, KotlinAnnotation annotation)
- Specified by:
visitAnyAnnotation
in interfaceKotlinAnnotationVisitor
-
visitContract
public void visitContract(Clazz clazz, KotlinMetadata kotlinMetadata, KotlinFunctionMetadata kotlinFunctionMetadata, KotlinContractMetadata kotlinContractMetadata)
- Specified by:
visitContract
in interfaceKotlinContractVisitor
-
visitEffect
public void visitEffect(Clazz clazz, KotlinMetadata kotlinMetadata, KotlinFunctionMetadata kotlinFunctionMetadata, KotlinContractMetadata kotlinContractMetadata, KotlinEffectMetadata kotlinEffectMetadata)
- Specified by:
visitEffect
in interfaceKotlinEffectVisitor
-
visitAnyEffectExpression
public void visitAnyEffectExpression(Clazz clazz, KotlinEffectMetadata kotlinEffectMetadata, KotlinEffectExpressionMetadata kotlinEffectExpressionMetadata)
- Specified by:
visitAnyEffectExpression
in interfaceKotlinEffectExprVisitor
-
visitAndRHSExpression
public void visitAndRHSExpression(Clazz clazz, KotlinEffectMetadata kotlinEffectMetadata, KotlinEffectExpressionMetadata lhs, KotlinEffectExpressionMetadata rhs)
- Specified by:
visitAndRHSExpression
in interfaceKotlinEffectExprVisitor
-
visitOrRHSExpression
public void visitOrRHSExpression(Clazz clazz, KotlinEffectMetadata kotlinEffectMetadata, KotlinEffectExpressionMetadata lhs, KotlinEffectExpressionMetadata rhs)
- Specified by:
visitOrRHSExpression
in interfaceKotlinEffectExprVisitor
-
-