public abstract class OptionHelper extends Object
Option.process(com.sun.tools.javac.main.OptionHelper, java.lang.String, java.lang.String)
, providing access to
the compilation environment.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Modifier and Type | Class and Description |
---|---|
static class |
OptionHelper.GrumpyHelper
An implementation of OptionHelper that mostly throws exceptions.
|
Constructor and Description |
---|
OptionHelper() |
Modifier and Type | Method and Description |
---|---|
abstract String |
get(Option option)
Get the current value of an option.
|
abstract Log |
getLog()
Get access to the Log for the compilation.
|
abstract String |
getOwnName()
Get the name of the tool, such as "javac", to be used in info like -help.
|
abstract void |
put(String name,
String value)
Set the value of an option.
|
abstract void |
remove(String name)
Remove any prior value for an option.
|
Copyright © 2017 earcam. All rights reserved.