public abstract static class CompilerOptionsQueryImplementation.Result extends Object
Constructor and Description |
---|
Result() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addChangeListener(ChangeListener listener)
Add a listener to changes of compiler options.
|
abstract List<? extends String> |
getArguments()
Gets the explicit compiler options.
|
protected List<String> |
parseLine(String commandLine)
Utility method the tokenize the command line into individual arguments.
|
protected List<String> |
parseLine(String commandLine,
URI workingDirectory)
Utility method the tokenize the command line into individual arguments.
|
abstract void |
removeChangeListener(ChangeListener listener)
Remove a listener to changes of compiler options.
|
@NonNull public abstract List<? extends String> getArguments()
public abstract void addChangeListener(@NonNull ChangeListener listener)
listener
- a listener to addpublic abstract void removeChangeListener(@NonNull ChangeListener listener)
listener
- a listener to removeprotected final List<String> parseLine(@NonNull String commandLine)
commandLine
- the command line to be tokenizedprotected final List<String> parseLine(@NonNull String commandLine, @NullAllowed URI workingDirectory)
commandLine
- the command line to be tokenizedworkingDirectory
- if set to null, argument files will not be supported;
if non-null, argument file names will be resolved relative to this directory