org.jmlspecs.jml4.compiler
Interface IBatchCompilerExtension
- All Known Subinterfaces:
- ICompilerExtension
- All Known Implementing Classes:
- DefaultCompilerExtension, Esc, ESC2Wrapper, EscJava2Wrapper, Fspv, JML2CheckerWrapper, JML2CompilerWrapper, JmlCompilerExtension
public interface IBatchCompilerExtension
Method Summary |
int |
configureArgs(java.lang.String currentArg,
java.lang.String[] args,
int index,
java.util.Map options)
This processes command-line arguments for extensions to the compiler. |
boolean |
handleWarningToken(java.lang.String token,
boolean isEnabling,
java.util.Map optionsMap)
|
ARG_NOT_HANDLED
static final int ARG_NOT_HANDLED
- See Also:
- Constant Field Values
configureArgs
int configureArgs(java.lang.String currentArg,
java.lang.String[] args,
int index,
java.util.Map options)
- This processes command-line arguments for extensions to the compiler.
- Parameters:
currentArg
- The command-line argument currently under considerationargs
- The whole list of argumentsindex
- The location of currentArg in the list
- Returns:
- ARG_NOT_HANDLED if nothing has been recognized,
otherwise i >= index and is the last argument position processed
(not one beyond it).
handleWarningToken
boolean handleWarningToken(java.lang.String token,
boolean isEnabling,
java.util.Map optionsMap)