Package org.objectweb.asm.util
Class TraceModuleVisitor
java.lang.Object
org.objectweb.asm.ModuleVisitor
org.objectweb.asm.util.TraceModuleVisitor
public final class TraceModuleVisitor
extends org.objectweb.asm.ModuleVisitor
A
ModuleVisitor that prints the fields it visits with a Printer.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal PrinterThe printer to convert the visited module into text.Fields inherited from class org.objectweb.asm.ModuleVisitor
api, mv -
Constructor Summary
ConstructorsConstructorDescriptionTraceModuleVisitor(org.objectweb.asm.ModuleVisitor moduleVisitor, Printer printer) Constructs a newTraceModuleVisitor.TraceModuleVisitor(Printer printer) Constructs a newTraceModuleVisitor. -
Method Summary
Modifier and TypeMethodDescriptionvoidvisitEnd()voidvisitExport(String packaze, int access, String... modules) voidvisitMainClass(String mainClass) voidvoidvisitPackage(String packaze) voidvisitProvide(String service, String... providers) voidvisitRequire(String module, int access, String version) voidMethods inherited from class org.objectweb.asm.ModuleVisitor
getDelegate
-
Field Details
-
p
The printer to convert the visited module into text.
-
-
Constructor Details
-
TraceModuleVisitor
Constructs a newTraceModuleVisitor.- Parameters:
printer- the printer to convert the visited module into text.
-
TraceModuleVisitor
Constructs a newTraceModuleVisitor.- Parameters:
moduleVisitor- the module visitor to which to delegate calls. May be null.printer- the printer to convert the visited module into text.
-
-
Method Details
-
visitMainClass
- Overrides:
visitMainClassin classorg.objectweb.asm.ModuleVisitor
-
visitPackage
- Overrides:
visitPackagein classorg.objectweb.asm.ModuleVisitor
-
visitRequire
- Overrides:
visitRequirein classorg.objectweb.asm.ModuleVisitor
-
visitExport
- Overrides:
visitExportin classorg.objectweb.asm.ModuleVisitor
-
visitOpen
- Overrides:
visitOpenin classorg.objectweb.asm.ModuleVisitor
-
visitUse
- Overrides:
visitUsein classorg.objectweb.asm.ModuleVisitor
-
visitProvide
- Overrides:
visitProvidein classorg.objectweb.asm.ModuleVisitor
-
visitEnd
public void visitEnd()- Overrides:
visitEndin classorg.objectweb.asm.ModuleVisitor
-