question: int compileIfStatic ( CtClass type , String name , Bytecode code , Javac drv ) throws CannotCompileException { String desc ; int stacksize = 1 ; if ( stringParams == null ) desc = "()" ; else { desc = "([Ljava/lang/String;)" ; stacksize += compileStringParameter ( code ) ; } String typeDesc = Descriptor . of ( type ) ; code . addInvokestatic ( objectType , methodName , desc + typeDesc ) ; code . addPutstatic ( Bytecode . THIS , name , typeDesc ) ; return stacksize ; }
target:  Produces codes for a static field.