Home
last modified time | relevance | path

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

12

/external/javassist/src/main/javassist/bytecode/
DBytecode.java124 ConstPool constPool; field in Bytecode
143 constPool = cp; in Bytecode()
183 public ConstPool getConstPool() { return constPool; } in getConstPool()
194 return new CodeAttribute(constPool, maxStack, maxLocals, in toCodeAttribute()
294 constPool.addClassInfo(type)); in addExceptionHandler()
305 constPool.addClassInfo(type)); in addExceptionHandler()
518 addLdc(constPool.addIntegerInfo(n)); in addIconst()
691 addLdc(constPool.addFloatInfo(f)); in addFconst()
823 addIndex(constPool.addClassInfo(c)); in addCheckcast()
833 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.java40 ConstPool constPool; field in FieldInfo
49 constPool = cp; in FieldInfo()
95 constPool = cp; in compact()
123 index = constPool.copy(index, cp, null); in prune()
130 constPool = cp; in prune()
138 return constPool; in getConstPool()
146 cachedName = constPool.getUtf8Info(name); in getName()
155 name = constPool.addUtf8Info(newName); in setName()
183 return constPool.getUtf8Info(descriptor); in getDescriptor()
193 descriptor = constPool.addUtf8Info(desc); in setDescriptor()
[all …]
DClassFile.java61 ConstPool constPool; field in ClassFile
201 constPool = new ConstPool(classname); in ClassFile()
202 thisClass = constPool.getThisClassInfo(); in ClassFile()
215 attributes.add(new SourceFileAttribute(constPool, in ClassFile()
221 this.superClass = constPool.addClassInfo(superclass); in initSuperclass()
225 this.superClass = constPool.addClassInfo("java.lang.Object"); in initSuperclass()
248 constPool = cp; in compact()
261 = cp.addClassInfo(constPool.getClassInfo(interfaces[i])); in compact0()
303 constPool = cp; in prune()
310 return constPool; in getConstPool()
[all …]
DMethodInfo.java57 ConstPool constPool; field in MethodInfo
83 constPool = cp; in MethodInfo()
104 descriptor = constPool.addUtf8Info(desc); in MethodInfo()
158 constPool = cp; in compact()
211 constPool = cp; in prune()
219 cachedName = constPool.getUtf8Info(name); in getName()
228 name = constPool.addUtf8Info(newName); in setName()
245 return constPool; in getConstPool()
286 return constPool.getUtf8Info(descriptor); in getDescriptor()
296 descriptor = constPool.addUtf8Info(desc); in setDescriptor()
[all …]
DCodeAnalyzer.java23 private ConstPool constPool; field in CodeAnalyzer
28 constPool = ca.getConstPool(); in CodeAnalyzer()
42 constPool = codeAttr.getConstPool(); in computeMaxStack()
231 desc = constPool.getMethodrefType(ci.u16bitAt(index + 1)); in visitInst()
235 desc = constPool.getMethodrefType(ci.u16bitAt(index + 1)); in visitInst()
239 desc = constPool.getInterfaceMethodrefType( in visitInst()
244 desc = constPool.getInvokeDynamicType(ci.u16bitAt(index + 1)); in visitInst()
264 String desc = constPool.getFieldrefType(ci.u16bitAt(index + 1)); in getFieldSize()
DInnerClassesAttribute.java76 return constPool.getClassInfo(i); in innerClass()
104 return constPool.getClassInfo(i); in outerClass()
132 return constPool.getUtf8Info(i); in innerName()
183 int i = constPool.addClassInfo(inner); in append()
184 int o = constPool.addClassInfo(outer); in append()
185 int n = constPool.addUtf8Info(name); in append()
DExceptionsAttribute.java84 ConstPool srcCp = srcAttr.constPool; in copyFrom()
85 ConstPool destCp = this.constPool; in copyFrom()
130 elist[k++] = constPool.getClassInfo(index); in getExceptions()
157 ByteArray.write16bit(constPool.addClassInfo(elist[i]), in setExceptions()
DAnnotationDefaultAttribute.java110 = new AnnotationsAttribute.Copier(info, constPool, newCp, classnames); in copy()
126 return new AnnotationsAttribute.Parser(info, constPool) in getDefaultValue()
142 AnnotationsWriter writer = new AnnotationsWriter(output, constPool); in setDefaultValue()
DExceptionTable.java44 private ConstPool constPool; field in ExceptionTable
53 constPool = cp; in ExceptionTable()
58 constPool = cp; in ExceptionTable()
234 ConstPool srcCp = constPool; in copy()
DAttributeInfo.java38 protected ConstPool constPool; field in AttributeInfo
43 constPool = cp; in AttributeInfo()
67 constPool = cp; in AttributeInfo()
145 return constPool.getUtf8Info(name); in getName()
151 public ConstPool getConstPool() { return constPool; } in getConstPool()
DParameterAnnotationsAttribute.java110 Copier copier = new Copier(info, constPool, newCp, classnames); in copy()
135 return new Parser(info, constPool).parseParameters(); in getAnnotations()
153 AnnotationsWriter writer = new AnnotationsWriter(output, constPool); in setAnnotations()
DAnnotationsAttribute.java181 Copier copier = new Copier(info, constPool, newCp, classnames); in copy()
270 return new Parser(info, constPool).parseAnnotations(); in getAnnotations()
286 AnnotationsWriter writer = new AnnotationsWriter(output, constPool); in setAnnotations()
/external/javassist/src/main/javassist/expr/
DMethodCall.java197 ConstPool constPool = getConstPool(); in replace() local
206 classname = constPool.getInterfaceMethodrefClassName(index); in replace()
207 methodname = constPool.getInterfaceMethodrefName(index); in replace()
208 signature = constPool.getInterfaceMethodrefType(index); in replace()
213 classname = constPool.getMethodrefClassName(index); in replace()
214 methodname = constPool.getMethodrefName(index); in replace()
215 signature = constPool.getMethodrefType(index); in replace()
DNewExpr.java124 ConstPool constPool = getConstPool(); in getSignature() local
126 return constPool.getMethodrefType(methodIndex); in getSignature()
199 ConstPool constPool = getConstPool(); in replace() local
203 String signature = constPool.getMethodrefType(methodIndex); in replace()
DNewArray.java194 ConstPool constPool = getConstPool(); in replace2() local
209 desc = constPool.getClassInfo(index); in replace2()
219 desc = constPool.getClassInfo(index); in replace2()
DFieldAccess.java176 ConstPool constPool = getConstPool(); in replace() local
186 = Descriptor.toCtClass(constPool.getFieldrefType(index), in replace()
200 jc.recordParams(constPool.getFieldrefClassName(index), params, in replace()
DCast.java112 ConstPool constPool = getConstPool(); in replace() local
DInstanceof.java115 ConstPool constPool = getConstPool(); in replace() local
/external/javassist/src/main/javassist/convert/
DTransformFieldAccess.java34 private ConstPool constPool; field in TransformFieldAccess
45 this.constPool = null; in TransformFieldAccess()
50 if (constPool != cp) in initialize()
77 constPool = cp; in transform()
DTransformCall.java36 protected ConstPool constPool; field in TransformCall
53 constPool = null; in TransformCall()
59 if (constPool != cp) in initialize()
129 constPool = cp; in match()
DTransformBefore.java68 constPool = cp; in match()
/external/javassist/src/main/javassist/bytecode/analysis/
DExecutor.java34 private final ConstPool constPool; field in Executor
41 public Executor(ClassPool classPool, ConstPool constPool) { in Executor() argument
42 this.constPool = constPool; in Executor()
580 frame.push(resolveClassInfo(constPool.getClassInfo(iter.u16bitAt(pos + 1)))); in execute()
600 … frame.push(typeFromDesc(constPool.getClassInfoByDescriptor(iter.u16bitAt(pos + 1)))); in execute()
706 String desc = constPool.getFieldrefType(index); in evalGetField()
710 Type objectType = resolveClassInfo(constPool.getFieldrefClassName(index)); in evalGetField()
718 String desc = constPool.getInterfaceMethodrefType(index); in evalInvokeIntfMethod()
725 String classInfo = constPool.getInterfaceMethodrefClassName(index); in evalInvokeIntfMethod()
735 String desc = constPool.getMethodrefType(index); in evalInvokeMethod()
[all …]
/external/dagger2/java/dagger/hilt/android/plugin/src/test/kotlin/
DTransformTest.kt81 val constPool = classFile.constPool in <lambda>() constant
90 val classRef = constPool.getMethodrefClassName(methodRef) in <lambda>()
/external/dagger2/java/dagger/hilt/android/plugin/src/main/kotlin/dagger/hilt/android/plugin/
DAndroidEntryPointClassTransformer.kt166 val constantPool = clazz.classFile.constPool in <lambda>()
219 val constantPool = clazz.classFile.constPool in <lambda>()

12