HomeSort by relevance Sort by last modified time
    Searched refs:constPool (Results 1 - 25 of 26) sorted by null

1 2

  /external/javassist/src/main/javassist/bytecode/
FieldInfo.java 30 ConstPool constPool;
38 private FieldInfo(ConstPool cp) {
39 constPool = cp;
53 public FieldInfo(ConstPool cp, String fieldName, String desc) {
60 FieldInfo(ConstPool cp, DataInputStream in) throws IOException {
80 void compact(ConstPool cp) {
84 constPool = cp;
87 void prune(ConstPool cp) {
112 index = constPool.copy(index, cp, null)
    [all...]
ClassFileWriter.java 77 private ConstPoolWriter constPool;
93 constPool = new ConstPoolWriter(output);
94 fields = new FieldWriter(constPool);
95 methods = new MethodWriter(constPool);
102 public ConstPoolWriter getConstPool() { return constPool; }
129 constPool.end();
175 constPool.end();
255 protected ConstPoolWriter constPool;
260 constPool = cp;
274 int nameIndex = constPool.addUtf8Info(name)
    [all...]
AnnotationDefaultAttribute.java 79 public AnnotationDefaultAttribute(ConstPool cp, byte[] info) {
90 public AnnotationDefaultAttribute(ConstPool cp) {
97 AnnotationDefaultAttribute(ConstPool cp, int n, DataInputStream in)
106 public AttributeInfo copy(ConstPool newCp, Map classnames) {
108 = new AnnotationsAttribute.Copier(info, constPool, newCp, classnames);
124 return new AnnotationsAttribute.Parser(info, constPool)
136 * @see javassist.bytecode.annotation.Annotation#createMemberValue(ConstPool, CtClass)
140 AnnotationsWriter writer = new AnnotationsWriter(output, constPool);
Bytecode.java 98 * <ul><pre>ConstPool cp = ...; // constant pool table
110 * @see ConstPool
118 public static final CtClass THIS = ConstPool.THIS;
120 ConstPool constPool;
138 public Bytecode(ConstPool cp, int stacksize, int localvars) {
139 constPool = cp;
155 public Bytecode(ConstPool cp) {
178 public ConstPool getConstPool() { return constPool; }
    [all...]
MethodInfo.java 34 ConstPool constPool;
59 private MethodInfo(ConstPool cp) {
60 constPool = cp;
76 public MethodInfo(ConstPool cp, String methodname, String desc) {
81 descriptor = constPool.addUtf8Info(desc);
84 MethodInfo(ConstPool cp, DataInputStream in) throws IOException {
108 public MethodInfo(ConstPool cp, String methodname, MethodInfo src,
129 void compact(ConstPool cp) {
133 constPool = cp
    [all...]
InnerClassesAttribute.java 31 InnerClassesAttribute(ConstPool cp, int n, DataInputStream in)
37 private InnerClassesAttribute(ConstPool cp, byte[] info) {
46 public InnerClassesAttribute(ConstPool cp) {
74 return constPool.getClassInfo(i);
103 return constPool.getClassInfo(i);
132 return constPool.getUtf8Info(i);
167 int i = constPool.addClassInfo(inner);
168 int o = constPool.addClassInfo(outer);
169 int n = constPool.addUtf8Info(name);
207 public AttributeInfo copy(ConstPool newCp, Map classnames)
    [all...]
ExceptionsAttribute.java 31 ExceptionsAttribute(ConstPool cp, int n, DataInputStream in)
43 private ExceptionsAttribute(ConstPool cp, ExceptionsAttribute src,
54 public ExceptionsAttribute(ConstPool cp) {
69 public AttributeInfo copy(ConstPool newCp, Map classnames) {
82 ConstPool srcCp = srcAttr.constPool;
83 ConstPool destCp = this.constPool;
128 elist[k++] = constPool.getClassInfo(index);
155 ByteArray.write16bit(constPool.addClassInfo(elist[i])
    [all...]
ClassFile.java 35 ConstPool constPool;
124 constPool = new ConstPool(classname);
125 thisClass = constPool.getThisClassInfo();
138 attributes.add(new SourceFileAttribute(constPool,
144 this.superClass = constPool.addClassInfo(superclass);
148 this.superClass = constPool.addClassInfo("java.lang.Object");
167 ConstPool cp = compact0();
183 constPool = cp
    [all...]
CodeAnalyzer.java 22 private ConstPool constPool;
27 constPool = ca.getConstPool();
41 constPool = codeAttr.getConstPool();
230 desc = constPool.getMethodrefType(ci.u16bitAt(index + 1));
234 desc = constPool.getMethodrefType(ci.u16bitAt(index + 1));
238 desc = constPool.getInterfaceMethodrefType(
259 String desc = constPool.getFieldrefType(ci.u16bitAt(index + 1));
ParameterAnnotationsAttribute.java 67 public ParameterAnnotationsAttribute(ConstPool cp, String attrname,
83 public ParameterAnnotationsAttribute(ConstPool cp, String attrname) {
90 ParameterAnnotationsAttribute(ConstPool cp, int n, DataInputStream in)
106 public AttributeInfo copy(ConstPool newCp, Map classnames) {
107 Copier copier = new Copier(info, constPool, newCp, classnames);
132 return new Parser(info, constPool).parseParameters();
150 AnnotationsWriter writer = new AnnotationsWriter(output, constPool);
AttributeInfo.java 34 protected ConstPool constPool;
38 protected AttributeInfo(ConstPool cp, int attrname, byte[] attrinfo) {
39 constPool = cp;
44 protected AttributeInfo(ConstPool cp, String attrname) {
56 public AttributeInfo(ConstPool cp, String attrname, byte[] attrinfo) {
60 protected AttributeInfo(ConstPool cp, int n, DataInputStream in)
63 constPool = cp;
71 static AttributeInfo read(ConstPool cp, DataInputStream in)
128 return constPool.getUtf8Info(name)
    [all...]
ExceptionTable.java 42 private ConstPool constPool;
50 public ExceptionTable(ConstPool cp) {
51 constPool = cp;
55 ExceptionTable(ConstPool cp, DataInputStream in) throws IOException {
56 constPool = cp;
238 public ExceptionTable copy(ConstPool newCp, Map classnames) {
240 ConstPool srcCp = constPool;
AnnotationsAttribute.java 87 * ConstPool cp = cf.getConstPool();
124 public AnnotationsAttribute(ConstPool cp, String attrname, byte[] info) {
139 public AnnotationsAttribute(ConstPool cp, String attrname) {
146 AnnotationsAttribute(ConstPool cp, int n, DataInputStream in)
162 public AttributeInfo copy(ConstPool newCp, Map classnames) {
163 Copier copier = new Copier(info, constPool, newCp, classnames);
226 return new Parser(info, constPool).parseAnnotations();
242 AnnotationsWriter writer = new AnnotationsWriter(output, constPool);
409 ConstPool cpool;
421 Renamer(byte[] info, ConstPool cp, Map map)
    [all...]
StackMapTable.java 45 StackMapTable(ConstPool cp, byte[] newInfo) {
49 StackMapTable(ConstPool cp, int name_id, DataInputStream in)
64 public AttributeInfo copy(ConstPool newCp, Map classnames)
69 new Copier(this.constPool, info, newCp).doit());
401 private ConstPool srcPool, destPool;
403 public Copier(ConstPool src, byte[] data, ConstPool dest) {
440 * @see ConstPool
557 public StackMapTable toStackMapTable(ConstPool cp) {
  /external/javassist/src/main/javassist/convert/
TransformFieldAccess.java 31 private ConstPool constPool;
42 this.constPool = null;
45 public void initialize(ConstPool cp, CodeAttribute attr) {
46 if (constPool != cp)
57 CodeIterator iterator, ConstPool cp)
72 constPool = cp;
TransformCall.java 32 protected ConstPool constPool;
49 constPool = null;
53 public void initialize(ConstPool cp, CodeAttribute attr) {
54 if (constPool != cp)
66 ConstPool cp) throws BadBytecode
108 int typedesc, ConstPool cp) throws BadBytecode
123 constPool = cp;
TransformBefore.java 44 public void initialize(ConstPool cp, CodeAttribute attr) {
52 int typedesc, ConstPool cp) throws BadBytecode
60 constPool = cp;
82 protected void makeCode(CtClass[] paramTypes, ConstPool cp) {
  /external/javassist/src/main/javassist/expr/
MethodCall.java 34 private int getNameAndType(ConstPool cp) {
85 ConstPool cp = getConstPool();
105 ConstPool cp = getConstPool();
128 ConstPool cp = getConstPool();
180 ConstPool constPool = getConstPool();
189 classname = constPool.getInterfaceMethodrefClassName(index);
190 methodname = constPool.getInterfaceMethodrefName(index);
191 signature = constPool.getInterfaceMethodrefType(index);
196 classname = constPool.getMethodrefClassName(index)
    [all...]
NewExpr.java 43 private int getNameAndType(ConstPool cp) {
104 ConstPool constPool = getConstPool();
106 return constPool.getMethodrefType(methodIndex);
113 ConstPool cp = getConstPool();
133 ConstPool cp = getConstPool();
176 ConstPool constPool = getConstPool();
180 String signature = constPool.getMethodrefType(methodIndex);
FieldAccess.java 151 ConstPool constPool = getConstPool();
161 = Descriptor.toCtClass(constPool.getFieldrefType(index),
175 jc.recordParams(constPool.getFieldrefClassName(index), params,
NewArray.java 174 ConstPool constPool = getConstPool();
189 desc = constPool.getClassInfo(index);
199 desc = constPool.getClassInfo(index);
Cast.java 64 ConstPool cp = getConstPool();
91 ConstPool constPool = getConstPool();
Instanceof.java 67 ConstPool cp = getConstPool();
94 ConstPool constPool = getConstPool();
  /external/javassist/src/main/javassist/bytecode/analysis/
Executor.java 22 import javassist.bytecode.ConstPool;
33 private final ConstPool constPool;
40 public Executor(ClassPool classPool, ConstPool constPool) {
41 this.constPool = constPool;
578 frame.push(resolveClassInfo(constPool.getClassInfo(iter.u16bitAt(pos + 1))));
598 frame.push(typeFromDesc(constPool.getClassInfo(iter.u16bitAt(pos + 1))));
704 String desc = constPool.getFieldrefType(index)
    [all...]
Analyzer.java 27 import javassist.bytecode.ConstPool;
213 ConstPool constPool = method.getConstPool();
222 type = index == 0 ? Type.THROWABLE : Type.get(classes.get(constPool.getClassInfo(index)));

Completed in 215 milliseconds

1 2