Uses of Class
javassist.bytecode.Bytecode
Packages that use Bytecode
Package
Description
The Javassist Core API.
This package contains the classes for modifying a method body.
Dynamic proxy (similar to
Enhancer of cglib).-
Uses of Bytecode in javassist
Modifier and TypeMethodDescriptionprotected 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) Modifier and TypeMethodDescriptionprivate voidCtField.ArrayInitializer.addNewarray(Bytecode code) (package private) intCtField.ArrayInitializer.compile(CtClass type, String name, Bytecode code, CtClass[] parameters, Javac drv) (package private) intCtField.CodeInitializer0.compile(CtClass type, String name, Bytecode code, CtClass[] parameters, Javac drv) (package private) intCtField.DoubleInitializer.compile(CtClass type, String name, Bytecode code, CtClass[] parameters, Javac drv) (package private) intCtField.FloatInitializer.compile(CtClass type, String name, Bytecode code, CtClass[] parameters, Javac drv) (package private) abstract intCtField.Initializer.compile(CtClass type, String name, Bytecode code, CtClass[] parameters, Javac drv) (package private) intCtField.IntInitializer.compile(CtClass type, String name, Bytecode code, CtClass[] parameters, Javac drv) (package private) intCtField.LongInitializer.compile(CtClass type, String name, Bytecode code, CtClass[] parameters, Javac drv) (package private) intCtField.MethodInitializer.compile(CtClass type, 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, String name, Bytecode code, CtClass[] parameters, Javac drv) (package private) intCtField.NewInitializer.compile(CtClass type, 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, String name, Bytecode code, CtClass[] parameters, Javac drv) (package private) intCtField.StringInitializer.compile(CtClass type, String name, Bytecode code, CtClass[] parameters, Javac drv) (package private) int(package private) int(package private) int(package private) int(package private) intCtField.ArrayInitializer.compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) (package private) intCtField.CodeInitializer0.compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) (package private) intCtField.DoubleInitializer.compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) (package private) intCtField.FloatInitializer.compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) (package private) abstract intCtField.Initializer.compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) (package private) intCtField.IntInitializer.compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) (package private) intCtField.LongInitializer.compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) (package private) intCtField.MethodInitializer.compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) Produces codes for a static field.(package private) intCtField.MultiArrayInitializer.compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) (package private) intCtField.NewInitializer.compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) Produces codes for a static field.(package private) intCtField.ParamInitializer.compileIfStatic(CtClass type, String name, Bytecode code, Javac drv) (package private) intCtField.StringInitializer.compileIfStatic(CtClass type, 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 final intCtField.NewInitializer.compileStringParameter(Bytecode code) private intCtBehavior.insertAfterAdvice(Bytecode code, Javac jv, String src, ConstPool cp, CtClass rtype, int varNo) private intCtBehavior.insertAfterHandler(boolean asFinally, Bytecode b, CtClass rtype, int returnVarNo, Javac javac, 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 BytecodeModifier and TypeFieldDescriptionprotected BytecodeCodeGen.bytecodeprivate BytecodeJavac.bytecodeMethods in javassist.compiler that return BytecodeModifier and TypeMethodDescriptionJavac.compileBody(CtBehavior method, String src) Compiles a method (or constructor) body.Javac.getBytecode()Returns the produced bytecode.Methods in javassist.compiler with parameters of type BytecodeModifier and TypeMethodDescriptionprotected voidJvstCodeGen.atAssignParamList(CtClass[] params, Bytecode code) static intJvstCodeGen.compileParameterList(Bytecode code, CtClass[] params, int regno) protected voidJvstCodeGen.compileUnwrapValue(CtClass type, Bytecode code) protected abstract booleanReturns true if the generated code ends with return, throw, or goto.protected booleanprotected booleanvoidProceedHandler.doit(JvstCodeGen gen, Bytecode b, ASTList args) private voidprivate static voidJavac.makeDefaultBody(Bytecode b, CtClass type) Constructors in javassist.compiler with parameters of type Bytecode -
Uses of Bytecode in javassist.convert
Methods in javassist.convert with parameters of type Bytecode -
Uses of Bytecode in javassist.expr
Methods in javassist.expr with parameters of type BytecodeModifier and TypeMethodDescriptionvoidCast.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 void(package private) static final 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 BytecodeModifier and TypeMethodDescriptionprivate static intprivate static intProxyFactory.addLoadParameters(Bytecode code, Class<?>[] params, int offset) private static intprivate static voidProxyFactory.addUnwrapper(Bytecode code, Class<?> type) private static voidProxyFactory.callFind2Methods(Bytecode code, String superMethod, String thisMethod, int index, String desc, int classVar, int arrayVar) private static voidProxyFactory.makeParameterList(Bytecode code, Class<?>[] params) private static intProxyFactory.makeWrapper(Bytecode code, Class<?> type, int regno)