Class JavaToJimple


  • public class JavaToJimple
    extends Object
    • Field Detail

      • CAST_INSERTION

        public static final polyglot.frontend.Pass.ID CAST_INSERTION
      • STRICTFP_PROP

        public static final polyglot.frontend.Pass.ID STRICTFP_PROP
      • ANON_CONSTR_FINDER

        public static final polyglot.frontend.Pass.ID ANON_CONSTR_FINDER
      • SAVE_AST

        public static final polyglot.frontend.Pass.ID SAVE_AST
    • Constructor Detail

      • JavaToJimple

        public JavaToJimple()
    • Method Detail

      • initExtInfo

        public polyglot.frontend.ExtensionInfo initExtInfo​(String fileName,
                                                           List<String> sourceLocations)
        sets up the info needed to invoke polyglot
      • compile

        public polyglot.ast.Node compile​(polyglot.frontend.Compiler compiler,
                                         String fileName,
                                         polyglot.frontend.ExtensionInfo extInfo)
        uses polyglot to compile source and build AST