Class IRClassCompiler
- java.lang.Object
-
- gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler
-
- gw.internal.gosu.ir.compiler.bytecode.IRClassCompiler
-
public class IRClassCompiler extends AbstractBytecodeCompiler
-
-
Field Summary
Fields Modifier and Type Field Description static int
JAVA_VER
-
Fields inherited from class gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler
OBJECT_TYPE
-
-
Constructor Summary
Constructors Constructor Description IRClassCompiler(IRClass irClass)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAnnotations()
static byte[]
compileClass(IRClass irClass, boolean debug)
static String
getMethodDescriptor(IRMethodStatement m)
static boolean
isDebugFlagSet(DebugFlag flag)
String
toString()
static void
verify(byte[] bytes)
-
Methods inherited from class gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler
compileConditionAssignment, getIns, isNotPartOfBooleanExpr, isWide, negateOpcode
-
-
-
-
Field Detail
-
JAVA_VER
public static final int JAVA_VER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IRClassCompiler
public IRClassCompiler(IRClass irClass)
-
-
Method Detail
-
compileClass
public static byte[] compileClass(IRClass irClass, boolean debug)
-
addAnnotations
public void addAnnotations()
-
verify
public static void verify(byte[] bytes)
-
isDebugFlagSet
public static boolean isDebugFlagSet(DebugFlag flag)
-
getMethodDescriptor
public static String getMethodDescriptor(IRMethodStatement m)
-
-