Modifier and Type | Class and Description |
---|---|
class |
ClassWriter
A
ClassVisitor that generates classes in bytecode form. |
Modifier and Type | Field and Description |
---|---|
protected ClassVisitor |
ClassVisitor.cv
The class visitor to which this visitor must delegate method calls.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassReader.accept(ClassVisitor classVisitor,
Attribute[] attrs,
int flags)
Makes the given visitor visit the Java class of this
ClassReader . |
void |
ClassReader.accept(ClassVisitor classVisitor,
int flags)
Makes the given visitor visit the Java class of this
ClassReader
. |
Constructor and Description |
---|
ClassVisitor(int api,
ClassVisitor cv)
Constructs a new
ClassVisitor . |
Modifier and Type | Class and Description |
---|---|
class |
RemappingClassAdapter
A
ClassVisitor for type remapping. |
class |
SerialVersionUIDAdder
A
ClassVisitor that adds a serial version unique identifier to a
class if missing. |
class |
StaticInitMerger
A
ClassVisitor that merges clinit methods into a single one. |
Constructor and Description |
---|
GeneratorAdapter(int access,
Method method,
String signature,
Type[] exceptions,
ClassVisitor cv)
Creates a new
GeneratorAdapter . |
RemappingClassAdapter(ClassVisitor cv,
Remapper remapper) |
RemappingClassAdapter(int api,
ClassVisitor cv,
Remapper remapper) |
SerialVersionUIDAdder(ClassVisitor cv)
Creates a new
SerialVersionUIDAdder . |
SerialVersionUIDAdder(int api,
ClassVisitor cv)
Creates a new
SerialVersionUIDAdder . |
StaticInitMerger(int api,
String prefix,
ClassVisitor cv) |
StaticInitMerger(String prefix,
ClassVisitor cv) |
Modifier and Type | Class and Description |
---|---|
class |
ClassNode
A node that represents a class.
|
Modifier and Type | Method and Description |
---|---|
void |
FieldNode.accept(ClassVisitor cv)
Makes the given class visitor visit this field.
|
void |
MethodNode.accept(ClassVisitor cv)
Makes the given class visitor visit this method.
|
void |
InnerClassNode.accept(ClassVisitor cv)
Makes the given class visitor visit this inner class.
|
void |
ClassNode.accept(ClassVisitor cv)
Makes the given class visitor visit this class.
|
Modifier and Type | Class and Description |
---|---|
class |
TraceClassVisitor
A
ClassVisitor that prints the classes it visits with a
Printer . |
Constructor and Description |
---|
TraceClassVisitor(ClassVisitor cv,
Printer p,
PrintWriter pw)
Constructs a new
TraceClassVisitor . |
TraceClassVisitor(ClassVisitor cv,
PrintWriter pw)
Constructs a new
TraceClassVisitor . |
Modifier and Type | Class and Description |
---|---|
class |
CollectClassData
Reads the bytecode for a class and collects data needed for building
TypeOracle structures.
|
class |
CollectReferencesVisitor
Collect all the types which are referenced by a particular class.
|
Modifier and Type | Class and Description |
---|---|
class |
EmptyVisitor
This class is a replacement of the EmptyVisitor class in ASM 3.1, no longer provided in ASM 4.
|
Modifier and Type | Class and Description |
---|---|
class |
HasAnnotation
A simple ClassAdapter that determines if a specific annotation is declared on
a type (ignoring any annotatons that may be present on supertypes or
superinterfaces).
|
class |
RewriteJsniMethods
Turns native method declarations into normal Java functions which perform the
corresponding JSNI dispatch.
|
class |
RewriteSingleJsoImplDispatches
Effects the renaming of
@SingleJsoImpl methods from their original
name to their mangled name. |
class |
UseMirroredClasses
A general Class Visitor which will take any of the method calls in it's
list and replace them with static calls to another method (the "mirrored"
method) in another class (the "mirrored" class).
|
Constructor and Description |
---|
HasAnnotation(ClassVisitor v,
Class<? extends Annotation> annotation) |
RewriteJsniMethods(ClassVisitor v,
Map<String,String> anonymousClassMap) |
RewriteSingleJsoImplDispatches(ClassVisitor v,
TypeOracle typeOracle,
HostedModeClassRewriter.SingleJsoImplData jsoData) |
UseMirroredClasses(ClassVisitor cv,
String className) |
Copyright © 2018. All rights reserved.