| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final List | |
| private final List | |
| private final String | |
| private final List | |
| public static final String[] | |
| private final List | |
| private final List | |
| private String | |
| private String | |
| private String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public FieldDefinition | Returns: the new field definition for further modificationthe field name fieldName, int the modifier bitmask, made by OR'ing constants from ASM's modifiers, String Opcodes interfacethe field signature, on standard JVM notation signature, Object the default value (null for JVM default) value)Defines a new field on the target class |
| public void | defineMethod(String
the method name methodName, int the modifier bitmask, made by OR'ing constants from ASM's modifiers, String Opcodes interfacethe method signature, on standard JVM notation signature, CodeBlock the method body methodBody)Defines a new method on the target class |
| public int | |
| public List | |
| public String | |
| public String | |
| public void | |
| public void | |
| public void | |
| public void | |
| public byte[] | |
| public byte[] | Returns: the bytecode representation of this classthe desired JDK version version)Convert this class representation to JDK bytecode |
| access | back to summary |
|---|---|
| private int access | |
| annotations | back to summary |
|---|---|
| private final List<VisibleAnnotation> annotations | |
| childClasses | back to summary |
|---|---|
| private final List<JiteClass. | |
| className | back to summary |
|---|---|
| private final String className | |
| fields | back to summary |
|---|---|
| private final List<FieldDefinition> fields | |
| INTERFACES | back to summary |
|---|---|
| public static final String[] INTERFACES | |
| interfaces | back to summary |
|---|---|
| private final List<String> interfaces | |
| methods | back to summary |
|---|---|
| private final List<MethodDefinition> methods | |
| parentClassName | back to summary |
|---|---|
| private String parentClassName | |
| sourceDebug | back to summary |
|---|---|
| private String sourceDebug | |
| sourceFile | back to summary |
|---|---|
| private String sourceFile | |
| superClassName | back to summary |
|---|---|
| private final String superClassName | |
| JiteClass | back to summary |
|---|---|
| public JiteClass(String className) Creates a new class representation
| |
| JiteClass | back to summary |
|---|---|
| public JiteClass(String className, String[] interfaces) Creates a new class representation | |
| JiteClass | back to summary |
|---|---|
| public JiteClass(String className, String superClassName, String[] interfaces) Creates a new class representation | |
| addAnnotation | back to summary |
|---|---|
| public void addAnnotation(VisibleAnnotation annotation) | |
| addChildClass | back to summary |
|---|---|
| public void addChildClass(JiteClass child) | |
| addChildClass | back to summary |
|---|---|
| public void addChildClass(String innerName, JiteClass child) | |
| defineDefaultConstructor | back to summary |
|---|---|
| public void defineDefaultConstructor() Defines a default constructor on the target class | |
| defineDefaultConstructor | back to summary |
|---|---|
| public void defineDefaultConstructor(int access) | |
| defineField | back to summary |
|---|---|
| public FieldDefinition defineField(String fieldName, int modifiers, String signature, Object value) Defines a new field on the target class
| |
| defineMethod | back to summary |
|---|---|
| public void defineMethod(String methodName, int modifiers, String signature, CodeBlock methodBody) Defines a new method on the target class | |
| getAccess | back to summary |
|---|---|
| public int getAccess() | |
| getChildClasses | back to summary |
|---|---|
| public List | |
| getClassName | back to summary |
|---|---|
| public String getClassName() | |
| getParentClassName | back to summary |
|---|---|
| public String getParentClassName() | |
| setAccess | back to summary |
|---|---|
| public void setAccess(int access) | |
| setParentClassName | back to summary |
|---|---|
| public void setParentClassName(String parentClassName) | |
| setSourceDebug | back to summary |
|---|---|
| public void setSourceDebug(String sourceDebug) | |
| setSourceFile | back to summary |
|---|---|
| public void setSourceFile(String sourceFile) | |
| toBytes | back to summary |
|---|---|
| public byte[] toBytes() Convert this class representation to JDK bytecode
| |
| toBytes | back to summary |
|---|---|
| public byte[] toBytes(JDKVersion version) Convert this class representation to JDK bytecode
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String | |
| public String | |
| public JiteClass |
| innerName | back to summary |
|---|---|
| public final String innerName | |
| jiteClass | back to summary |
|---|---|
| public final JiteClass jiteClass | |
| ChildEntry | back to summary |
|---|---|
| public ChildEntry(String innerName, JiteClass jiteClass) | |
| getAccess | back to summary |
|---|---|
| public int getAccess() | |
| getClassName | back to summary |
|---|---|
| public String getClassName() | |
| getInnerName | back to summary |
|---|---|
| public String getInnerName() | |
| getJiteClass | back to summary |
|---|---|
| public JiteClass getJiteClass() | |