Class HeadlessUtil
java.lang.Object
com.ibm.wala.ide.util.HeadlessUtil
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static <X> X
getProjectFromWorkspace
(Function<org.eclipse.core.resources.IProject, X> pred) static Properties
parseCommandLine
(String[] cmdLine) create a Properties object representing the properties set by the command line args.static <Unit> void
parseModules
(Set<ModuleEntry> modules, HeadlessUtil.EclipseCompiler<Unit> compiler)
-
Constructor Details
-
HeadlessUtil
public HeadlessUtil()
-
-
Method Details
-
parseCommandLine
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)
-