Home
last modified time | relevance | path

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

12

/external/javassist/src/main/javassist/
DCtField.java813 abstract int compile(CtClass type, String name, Bytecode code, in compile()
819 Bytecode code, Javac drv) throws CannotCompileException; in compileIfStatic()
829 int compile(CtClass type, String name, Bytecode code, in compile()
836 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type)); in compile()
844 int compileIfStatic(CtClass type, String name, Bytecode code, in compileIfStatic()
849 code.addPutstatic(Bytecode.THIS, name, Descriptor.of(type)); in compileIfStatic()
929 int compile(CtClass type, String name, Bytecode code, in compile()
937 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type)); in compile()
973 int compileIfStatic(CtClass type, String name, Bytecode code, in compileIfStatic()
994 int compile(CtClass type, String name, Bytecode code, in compile()
[all …]
DCtNewWrappedMethod.java44 Bytecode code = makeBody(declaring, declaring.getClassFile2(), body, in wrapped()
50 static Bytecode makeBody(CtClass clazz, ClassFile classfile, in makeBody()
58 Bytecode code = new Bytecode(classfile.getConstPool(), 0, 0); in makeBody()
73 Bytecode code) in makeBody0()
111 code.addInvokestatic(Bytecode.THIS, bodyname, desc); in makeBody0()
113 code.addInvokespecial(Bytecode.THIS, bodyname, desc); in makeBody0()
171 static int compileParameterList(Bytecode code, in compileParameterList()
179 private static void compileReturn(Bytecode code, CtClass type) { in compileReturn()
193 code.addOpcode(Bytecode.ARETURN); in compileReturn()
DCtNewMethod.java231 Bytecode code = new Bytecode(cp, 2, 1); in getter()
236 code.addGetfield(Bytecode.THIS, fieldName, fieldType); in getter()
239 code.addGetstatic(Bytecode.THIS, fieldName, fieldType); in getter()
272 Bytecode code = new Bytecode(cp, 3, 3); in setter()
278 code.addPutfield(Bytecode.THIS, fieldName, fieldType); in setter()
282 code.addPutstatic(Bytecode.THIS, fieldName, fieldType); in setter()
342 Bytecode code = new Bytecode(cp, 0, 0); in delegator0()
DCtNewWrappedConstructor.java37 Bytecode code = makeBody(declaring, declaring.getClassFile2(), in wrapped()
48 protected static Bytecode makeBody(CtClass declaring, ClassFile classfile, in makeBody()
58 Bytecode code = new Bytecode(classfile.getConstPool(), 0, 0); in makeBody()
89 code.add(Bytecode.RETURN); in makeBody()
DCtMethod.java285 Bytecode code = CtNewWrappedMethod.makeBody(clazz, in setWrappedBody()
341 int compile(Bytecode code) throws CannotCompileException { in compile()
380 int compile(Bytecode code) throws CannotCompileException { in compile()
401 int compile(Bytecode code) throws CannotCompileException { in compile()
422 int compile(Bytecode code) throws CannotCompileException { in compile()
DCtNewConstructor.java141 Bytecode code = new Bytecode(cp, 1, 1); in defaultConstructor()
151 code.add(Bytecode.RETURN); in defaultConstructor()
DCtBehavior.java401 Bytecode b = jv.compileBody(this, src); in setBody()
706 Bytecode b = jv.getBytecode(); in insertBefore()
770 Bytecode b = new Bytecode(pool, 0, retAddr + 1); in insertAfter()
826 private void insertAfterAdvice(Bytecode code, Javac jv, String src, in insertAfterAdvice()
878 private int insertAfterHandler(boolean asFinally, Bytecode b, in insertAfterHandler()
1011 Bytecode b = new Bytecode(cp, ca.getMaxStack(), ca.getMaxLocals()); in addCatch()
1126 Bytecode b = jv.getBytecode(); in insertAt()
DCtClassType.java37 import javassist.bytecode.Bytecode;
1288 Bytecode code = new Bytecode(cf.getConstPool(), 0, 0); in makeClassInitializer()
1462 Bytecode code = new Bytecode(cf.getConstPool(), 0, 0); in modifyClassConstructor()
1481 private void modifyClassConstructor(ClassFile cf, Bytecode code, in modifyClassConstructor()
1487 code.add(Bytecode.RETURN); in modifyClassConstructor()
1543 Bytecode init = new Bytecode(cp, 0, in modifyConstructors()
1561 Bytecode initializer, in insertAuxInitializer()
1582 private int makeFieldInitializer(Bytecode code, CtClass[] parameters) in makeFieldInitializer()
DCtConstructor.java254 Bytecode b = new Bytecode(methodInfo.getConstPool(), in insertBeforeBody()
/external/javassist/src/main/javassist/compiler/
DAccessorMaker.java61 Bytecode code = new Bytecode(cp); in getConstructor()
121 Bytecode code = new Bytecode(cp); in getMethodAccessor()
173 Bytecode code = new Bytecode(cp); in getFieldGetter()
175 code.addGetstatic(Bytecode.THIS, fieldName, fieldType); in getFieldGetter()
179 code.addGetfield(Bytecode.THIS, fieldName, fieldType); in getFieldGetter()
224 Bytecode code = new Bytecode(cp); in getFieldSetter()
228 code.addPutstatic(Bytecode.THIS, fieldName, fieldType); in getFieldSetter()
234 code.addPutfield(Bytecode.THIS, fieldName, fieldType); in getFieldSetter()
DJavac.java27 import javassist.bytecode.Bytecode;
39 private Bytecode bytecode;
52 this(new Bytecode(thisClass.getClassFile2().getConstPool(), 0, 0), in Javac()
64 public Javac(Bytecode b, CtClass thisClass) { in Javac()
73 public Bytecode getBytecode() { return bytecode; } in getBytecode()
190 public Bytecode compileBody(CtBehavior method, String src) in compileBody()
232 private static void makeDefaultBody(Bytecode b, CtClass type) { in makeDefaultBody()
439 public void doit(JvstCodeGen gen, Bytecode b, ASTList args) in recordProceed()
483 public void doit(JvstCodeGen gen, Bytecode b, ASTList args) in recordStaticProceed()
529 public void doit(JvstCodeGen gen, Bytecode b, ASTList args) in recordSpecialProceed()
DProceedHandler.java18 import javassist.bytecode.Bytecode;
28 void doit(JvstCodeGen gen, Bytecode b, ASTList args) throws CompileError; in doit()
DJvstCodeGen.java44 public JvstCodeGen(Bytecode b, CtClass cc, ClassPool cp) { in JvstCodeGen()
142 protected void atAssignParamList(CtClass[] params, Bytecode code) in atAssignParamList()
604 public static int compileParameterList(Bytecode code, in compileParameterList()
617 code.addOpcode(Bytecode.DUP); // dup in compileParameterList()
623 code.addOpcode(Bytecode.DUP); // dup in compileParameterList()
636 code.addOpcode(Bytecode.AASTORE); // aastore in compileParameterList()
643 protected void compileUnwrapValue(CtClass type, Bytecode code) in compileUnwrapValue()
/external/javassist/src/main/javassist/convert/
DTransformBefore.java83 Bytecode save = new Bytecode(cp, 0, 0); in makeCode()
84 Bytecode load = new Bytecode(cp, 0, 0); in makeCode()
96 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.java860 Bytecode code = new Bytecode(cp, 0, 0); in addMethodsHolder()
867 code.addOpcode(Bytecode.RETURN); in addMethodsHolder()
878 Bytecode code = new Bytecode(cp, 2, 2); in addSetter()
882 code.addOpcode(Bytecode.RETURN); in addSetter()
893 Bytecode code = new Bytecode(cp, 1, 1); in addGetter()
896 code.addOpcode(Bytecode.ARETURN); in addGetter()
1061 Bytecode code = new Bytecode(cp, 0, 0); in makeConstructor()
1105 Bytecode code = new Bytecode(cp, 0, 0); in makeDelegator()
1128 Bytecode code = new Bytecode(cp, 0, args + 2); in makeForwarder()
1192 private static int addLoadParameters(Bytecode code, Class[] params, in addLoadParameters()
[all …]
/external/javassist/src/main/javassist/expr/
DExpr.java27 import javassist.bytecode.Bytecode;
233 int regno, Bytecode bytecode) { in storeStack()
242 Bytecode bytecode) { in storeStack0()
289 protected void replace0(int pos, Bytecode bytecode, int size) in replace0()
DCast.java114 Bytecode bytecode = jc.getBytecode(); in replace()
144 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
DInstanceof.java120 Bytecode bytecode = jc.getBytecode(); in replace()
148 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
DFieldAccess.java195 Bytecode bytecode = jc.getBytecode(); in replace()
236 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
284 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
DNewExpr.java199 Bytecode bytecode = jc.getBytecode(); in replace()
229 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
DNewArray.java225 Bytecode bytecode = jc.getBytecode(); in replace2()
252 public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) in doit()
/external/apache-xml/
DNOTICE31 - Bytecode Engineering Library - see LICENSE.txt
44 - Bytecode Engineering Library - see LICENSE.txt
/external/javassist/src/main/javassist/bytecode/
DBytecode.java113 public class Bytecode extends ByteVector implements Cloneable, Opcode { class
138 public Bytecode(ConstPool cp, int stacksize, int localvars) { in Bytecode() method in Bytecode
155 public Bytecode(ConstPool cp) { in Bytecode() method in Bytecode
166 Bytecode bc = (Bytecode)super.clone(); in clone()

12