Home
last modified time | relevance | path

Searched refs:Bytecode (Results 1 – 25 of 57) sorted by relevance

123

/external/javassist/src/main/javassist/
DCtField.java24 import javassist.bytecode.Bytecode;
858 abstract int compile(CtClass type, String name, Bytecode code, in compile()
864 Bytecode code, Javac drv) throws CannotCompileException; in compileIfStatic()
875 int compile(CtClass type, String name, Bytecode code, in compile()
882 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type)); in compile()
891 int compileIfStatic(CtClass type, String name, Bytecode code, in compileIfStatic()
896 code.addPutstatic(Bytecode.THIS, name, Descriptor.of(type)); in compileIfStatic()
981 int compile(CtClass type, String name, Bytecode code, in compile()
989 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type)); in compile()
1025 int compileIfStatic(CtClass type, String name, Bytecode code, in compileIfStatic()
[all …]
DCtNewWrappedMethod.java24 import javassist.bytecode.Bytecode;
51 Bytecode code = makeBody(declaring, declaring.getClassFile2(), body, in wrapped()
59 static Bytecode makeBody(CtClass clazz, ClassFile classfile, in makeBody()
67 Bytecode code = new Bytecode(classfile.getConstPool(), 0, 0); in makeBody()
82 Bytecode code) in makeBody0()
120 code.addInvokestatic(Bytecode.THIS, bodyname, desc); in makeBody0()
122 code.addInvokespecial(Bytecode.THIS, bodyname, desc); in makeBody0()
180 static int compileParameterList(Bytecode code, in compileParameterList()
188 private static void compileReturn(Bytecode code, CtClass type) { in compileReturn()
202 code.addOpcode(Bytecode.ARETURN); in compileReturn()
DCtNewWrappedConstructor.java20 import javassist.bytecode.Bytecode;
40 Bytecode code = makeBody(declaring, declaring.getClassFile2(), in wrapped()
52 protected static Bytecode makeBody(CtClass declaring, ClassFile classfile, in makeBody()
62 Bytecode code = new Bytecode(classfile.getConstPool(), 0, 0); in makeBody()
93 code.add(Bytecode.RETURN); in makeBody()
DCtNewMethod.java21 import javassist.bytecode.Bytecode;
237 Bytecode code = new Bytecode(cp, 2, 1); in getter()
242 code.addGetfield(Bytecode.THIS, fieldName, fieldType); in getter()
245 code.addGetstatic(Bytecode.THIS, fieldName, fieldType); in getter()
280 Bytecode code = new Bytecode(cp, 3, 3); in setter()
286 code.addPutfield(Bytecode.THIS, fieldName, fieldType); in setter()
290 code.addPutstatic(Bytecode.THIS, fieldName, fieldType); in setter()
353 Bytecode code = new Bytecode(cp, 0, 0); in delegator0()
DCtMethod.java21 import javassist.bytecode.Bytecode;
302 Bytecode code = CtNewWrappedMethod.makeBody(clazz, in setWrappedBody()
358 int compile(Bytecode code) throws CannotCompileException { in compile()
398 int compile(Bytecode code) throws CannotCompileException { in compile()
422 int compile(Bytecode code) throws CannotCompileException { in compile()
446 int compile(Bytecode code) throws CannotCompileException { in compile()
DCtNewConstructor.java20 import javassist.bytecode.Bytecode;
143 Bytecode code = new Bytecode(cp, 1, 1); in defaultConstructor()
153 code.add(Bytecode.RETURN); in defaultConstructor()
DCtBehavior.java23 import javassist.bytecode.Bytecode;
466 Bytecode b = jv.compileBody(this, src); in setBody()
787 Bytecode b = jv.getBytecode(); in insertBefore()
851 Bytecode b = new Bytecode(pool, 0, retAddr + 1); in insertAfter()
916 private int insertAfterAdvice(Bytecode code, Javac jv, String src, in insertAfterAdvice()
977 private int insertAfterHandler(boolean asFinally, Bytecode b, in insertAfterHandler()
1110 Bytecode b = new Bytecode(cp, ca.getMaxStack(), ca.getMaxLocals()); in addCatch()
1225 Bytecode b = jv.getBytecode(); in insertAt()
/external/javassist/src/main/javassist/compiler/
DAccessorMaker.java27 import javassist.bytecode.Bytecode;
75 Bytecode code = new Bytecode(cp); in getConstructor()
135 Bytecode code = new Bytecode(cp); in getMethodAccessor()
187 Bytecode code = new Bytecode(cp); in getFieldGetter()
189 code.addGetstatic(Bytecode.THIS, fieldName, fieldType); in getFieldGetter()
193 code.addGetfield(Bytecode.THIS, fieldName, fieldType); in getFieldGetter()
238 Bytecode code = new Bytecode(cp); in getFieldSetter()
242 code.addPutstatic(Bytecode.THIS, fieldName, fieldType); in getFieldSetter()
248 code.addPutfield(Bytecode.THIS, fieldName, fieldType); in getFieldSetter()
DJavac.java30 import javassist.bytecode.Bytecode;
48 private Bytecode bytecode;
61 this(new Bytecode(thisClass.getClassFile2().getConstPool(), 0, 0), in Javac()
73 public Javac(Bytecode b, CtClass thisClass) { in Javac()
82 public Bytecode getBytecode() { return bytecode; } in getBytecode()
196 public Bytecode compileBody(CtBehavior method, String src) in compileBody()
238 private static void makeDefaultBody(Bytecode b, CtClass type) { in makeDefaultBody()
446 public void doit(JvstCodeGen gen, Bytecode b, ASTList args) in recordProceed()
492 public void doit(JvstCodeGen gen, Bytecode b, ASTList args) in recordStaticProceed()
538 public void doit(JvstCodeGen gen, Bytecode b, ASTList args) in recordSpecialProceed()
DProceedHandler.java19 import javassist.bytecode.Bytecode;
28 void doit(JvstCodeGen gen, Bytecode b, ASTList args) throws CompileError; in doit()
DJvstCodeGen.java23 import javassist.bytecode.Bytecode;
58 public JvstCodeGen(Bytecode b, CtClass cc, ClassPool cp) { in JvstCodeGen()
158 protected void atAssignParamList(CtClass[] params, Bytecode code) in atAssignParamList()
619 public static int compileParameterList(Bytecode code, in compileParameterList()
631 code.addOpcode(Bytecode.DUP); // dup in compileParameterList()
637 code.addOpcode(Bytecode.DUP); // dup in compileParameterList()
650 code.addOpcode(Bytecode.AASTORE); // aastore in compileParameterList()
656 protected void compileUnwrapValue(CtClass type, Bytecode code) in compileUnwrapValue()
/external/javassist/src/main/javassist/convert/
DTransformBefore.java23 import javassist.bytecode.Bytecode;
92 Bytecode save = new Bytecode(cp, 0, 0); in makeCode()
93 Bytecode load = new Bytecode(cp, 0, 0); in makeCode()
105 private void makeCode2(Bytecode save, Bytecode load, in makeCode2()
/external/javassist/src/test/test/javassist/bytecode/analysis/
DAnalyzerTest.java12 import javassist.bytecode.Bytecode;
142 private static void addJump(Bytecode code, int opcode, int pos) { in addJump()
202 Bytecode code = new Bytecode(info.getConstPool(), 1, 2); in generateDeadCode()
222 Bytecode code = new Bytecode(info.getConstPool(), 1, 2); in generateInvalidCode()
239 Bytecode code = new Bytecode(info.getConstPool(), 1, 2); in generateCodeFalloff()
254 Bytecode code = new Bytecode(info.getConstPool(), 1, 2); in generateJsrMerge()
278 Bytecode code = new Bytecode(info.getConstPool(), 1, 2); in generateJsrMerge2()
DScannerTest.java11 import javassist.bytecode.Bytecode;
111 Bytecode code = new Bytecode(info.getConstPool(), 2, 9); in generate()
180 private static void addJump(Bytecode code, int opcode, int pos) { in addJump()
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java42 import javassist.bytecode.Bytecode;
1032 Bytecode code = new Bytecode(cp, 0, 2); in addClassInitializer()
1055 code.addOpcode(Bytecode.RETURN); in addClassInitializer()
1063 private static void callFind2Methods(Bytecode code, String superMethod, String thisMethod, in callFind2Methods()
1088 Bytecode code = new Bytecode(cp, 2, 2); in addSetter()
1092 code.addOpcode(Bytecode.RETURN); in addSetter()
1103 Bytecode code = new Bytecode(cp, 1, 1); in addGetter()
1106 code.addOpcode(Bytecode.ARETURN); in addGetter()
1321 Bytecode code = new Bytecode(cp, 0, 0); in makeConstructor()
1365 Bytecode code = new Bytecode(cp, 0, 0); in makeDelegator()
[all …]
/external/javassist/src/test/javassist/compiler/
DCodeTest.java15 Bytecode b = new Bytecode(c.getClassFile().getConstPool(), 0, 0); in main()
/external/javassist/src/test/javassist/bytecode/
DBytecodeTest.java44 Bytecode code = new Bytecode(null); in testByteVector()
59 code = new Bytecode(null); in testByteVector()
88 Bytecode bc = new Bytecode(cp); in testClone()
91 Bytecode bc2 = (Bytecode)bc.clone(); in testClone()
105 Bytecode code = new Bytecode(cc.getClassFile().getConstPool(), 2, 300); in test2byteLocalVar()
150 Bytecode b = new Bytecode(null, 0, 0); in testBytecode()
182 Bytecode b = new Bytecode(null, 0, 0); in testBytecode2()
189 b = new Bytecode(null, 0, 0); in testBytecode2()
788 Bytecode code = new Bytecode(cp, 0, 1); in testInvokeDynamic()
/external/javassist/src/main/javassist/expr/
DCast.java25 import javassist.bytecode.Bytecode;
135 Bytecode bytecode = jc.getBytecode(); in replace()
166 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
DInstanceof.java25 import javassist.bytecode.Bytecode;
141 Bytecode bytecode = jc.getBytecode(); in replace()
170 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
DFieldAccess.java27 import javassist.bytecode.Bytecode;
220 Bytecode bytecode = jc.getBytecode(); in replace()
262 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
312 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
DExpr.java31 import javassist.bytecode.Bytecode;
231 int regno, Bytecode bytecode) { in storeStack()
240 Bytecode bytecode) { in storeStack0()
285 protected void replace0(int pos, Bytecode bytecode, int size) in replace0()
DNewExpr.java26 import javassist.bytecode.Bytecode;
222 Bytecode bytecode = jc.getBytecode(); in replace()
253 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
DHandler.java23 import javassist.bytecode.Bytecode;
129 Bytecode b = jv.getBytecode(); in insertBefore()
DNewArray.java25 import javassist.bytecode.Bytecode;
245 Bytecode bytecode = jc.getBytecode(); in replace2()
273 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
/external/okio/okio/jvm/japicmp/
Dbuild.gradle43 'okio.ByteString', // Bytecode version changed from 51.0 to 50.0
49 'okio.Options', // Bytecode version changed from 51.0 to 50.0

123