public class JavaToJimple
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static polyglot.frontend.Pass.ID |
ANON_CONSTR_FINDER |
static polyglot.frontend.Pass.ID |
CAST_INSERTION |
static polyglot.frontend.Pass.ID |
SAVE_AST |
static polyglot.frontend.Pass.ID |
STRICTFP_PROP |
Constructor and Description |
---|
JavaToJimple() |
Modifier and Type | Method and Description |
---|---|
polyglot.ast.Node |
compile(polyglot.frontend.Compiler compiler,
java.lang.String fileName,
polyglot.frontend.ExtensionInfo extInfo)
uses polyglot to compile source and build AST
|
polyglot.frontend.ExtensionInfo |
initExtInfo(java.lang.String fileName,
java.util.List<java.lang.String> sourceLocations)
sets up the info needed to invoke polyglot
|
public static final polyglot.frontend.Pass.ID CAST_INSERTION
public static final polyglot.frontend.Pass.ID STRICTFP_PROP
public static final polyglot.frontend.Pass.ID ANON_CONSTR_FINDER
public static final polyglot.frontend.Pass.ID SAVE_AST
public polyglot.frontend.ExtensionInfo initExtInfo(java.lang.String fileName, java.util.List<java.lang.String> sourceLocations)
public polyglot.ast.Node compile(polyglot.frontend.Compiler compiler, java.lang.String fileName, polyglot.frontend.ExtensionInfo extInfo)