Home
last modified time | relevance | path

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

12

/external/javassist/src/main/javassist/bytecode/
DBytecode.java120 ConstPool constPool; field in Bytecode
139 constPool = cp; in Bytecode()
178 public ConstPool getConstPool() { return constPool; } in getConstPool()
189 return new CodeAttribute(constPool, maxStack, maxLocals, in toCodeAttribute()
289 constPool.addClassInfo(type)); in addExceptionHandler()
300 constPool.addClassInfo(type)); in addExceptionHandler()
509 addLdc(constPool.addIntegerInfo(n)); in addIconst()
682 addLdc(constPool.addFloatInfo(f)); in addFconst()
814 addIndex(constPool.addClassInfo(c)); in addCheckcast()
824 addIndex(constPool.addClassInfo(classname)); in addCheckcast()
[all …]
DClassFileWriter.java77 private ConstPoolWriter constPool; field in ClassFileWriter
93 constPool = new ConstPoolWriter(output); in ClassFileWriter()
94 fields = new FieldWriter(constPool); in ClassFileWriter()
95 methods = new MethodWriter(constPool); in ClassFileWriter()
102 public ConstPoolWriter getConstPool() { return constPool; } in getConstPool()
129 constPool.end(); in end()
175 constPool.end(); in end()
255 protected ConstPoolWriter constPool; field in ClassFileWriter.FieldWriter
260 constPool = cp; in FieldWriter()
274 int nameIndex = constPool.addUtf8Info(name); in add()
[all …]
DFieldInfo.java30 ConstPool constPool; field in FieldInfo
39 constPool = cp; in FieldInfo()
84 constPool = cp; in compact()
112 index = constPool.copy(index, cp, null); in prune()
119 constPool = cp; in prune()
127 return constPool; in getConstPool()
135 cachedName = constPool.getUtf8Info(name); in getName()
144 name = constPool.addUtf8Info(newName); in setName()
172 return constPool.getUtf8Info(descriptor); in getDescriptor()
182 descriptor = constPool.addUtf8Info(desc); in setDescriptor()
[all …]
DMethodInfo.java34 ConstPool constPool; field in MethodInfo
60 constPool = cp; in MethodInfo()
81 descriptor = constPool.addUtf8Info(desc); in MethodInfo()
133 constPool = cp; in compact()
186 constPool = cp; in prune()
194 cachedName = constPool.getUtf8Info(name); in getName()
203 name = constPool.addUtf8Info(newName); in setName()
220 return constPool; in getConstPool()
261 return constPool.getUtf8Info(descriptor); in getDescriptor()
271 descriptor = constPool.addUtf8Info(desc); in setDescriptor()
[all …]
DClassFile.java35 ConstPool constPool; field in ClassFile
124 constPool = new ConstPool(classname); in ClassFile()
125 thisClass = constPool.getThisClassInfo(); in ClassFile()
138 attributes.add(new SourceFileAttribute(constPool, in ClassFile()
144 this.superClass = constPool.addClassInfo(superclass); in initSuperclass()
148 this.superClass = constPool.addClassInfo("java.lang.Object"); in initSuperclass()
183 constPool = cp; in compact()
197 = cp.addClassInfo(constPool.getClassInfo(interfaces[i])); in compact0()
248 constPool = cp; in prune()
255 return constPool; in getConstPool()
[all …]
DInnerClassesAttribute.java74 return constPool.getClassInfo(i); in innerClass()
103 return constPool.getClassInfo(i); in outerClass()
132 return constPool.getUtf8Info(i); in innerName()
167 int i = constPool.addClassInfo(inner); in append()
168 int o = constPool.addClassInfo(outer); in append()
169 int n = constPool.addUtf8Info(name); in append()
DCodeAnalyzer.java22 private ConstPool constPool; field in CodeAnalyzer
27 constPool = ca.getConstPool(); in CodeAnalyzer()
41 constPool = codeAttr.getConstPool(); in computeMaxStack()
230 desc = constPool.getMethodrefType(ci.u16bitAt(index + 1)); in visitInst()
234 desc = constPool.getMethodrefType(ci.u16bitAt(index + 1)); in visitInst()
238 desc = constPool.getInterfaceMethodrefType( in visitInst()
259 String desc = constPool.getFieldrefType(ci.u16bitAt(index + 1)); in getFieldSize()
DExceptionsAttribute.java82 ConstPool srcCp = srcAttr.constPool; in copyFrom()
83 ConstPool destCp = this.constPool; in copyFrom()
128 elist[k++] = constPool.getClassInfo(index); in getExceptions()
155 ByteArray.write16bit(constPool.addClassInfo(elist[i]), in setExceptions()
DAnnotationDefaultAttribute.java108 = new AnnotationsAttribute.Copier(info, constPool, newCp, classnames); in copy()
124 return new AnnotationsAttribute.Parser(info, constPool) in getDefaultValue()
140 AnnotationsWriter writer = new AnnotationsWriter(output, constPool); in setDefaultValue()
DAttributeInfo.java34 protected ConstPool constPool; field in AttributeInfo
39 constPool = cp; in AttributeInfo()
63 constPool = cp; in AttributeInfo()
128 return constPool.getUtf8Info(name); in getName()
134 public ConstPool getConstPool() { return constPool; } in getConstPool()
DParameterAnnotationsAttribute.java107 Copier copier = new Copier(info, constPool, newCp, classnames); in copy()
132 return new Parser(info, constPool).parseParameters(); in getAnnotations()
150 AnnotationsWriter writer = new AnnotationsWriter(output, constPool); in setAnnotations()
DExceptionTable.java42 private ConstPool constPool; field in ExceptionTable
51 constPool = cp; in ExceptionTable()
56 constPool = cp; in ExceptionTable()
240 ConstPool srcCp = constPool; in copy()
DAnnotationsAttribute.java163 Copier copier = new Copier(info, constPool, newCp, classnames); in copy()
226 return new Parser(info, constPool).parseAnnotations(); in getAnnotations()
242 AnnotationsWriter writer = new AnnotationsWriter(output, constPool); in setAnnotations()
/external/javassist/src/main/javassist/expr/
DMethodCall.java180 ConstPool constPool = getConstPool(); in replace() local
189 classname = constPool.getInterfaceMethodrefClassName(index); in replace()
190 methodname = constPool.getInterfaceMethodrefName(index); in replace()
191 signature = constPool.getInterfaceMethodrefType(index); in replace()
196 classname = constPool.getMethodrefClassName(index); in replace()
197 methodname = constPool.getMethodrefName(index); in replace()
198 signature = constPool.getMethodrefType(index); in replace()
DNewExpr.java104 ConstPool constPool = getConstPool(); in getSignature() local
106 return constPool.getMethodrefType(methodIndex); in getSignature()
176 ConstPool constPool = getConstPool(); in replace() local
180 String signature = constPool.getMethodrefType(methodIndex); in replace()
DNewArray.java174 ConstPool constPool = getConstPool(); in replace2() local
189 desc = constPool.getClassInfo(index); in replace2()
199 desc = constPool.getClassInfo(index); in replace2()
DFieldAccess.java151 ConstPool constPool = getConstPool(); in replace() local
161 = Descriptor.toCtClass(constPool.getFieldrefType(index), in replace()
175 jc.recordParams(constPool.getFieldrefClassName(index), params, in replace()
DInstanceof.java94 ConstPool constPool = getConstPool(); in replace() local
DCast.java91 ConstPool constPool = getConstPool(); in replace() local
/external/javassist/src/main/javassist/convert/
DTransformFieldAccess.java31 private ConstPool constPool; field in TransformFieldAccess
42 this.constPool = null; in TransformFieldAccess()
46 if (constPool != cp) in initialize()
72 constPool = cp; in transform()
DTransformCall.java32 protected ConstPool constPool; field in TransformCall
49 constPool = null; in TransformCall()
54 if (constPool != cp) in initialize()
123 constPool = cp; in match()
DTransformBefore.java60 constPool = cp; in match()
/external/javassist/src/main/javassist/bytecode/analysis/
DExecutor.java33 private final ConstPool constPool; field in Executor
40 public Executor(ClassPool classPool, ConstPool constPool) { in Executor() argument
41 this.constPool = constPool; in Executor()
578 frame.push(resolveClassInfo(constPool.getClassInfo(iter.u16bitAt(pos + 1)))); in execute()
598 frame.push(typeFromDesc(constPool.getClassInfo(iter.u16bitAt(pos + 1)))); in execute()
704 String desc = constPool.getFieldrefType(index); in evalGetField()
708 Type objectType = resolveClassInfo(constPool.getFieldrefClassName(index)); in evalGetField()
716 String desc = constPool.getInterfaceMethodrefType(index); in evalInvokeIntfMethod()
723 String classInfo = constPool.getInterfaceMethodrefClassName(index); in evalInvokeIntfMethod()
733 String desc = constPool.getMethodrefType(index); in evalInvokeMethod()
[all …]
DAnalyzer.java213 ConstPool constPool = method.getConstPool(); in buildExceptionInfo() local
222 … type = index == 0 ? Type.THROWABLE : Type.get(classes.get(constPool.getClassInfo(index))); in buildExceptionInfo()
/external/robolectric/lib/main/
Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/ ...

12