Class HeadlessUtil

java.lang.Object
com.ibm.wala.ide.util.HeadlessUtil
Direct Known Subclasses:
JavaScriptHeadlessUtil

public class HeadlessUtil extends Object
  • Constructor Details

    • HeadlessUtil

      public HeadlessUtil()
  • Method Details

    • parseCommandLine

      public static Properties parseCommandLine(String[] cmdLine)
      create a Properties object representing the properties set by the command line args. if args[i] is "-foo" and args[i+1] is "bar", then the result will define a property with key "foo" and value "bar"
    • getProjectFromWorkspace

      protected static <X> X getProjectFromWorkspace(Function<org.eclipse.core.resources.IProject,X> pred)
    • parseModules

      public static <Unit> void parseModules(Set<ModuleEntry> modules, HeadlessUtil.EclipseCompiler<Unit> compiler)