Package | Description |
---|---|
org.objectweb.asm |
Provides a small and fast bytecode manipulation framework.
|
org.objectweb.asm.commons |
Provides some useful class and method adapters.
|
org.objectweb.asm.tree |
Provides an ASM visitor that constructs a tree representation of the
classes it visits.
|
org.objectweb.asm.util |
Provides ASM visitors that can be useful for programming and
debugging purposes.
|
org.objectweb.asm.xml |
Provides SAX 2.0 adapters for ASM
visitors to convert classes to and from XML.
|
Modifier and Type | Method and Description |
---|---|
static TypePath |
TypePath.fromString(String typePath)
Converts a type path in string form, in the format used by
toString() , into a TypePath object. |
Modifier and Type | Method and Description |
---|---|
AnnotationVisitor |
MethodVisitor.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Visits an annotation on an instruction.
|
AnnotationVisitor |
MethodVisitor.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible)
Visits an annotation on a local variable type.
|
AnnotationVisitor |
MethodVisitor.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Visits an annotation on an exception handler type.
|
AnnotationVisitor |
MethodVisitor.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Visits an annotation on a type in the method signature.
|
AnnotationVisitor |
FieldVisitor.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Visits an annotation on the type of the field.
|
AnnotationVisitor |
ClassWriter.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
ClassVisitor.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Visits an annotation on a type in the class signature.
|
Modifier and Type | Method and Description |
---|---|
AnnotationVisitor |
RemappingMethodAdapter.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
RemappingMethodAdapter.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible) |
AnnotationVisitor |
LocalVariablesSorter.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible) |
AnnotationVisitor |
RemappingMethodAdapter.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
RemappingMethodAdapter.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
RemappingFieldAdapter.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
RemappingClassAdapter.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Modifier and Type | Field and Description |
---|---|
TypePath |
TypeAnnotationNode.typePath
The path to the annotated type argument, wildcard bound, array element
type, or static outer type within the referenced type.
|
Modifier and Type | Method and Description |
---|---|
AnnotationVisitor |
MethodNode.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
MethodNode.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible) |
AnnotationVisitor |
MethodNode.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
MethodNode.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
FieldNode.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
ClassNode.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Constructor and Description |
---|
LocalVariableAnnotationNode(int api,
int typeRef,
TypePath typePath,
LabelNode[] start,
LabelNode[] end,
int[] index,
String desc)
Constructs a new
LocalVariableAnnotationNode . |
LocalVariableAnnotationNode(int typeRef,
TypePath typePath,
LabelNode[] start,
LabelNode[] end,
int[] index,
String desc)
Constructs a new
LocalVariableAnnotationNode . |
TypeAnnotationNode(int api,
int typeRef,
TypePath typePath,
String desc)
Constructs a new
AnnotationNode . |
TypeAnnotationNode(int typeRef,
TypePath typePath,
String desc)
Constructs a new
AnnotationNode . |
Modifier and Type | Method and Description |
---|---|
Printer |
Textifier.visitClassTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Printer.visitClassTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Class type annotation.
|
ASMifier |
ASMifier.visitClassTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Textifier.visitFieldTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Printer.visitFieldTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Field type annotation.
|
ASMifier |
ASMifier.visitFieldTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
TraceMethodVisitor.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Textifier.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Printer.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Instruction type annotation.
|
AnnotationVisitor |
CheckMethodAdapter.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
ASMifier |
ASMifier.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
TraceMethodVisitor.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible) |
Printer |
Textifier.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible) |
Printer |
Printer.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible)
Local variable type annotation.
|
AnnotationVisitor |
CheckMethodAdapter.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible) |
Printer |
ASMifier.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible) |
Printer |
Textifier.visitMethodTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Printer.visitMethodTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Method type annotation.
|
ASMifier |
ASMifier.visitMethodTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
TraceMethodVisitor.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Textifier.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Printer.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Try catch block type annotation.
|
AnnotationVisitor |
CheckMethodAdapter.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
ASMifier |
ASMifier.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
TraceMethodVisitor.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
TraceFieldVisitor.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
TraceClassVisitor.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Textifier |
Textifier.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Prints a disassembled view of the given type annotation.
|
AnnotationVisitor |
CheckMethodAdapter.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
CheckFieldAdapter.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
CheckClassAdapter.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
ASMifier |
ASMifier.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
ASMifier |
ASMifier.visitTypeAnnotation(String method,
int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Modifier and Type | Method and Description |
---|---|
AnnotationVisitor |
SAXCodeAdapter.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
SAXCodeAdapter.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible) |
AnnotationVisitor |
SAXCodeAdapter.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
SAXFieldAdapter.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
SAXCodeAdapter.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
AnnotationVisitor |
SAXClassAdapter.visitTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Constructor and Description |
---|
SAXAnnotationAdapter(int api,
SAXAdapter sa,
String elementName,
int visible,
String desc,
String name,
int parameter,
int typeRef,
TypePath typePath,
String[] start,
String[] end,
int[] index) |
SAXAnnotationAdapter(SAXAdapter sa,
String elementName,
int visible,
String name,
String desc,
int typeRef,
TypePath typePath) |
SAXAnnotationAdapter(SAXAdapter sa,
String elementName,
int visible,
String name,
String desc,
int typeRef,
TypePath typePath,
String[] start,
String[] end,
int[] index) |