Uses of Class
javassist.bytecode.Bytecode
-
Packages that use Bytecode Package Description javassist The Javassist Core API.javassist.compiler javassist.convert javassist.expr This package contains the classes for modifying a method body.javassist.util.proxy Dynamic proxy (similar toEnhancerof cglib). -
-
Uses of Bytecode in javassist
Methods in javassist that return Bytecode Modifier and Type Method Description protected static BytecodeCtNewWrappedConstructor. makeBody(CtClass declaring, ClassFile classfile, int howToCallSuper, CtMethod wrappedBody, CtClass[] parameters, CtMethod.ConstParameter cparam)(package private) static BytecodeCtNewWrappedMethod. makeBody(CtClass clazz, ClassFile classfile, CtMethod wrappedBody, CtClass[] parameters, CtClass returnType, CtMethod.ConstParameter cparam)Methods in javassist with parameters of type Bytecode Modifier and Type Method Description private voidCtField.ArrayInitializer. addNewarray(Bytecode code)(package private) intCtField.ArrayInitializer. compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)(package private) intCtField.CodeInitializer0. compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)(package private) intCtField.DoubleInitializer. compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)(package private) intCtField.FloatInitializer. compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)(package private) abstract intCtField.Initializer. compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)(package private) intCtField.IntInitializer. compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)(package private) intCtField.LongInitializer. compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)(package private) intCtField.MethodInitializer. compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)Produces codes in which a new object is created and assigned to the field as the initial value.(package private) intCtField.MultiArrayInitializer. compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)(package private) intCtField.NewInitializer. compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)Produces codes in which a new object is created and assigned to the field as the initial value.(package private) intCtField.ParamInitializer. compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)(package private) intCtField.StringInitializer. compile(CtClass type, java.lang.String name, Bytecode code, CtClass[] parameters, Javac drv)(package private) intCtMethod.ConstParameter. compile(Bytecode code)(package private) intCtMethod.IntConstParameter. compile(Bytecode code)(package private) intCtMethod.LongConstParameter. compile(Bytecode code)(package private) intCtMethod.StringConstParameter. compile(Bytecode code)(package private) intCtField.ArrayInitializer. compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv)(package private) intCtField.CodeInitializer0. compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv)(package private) intCtField.DoubleInitializer. compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv)(package private) intCtField.FloatInitializer. compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv)(package private) abstract intCtField.Initializer. compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv)(package private) intCtField.IntInitializer. compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv)(package private) intCtField.LongInitializer. compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv)(package private) intCtField.MethodInitializer. compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv)Produces codes for a static field.(package private) intCtField.MultiArrayInitializer. compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv)(package private) intCtField.NewInitializer. compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv)Produces codes for a static field.(package private) intCtField.ParamInitializer. compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv)(package private) intCtField.StringInitializer. compileIfStatic(CtClass type, java.lang.String name, Bytecode code, Javac drv)(package private) static intCtNewWrappedMethod. compileParameterList(Bytecode code, CtClass[] params, int regno)private static voidCtNewWrappedMethod. compileReturn(Bytecode code, CtClass type)protected intCtField.NewInitializer. compileStringParameter(Bytecode code)private intCtBehavior. insertAfterAdvice(Bytecode code, Javac jv, java.lang.String src, ConstPool cp, CtClass rtype, int varNo)private intCtBehavior. insertAfterHandler(boolean asFinally, Bytecode b, CtClass rtype, int returnVarNo, Javac javac, java.lang.String src)private static voidCtClassType. insertAuxInitializer(CodeAttribute codeAttr, Bytecode initializer, int stacksize)protected static intCtNewWrappedMethod. makeBody0(CtClass clazz, ClassFile classfile, CtMethod wrappedBody, boolean isStatic, CtClass[] parameters, CtClass returnType, CtMethod.ConstParameter cparam, Bytecode code)private intCtClassType. makeFieldInitializer(Bytecode code, CtClass[] parameters)private voidCtClassType. modifyClassConstructor(ClassFile cf, Bytecode code, int stacksize, int localsize) -
Uses of Bytecode in javassist.compiler
Fields in javassist.compiler declared as Bytecode Modifier and Type Field Description protected BytecodeCodeGen. bytecodeprivate BytecodeJavac. bytecodeMethods in javassist.compiler that return Bytecode Modifier and Type Method Description BytecodeJavac. compileBody(CtBehavior method, java.lang.String src)Compiles a method (or constructor) body.BytecodeJavac. getBytecode()Returns the produced bytecode.Methods in javassist.compiler with parameters of type Bytecode Modifier and Type Method Description protected voidJvstCodeGen. atAssignParamList(CtClass[] params, Bytecode code)static intJvstCodeGen. compileParameterList(Bytecode code, CtClass[] params, int regno)protected voidJvstCodeGen. compileUnwrapValue(CtClass type, Bytecode code)protected abstract booleanCodeGen.ReturnHook. doit(Bytecode b, int opcode)Returns true if the generated code ends with return, throw, or goto.protected booleanMemberCodeGen.JsrHook. doit(Bytecode b, int opcode)protected booleanMemberCodeGen.JsrHook2. doit(Bytecode b, int opcode)voidProceedHandler. doit(JvstCodeGen gen, Bytecode b, ASTList args)private voidMemberCodeGen.JsrHook. jsrJmp(Bytecode b)private static voidJavac. makeDefaultBody(Bytecode b, CtClass type)Constructors in javassist.compiler with parameters of type Bytecode Constructor Description CodeGen(Bytecode b)Javac(Bytecode b, CtClass thisClass)Constructs a compiler.JvstCodeGen(Bytecode b, CtClass cc, ClassPool cp)MemberCodeGen(Bytecode b, CtClass cc, ClassPool cp) -
Uses of Bytecode in javassist.convert
Methods in javassist.convert with parameters of type Bytecode Modifier and Type Method Description private voidTransformBefore. makeCode2(Bytecode save, Bytecode load, int i, int n, CtClass[] paramTypes, int var) -
Uses of Bytecode in javassist.expr
Methods in javassist.expr with parameters of type Bytecode Modifier and Type Method Description voidCast.ProceedForCast. doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)voidFieldAccess.ProceedForRead. doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)voidFieldAccess.ProceedForWrite. doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)voidInstanceof.ProceedForInstanceof. doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)voidNewArray.ProceedForArray. doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)voidNewExpr.ProceedForNew. doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)protected voidExpr. replace0(int pos, Bytecode bytecode, int size)(package private) static voidExpr. storeStack(CtClass[] params, boolean isStaticCall, int regno, Bytecode bytecode)private static voidExpr. storeStack0(int i, int n, CtClass[] params, int regno, Bytecode bytecode) -
Uses of Bytecode in javassist.util.proxy
Methods in javassist.util.proxy with parameters of type Bytecode Modifier and Type Method Description private static intProxyFactory. addLoad(Bytecode code, int n, java.lang.Class type)private static intProxyFactory. addLoadParameters(Bytecode code, java.lang.Class[] params, int offset)private static intProxyFactory. addReturn(Bytecode code, java.lang.Class type)private static voidProxyFactory. addUnwrapper(Bytecode code, java.lang.Class type)private static voidProxyFactory. callFind2Methods(Bytecode code, java.lang.String superMethod, java.lang.String thisMethod, int index, java.lang.String desc, int classVar, int arrayVar)private static voidProxyFactory. makeParameterList(Bytecode code, java.lang.Class[] params)private static intProxyFactory. makeWrapper(Bytecode code, java.lang.Class type, int regno)
-