java.lang.Object
org.eclipse.persistence.asm.ASMFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationVisitor
createAnnotationVisitor
(int api) static AnnotationVisitor
createAnnotationVisitor
(int api, AnnotationVisitor annotationVisitor) static ClassReader
createClassReader
(byte[] classFileBuffer) static ClassReader
createClassReader
(byte[] classFileBuffer, int classFileOffset, int classFileLength) static ClassReader
createClassReader
(InputStream inputStream) static ClassReader
createClassReader
(InputStream inputStream, boolean checkClassVersion) static ClassVisitor
createClassVisitor
(int api) static ClassVisitor
createClassVisitor
(int api, ClassVisitor classVisitor) static ClassWriter
static ClassWriter
createClassWriter
(int flags) static ClassWriter
createClassWriter
(ClassReader classReader, int flags) static FieldVisitor
createFieldVisitor
(int api) static FieldVisitor
createFieldVisitor
(int api, FieldVisitor fieldVisitor) static Label
static MethodVisitor
createMethodVisitor
(int api) static MethodVisitor
createMethodVisitor
(int api, MethodVisitor methodVisitor) static SerialVersionUIDAdder
createSerialVersionUIDAdder
(ClassVisitor classVisitor) static Type
createType
(Class<?> clazz) static Type
createType
(String typeDescriptor) static Type
static String
-
Field Details
-
ASM_SERVICE_ECLIPSELINK
- See Also:
-
ASM_SERVICE_OW2
- See Also:
-
JAVA_CLASS_LATEST_VERSION
public static final int JAVA_CLASS_LATEST_VERSION
-
-
Constructor Details
-
ASMFactory
public ASMFactory()
-
-
Method Details
-
createAnnotationVisitor
-
createAnnotationVisitor
public static AnnotationVisitor createAnnotationVisitor(int api, AnnotationVisitor annotationVisitor) -
createFieldVisitor
-
createFieldVisitor
-
createMethodVisitor
-
createMethodVisitor
-
createClassReader
- Throws:
IOException
-
createClassReader
- Throws:
IOException
-
createClassReader
public static ClassReader createClassReader(byte[] classFileBuffer, int classFileOffset, int classFileLength) throws IOException - Throws:
IOException
-
createClassReader
public static ClassReader createClassReader(InputStream inputStream, boolean checkClassVersion) throws IOException - Throws:
IOException
-
createClassWriter
-
createClassWriter
-
createClassWriter
-
createClassVisitor
-
createClassVisitor
-
createType
-
createType
-
createVoidType
-
createLabel
-
createSerialVersionUIDAdder
-
getAsmService
-