Class ProbingClassReader.ClassWriterContainer<T extends org.objectweb.asm.ClassVisitor>
java.lang.Object
codes.rafael.asmjdkbridge.ProbingClassReader.ClassWriterContainer<T>
- Type Parameters:
T- The type of the class visitor that represents the class writer.
- Direct Known Subclasses:
ProbingClassReader.ClassWriterContainer.OfAsm, ProbingClassReader.ClassWriterContainer.OfJdk
- Enclosing class:
ProbingClassReader
public abstract static class ProbingClassReader.ClassWriterContainer<T extends org.objectweb.asm.ClassVisitor>
extends Object
A container for a class writer.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.ClassVisitorReturns the underlying ASM class visitor.abstract byte[]Returns the byte array that is created by this class writer.
-
Field Details
-
delegate
-
-
Constructor Details
-
ClassWriterContainer
ClassWriterContainer(T delegate)
-
-
Method Details
-
getClassVisitor
public org.objectweb.asm.ClassVisitor getClassVisitor()Returns the underlying ASM class visitor.- Returns:
- The underlying ASM class visitor.
-
toByteArray
public abstract byte[] toByteArray()Returns the byte array that is created by this class writer.- Returns:
- A byte array that represents the generated class file.
-