A ClassVisitor ClassVisitor that generates Java class files. More precisely this visitor generates a byte array conforming to the Java class file format. It can be used alone, to generate a Java class "from scratch", or with one or more ClassReader ClassReader and adapter class visit
| 43 | */ |
| 44 | |
| 45 | public class ClassWriter implements ClassVisitor { |
| 46 | |
| 47 | /** |
| 48 | * The type of CONSTANT_Class constant pool items. |
| 49 | */ |
| 50 | |
| 51 | final static int CLASS = 7; |
| 52 | |
| 53 | /** |
| 54 | * The type of CONSTANT_Fieldref constant pool items. |
| 55 | */ |
| 56 | |
| 57 | final static int FIELD = 9; |
| 58 | |
| 59 | /** |
| 60 | * The type of CONSTANT_Methodref constant pool items. |
| 61 | */ |
| 62 | |
| 63 | final static int METH = 10; |
| 64 | |
| 65 | /** |
| 66 | * The type of CONSTANT_InterfaceMethodref constant pool items. |
| 67 | */ |
| 68 | |
| 69 | final static int IMETH = 11; |
| 70 | |
| 71 | /** |
| 72 | * The type of CONSTANT_String constant pool items. |
| 73 | */ |
| 74 | |
| 75 | final static int STR = 8; |
| 76 | |
| 77 | /** |
| 78 | * The type of CONSTANT_Integer constant pool items. |
| 79 | */ |
| 80 | |
| 81 | final static int INT = 3; |
| 82 | |
| 83 | /** |
| 84 | * The type of CONSTANT_Float constant pool items. |
| 85 | */ |
| 86 | |
| 87 | final static int FLOAT = 4; |
| 88 | |
| 89 | /** |
| 90 | * The type of CONSTANT_Long constant pool items. |
| 91 | */ |
| 92 | |
| 93 | final static int LONG = 5; |
| 94 | |
| 95 | /** |
| 96 | * The type of CONSTANT_Double constant pool items. |
| 97 | */ |
| 98 | |
| 99 | final static int DOUBLE = 6; |
| 100 | |
| 101 | /** |
| 102 | * The type of CONSTANT_NameAndType constant pool items. |
nothing calls this directly
no outgoing calls
no test coverage detected