Interface ConstantVisitor
-
- All Known Subinterfaces:
ProcessableVisitor
- All Known Implementing Classes:
BasicInvocationUnit
,BootstrapMethodHandleTraveler
,BootstrapMethodRemapper
,BranchTargetFinder
,BridgeMethodFixer
,ClassCleaner
,ClassConstantClassFilter
,ClassConstantValueFactory
,ClassPrinter
,ClassReferenceFixer
,ClassReferenceInitializer
,ClassRenamer
,ClassSuperHierarchyInitializer
,ConstantAdder
,ConstantCounter
,ConstantInstruction
,ConstantLookupVisitor
,ConstantPoolRemapper
,ConstantPoolShrinker
,ConstantProcessingFlagFilter
,ConstantStringBuilder
,ConstantTagFilter
,ConstantValueFactory
,DotClassClassVisitor
,DynamicClassReferenceInitializer
,DynamicMemberReferenceInitializer
,DynamicReturnedClassVisitor
,EnumFieldReferenceInitializer
,ExceptClassConstantFilter
,ExceptionAdder
,ExecutingInvocationUnit
,ImplementedClassConstantFilter
,ImplementingClassConstantFilter
,InnerClassesAccessFixer
,InstructionSequenceMatcher
,InstructionSequenceReplacer
,InterfaceAdder
,KotlinMetadataInitializer
,LambdaExpressionCollector
,LargeStringSplitter
,LibraryClassReader
,MemberReferenceFixer
,MethodInvocationFixer
,MethodrefTraveler
,MultiConstantVisitor
,NameAndTypeShrinker
,NestMemberAdder
,PermittedSubclassAdder
,PrimitiveArrayConstantReplacer
,ProcessingFlagCleaner
,ProcessingFlagSetter
,ProcessingInfoSetter
,ProgramClassReader
,ProgramClassWriter
,ReferencedClassVisitor
,ReferencedMemberVisitor
,ReferenceTracingInvocationUnit
,SimplifiedInvocationUnit
,StringReferenceInitializer
,StringSharer
,Utf8Shrinker
,WildcardConstantFilter
public interface ConstantVisitor
This interface specifies the methods for a visitor ofConstant
instances.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
visitAnyConstant(Clazz clazz, Constant constant)
Visits any Constant instance.default void
visitAnyMethodrefConstant(Clazz clazz, AnyMethodrefConstant anyMethodrefConstant)
Visits any RefConstant instance.default void
visitAnyRefConstant(Clazz clazz, RefConstant refConstant)
Visits any RefConstant instance.default void
visitClassConstant(Clazz clazz, ClassConstant classConstant)
default void
visitDoubleConstant(Clazz clazz, DoubleConstant doubleConstant)
default void
visitDynamicConstant(Clazz clazz, DynamicConstant dynamicConstant)
default void
visitFieldrefConstant(Clazz clazz, FieldrefConstant fieldrefConstant)
default void
visitFloatConstant(Clazz clazz, FloatConstant floatConstant)
default void
visitIntegerConstant(Clazz clazz, IntegerConstant integerConstant)
default void
visitInterfaceMethodrefConstant(Clazz clazz, InterfaceMethodrefConstant interfaceMethodrefConstant)
default void
visitInvokeDynamicConstant(Clazz clazz, InvokeDynamicConstant invokeDynamicConstant)
default void
visitLongConstant(Clazz clazz, LongConstant longConstant)
default void
visitMethodHandleConstant(Clazz clazz, MethodHandleConstant methodHandleConstant)
default void
visitMethodrefConstant(Clazz clazz, MethodrefConstant methodrefConstant)
default void
visitMethodTypeConstant(Clazz clazz, MethodTypeConstant methodTypeConstant)
default void
visitModuleConstant(Clazz clazz, ModuleConstant moduleConstant)
default void
visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant)
default void
visitPackageConstant(Clazz clazz, PackageConstant packageConstant)
default void
visitPrimitiveArrayConstant(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant)
default void
visitStringConstant(Clazz clazz, StringConstant stringConstant)
default void
visitUtf8Constant(Clazz clazz, Utf8Constant utf8Constant)
-
-
-
Method Detail
-
visitAnyConstant
default void visitAnyConstant(Clazz clazz, Constant constant)
Visits any Constant instance. The more specific default implementations of this interface delegate to this method.
-
visitIntegerConstant
default void visitIntegerConstant(Clazz clazz, IntegerConstant integerConstant)
-
visitLongConstant
default void visitLongConstant(Clazz clazz, LongConstant longConstant)
-
visitFloatConstant
default void visitFloatConstant(Clazz clazz, FloatConstant floatConstant)
-
visitDoubleConstant
default void visitDoubleConstant(Clazz clazz, DoubleConstant doubleConstant)
-
visitPrimitiveArrayConstant
default void visitPrimitiveArrayConstant(Clazz clazz, PrimitiveArrayConstant primitiveArrayConstant)
-
visitStringConstant
default void visitStringConstant(Clazz clazz, StringConstant stringConstant)
-
visitUtf8Constant
default void visitUtf8Constant(Clazz clazz, Utf8Constant utf8Constant)
-
visitDynamicConstant
default void visitDynamicConstant(Clazz clazz, DynamicConstant dynamicConstant)
-
visitInvokeDynamicConstant
default void visitInvokeDynamicConstant(Clazz clazz, InvokeDynamicConstant invokeDynamicConstant)
-
visitMethodHandleConstant
default void visitMethodHandleConstant(Clazz clazz, MethodHandleConstant methodHandleConstant)
-
visitModuleConstant
default void visitModuleConstant(Clazz clazz, ModuleConstant moduleConstant)
-
visitPackageConstant
default void visitPackageConstant(Clazz clazz, PackageConstant packageConstant)
-
visitAnyRefConstant
default void visitAnyRefConstant(Clazz clazz, RefConstant refConstant)
Visits any RefConstant instance. The more specific default implementations of this interface delegate to this method.
-
visitFieldrefConstant
default void visitFieldrefConstant(Clazz clazz, FieldrefConstant fieldrefConstant)
-
visitAnyMethodrefConstant
default void visitAnyMethodrefConstant(Clazz clazz, AnyMethodrefConstant anyMethodrefConstant)
Visits any RefConstant instance. The more specific default implementations of this interface delegate to this method.
-
visitInterfaceMethodrefConstant
default void visitInterfaceMethodrefConstant(Clazz clazz, InterfaceMethodrefConstant interfaceMethodrefConstant)
-
visitMethodrefConstant
default void visitMethodrefConstant(Clazz clazz, MethodrefConstant methodrefConstant)
-
visitClassConstant
default void visitClassConstant(Clazz clazz, ClassConstant classConstant)
-
visitMethodTypeConstant
default void visitMethodTypeConstant(Clazz clazz, MethodTypeConstant methodTypeConstant)
-
visitNameAndTypeConstant
default void visitNameAndTypeConstant(Clazz clazz, NameAndTypeConstant nameAndTypeConstant)
-
-