Class HeadlessUtil
java.lang.Object
com.ibm.wala.ide.util.HeadlessUtil
- Direct Known Subclasses:
JavaScriptHeadlessUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static <X> XgetProjectFromWorkspace(Function<org.eclipse.core.resources.IProject, X> pred) static PropertiesparseCommandLine(String[] cmdLine) create a Properties object representing the properties set by the command line args.static <Unit> voidparseModules(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)
-