Searched refs:constPool (Results 1 - 25 of 26) sorted by relevance

12

/external/javassist/src/main/javassist/bytecode/
H A DFieldInfo.java30 ConstPool constPool; field in class:FieldInfo
39 constPool = cp;
84 constPool = cp;
112 index = constPool.copy(index, cp, null);
119 constPool = cp;
127 return constPool;
135 cachedName = constPool.getUtf8Info(name);
144 name = constPool.addUtf8Info(newName);
172 return constPool.getUtf8Info(descriptor);
182 descriptor = constPool
[all...]
H A DClassFileWriter.java77 private ConstPoolWriter constPool; field in class:ClassFileWriter
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; field in class:ClassFileWriter.FieldWriter
260 constPool = cp;
274 int nameIndex = constPool
313 protected ConstPoolWriter constPool; field in class:ClassFileWriter.MethodWriter
[all...]
H A DAnnotationDefaultAttribute.java108 = new AnnotationsAttribute.Copier(info, constPool, newCp, classnames);
124 return new AnnotationsAttribute.Parser(info, constPool)
140 AnnotationsWriter writer = new AnnotationsWriter(output, constPool);
H A DBytecode.java120 ConstPool constPool; field in class:Bytecode
139 constPool = cp;
178 public ConstPool getConstPool() { return constPool; }
189 return new CodeAttribute(constPool, maxStack, maxLocals,
289 constPool.addClassInfo(type));
300 constPool.addClassInfo(type));
509 addLdc(constPool.addIntegerInfo(n));
682 addLdc(constPool.addFloatInfo(f));
814 addIndex(constPool.addClassInfo(c));
824 addIndex(constPool
[all...]
H A DMethodInfo.java34 ConstPool constPool; field in class:MethodInfo
60 constPool = cp;
81 descriptor = constPool.addUtf8Info(desc);
133 constPool = cp;
186 constPool = cp;
194 cachedName = constPool.getUtf8Info(name);
203 name = constPool.addUtf8Info(newName);
220 return constPool;
261 return constPool.getUtf8Info(descriptor);
271 descriptor = constPool
[all...]
H A DInnerClassesAttribute.java74 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);
H A DExceptionsAttribute.java82 ConstPool srcCp = srcAttr.constPool;
83 ConstPool destCp = this.constPool;
128 elist[k++] = constPool.getClassInfo(index);
155 ByteArray.write16bit(constPool.addClassInfo(elist[i]),
H A DClassFile.java35 ConstPool constPool; field in class:ClassFile
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");
183 constPool = cp;
197 = cp.addClassInfo(constPool.getClassInfo(interfaces[i]));
248 constPool = cp;
255 return constPool;
[all...]
H A DCodeAnalyzer.java22 private ConstPool constPool; field in class:CodeAnalyzer
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));
H A DParameterAnnotationsAttribute.java107 Copier copier = new Copier(info, constPool, newCp, classnames);
132 return new Parser(info, constPool).parseParameters();
150 AnnotationsWriter writer = new AnnotationsWriter(output, constPool);
H A DAttributeInfo.java34 protected ConstPool constPool; field in class:AttributeInfo
39 constPool = cp;
63 constPool = cp;
128 return constPool.getUtf8Info(name);
134 public ConstPool getConstPool() { return constPool; }
H A DExceptionTable.java42 private ConstPool constPool; field in class:ExceptionTable
51 constPool = cp;
56 constPool = cp;
240 ConstPool srcCp = constPool;
H A DAnnotationsAttribute.java163 Copier copier = new Copier(info, constPool, newCp, classnames);
226 return new Parser(info, constPool).parseAnnotations();
242 AnnotationsWriter writer = new AnnotationsWriter(output, constPool);
H A DStackMapTable.java69 new Copier(this.constPool, info, newCp).doit());
/external/javassist/src/main/javassist/convert/
H A DTransformFieldAccess.java31 private ConstPool constPool; field in class:TransformFieldAccess
42 this.constPool = null;
46 if (constPool != cp)
72 constPool = cp;
H A DTransformCall.java32 protected ConstPool constPool; field in class:TransformCall
49 constPool = null;
54 if (constPool != cp)
123 constPool = cp;
H A DTransformBefore.java60 constPool = cp;
/external/javassist/src/main/javassist/expr/
H A DMethodCall.java180 ConstPool constPool = getConstPool();
189 classname = constPool.getInterfaceMethodrefClassName(index);
190 methodname = constPool.getInterfaceMethodrefName(index);
191 signature = constPool.getInterfaceMethodrefType(index);
196 classname = constPool.getMethodrefClassName(index);
197 methodname = constPool.getMethodrefName(index);
198 signature = constPool.getMethodrefType(index);
H A DNewExpr.java104 ConstPool constPool = getConstPool();
106 return constPool.getMethodrefType(methodIndex);
176 ConstPool constPool = getConstPool();
180 String signature = constPool.getMethodrefType(methodIndex);
H A DFieldAccess.java151 ConstPool constPool = getConstPool();
161 = Descriptor.toCtClass(constPool.getFieldrefType(index),
175 jc.recordParams(constPool.getFieldrefClassName(index), params,
H A DNewArray.java174 ConstPool constPool = getConstPool();
189 desc = constPool.getClassInfo(index);
199 desc = constPool.getClassInfo(index);
H A DCast.java91 ConstPool constPool = getConstPool();
H A DInstanceof.java94 ConstPool constPool = getConstPool();
/external/javassist/src/main/javassist/bytecode/analysis/
H A DExecutor.java33 private final ConstPool constPool; field in class:Executor
40 public Executor(ClassPool classPool, ConstPool constPool) { argument
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);
708 Type objectType = resolveClassInfo(constPool.getFieldrefClassName(index));
716 String desc = constPool.getInterfaceMethodrefType(index);
723 String classInfo = constPool
[all...]
H A DAnalyzer.java213 ConstPool constPool = method.getConstPool();
222 type = index == 0 ? Type.THROWABLE : Type.get(classes.get(constPool.getClassInfo(index)));

Completed in 984 milliseconds

12