| Modifier and Type | Field and Description |
|---|---|
| private ClassLoader |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getCommonSuperClass(final String type1, final String type2)
Implements abstract org. |
| public byte[] | |
| private StringBuilder | Returns: a StringBuilder containing the ancestor classes of 'type', separated by ';'. The returned string has the following format: ";type1;type2 ... ;typeN", where type1 is 'type', and typeN is a direct subclass of Object. If 'type' is Object, the returned string is empty.the internal name of a class or interface. type, ClassReader the ClassReader corresponding to 'type'. info)Returns the internal names of the ancestor classes of the given type. |
| private boolean | Returns: true if 'type' implements directly or indirectly 'itf'the internal name of a class or interface. type, ClassReader the ClassReader corresponding to 'type'. info, String the internal name of a interface. itf)Returns true if the given type implements the given interface. |
| private ClassReader | |
| public <T> T | |
| public void | |
| public AnnotationVisitor | visitAnnotation(String descriptor, boolean visible)
Overrides org. |
| l | back to summary |
|---|---|
| private ClassLoader l | |
| ComputeClassWriter | back to summary |
|---|---|
| public ComputeClassWriter(ClassLoader loader, final int flags) | |
| getCommonSuperClass | back to summary |
|---|---|
| public String getCommonSuperClass(final String type1, final String type2) Implements abstract org.
| |
| toByteArray | back to summary |
|---|---|
| public byte[] toByteArray() Overrides org.
| |
| typeAncestors | back to summary |
|---|---|
| private StringBuilder typeAncestors(String type, ClassReader info) throws IOException Returns the internal names of the ancestor classes of the given type.
| |
| typeImplements | back to summary |
|---|---|
| private boolean typeImplements(String type, ClassReader info, String itf) throws IOException Returns true if the given type implements the given interface.
| |
| typeInfo | back to summary |
|---|---|
| private ClassReader typeInfo(final String type) throws IOException Returns a ClassReader corresponding to the given class or interface.
| |
| unwrap | back to summary |
|---|---|
| public <T> T unwrap() Implements abstract org.
| |
| visit | back to summary |
|---|---|
| public void visit(int access, String name, String signature, String superName, String[] interfaces) Overrides org.
| |
| visitAnnotation | back to summary |
|---|---|
| public AnnotationVisitor visitAnnotation(String descriptor, boolean visible) Overrides org.
| |