fabil
Class FabILOptions_c

java.lang.Object
  extended by polyglot.main.Options
      extended by fabil.FabILOptions_c
All Implemented Interfaces:
FabILOptions

public class FabILOptions_c
extends polyglot.main.Options
implements FabILOptions

This is the same as the JL options, except by default, we always generate fully qualified class names. This is here because the logic for qualifying class names seems a bit wonky.


Field Summary
 java.util.List<java.lang.String> addSigcp
          Additional classpath entries for FabIL signatures.
 boolean dumpDependencies
          Whether to dump class dependencies for each class.
 int optLevel
          Whether to perform optimizations.
 java.lang.String sigcp
          The classpath for the FabIL signatures of Java objects.
 boolean signatureMode
          Whether we're running in signature mode.
 
Constructor Summary
FabILOptions_c(ExtensionInfo extension)
           
 
Method Summary
 java.lang.String constructFabILClasspath()
           
 java.lang.String constructPostCompilerClasspath()
           
 java.lang.String constructSignatureClasspath()
           
 boolean dumpDependencies()
           
static FabILOptions global()
           
 int optLevel()
           
 int parseCommand(java.lang.String[] args, int index, java.util.Set source)
           
 void setDefaultValues()
           
 boolean signatureMode()
           
 void usage(java.io.PrintStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

signatureMode

public boolean signatureMode
Whether we're running in signature mode.


dumpDependencies

public boolean dumpDependencies
Whether to dump class dependencies for each class.


sigcp

public java.lang.String sigcp
The classpath for the FabIL signatures of Java objects.


addSigcp

public java.util.List<java.lang.String> addSigcp
Additional classpath entries for FabIL signatures.


optLevel

public int optLevel
Whether to perform optimizations.

Constructor Detail

FabILOptions_c

public FabILOptions_c(ExtensionInfo extension)
Method Detail

setDefaultValues

public void setDefaultValues()

parseCommand

public int parseCommand(java.lang.String[] args,
                        int index,
                        java.util.Set source)
                 throws UsageError,
                        TerminationException
Throws:
UsageError
TerminationException

usage

public void usage(java.io.PrintStream out)

constructSignatureClasspath

public java.lang.String constructSignatureClasspath()
Specified by:
constructSignatureClasspath in interface FabILOptions

constructFabILClasspath

public java.lang.String constructFabILClasspath()
Specified by:
constructFabILClasspath in interface FabILOptions

constructPostCompilerClasspath

public java.lang.String constructPostCompilerClasspath()
Specified by:
constructPostCompilerClasspath in interface FabILOptions

optLevel

public int optLevel()
Specified by:
optLevel in interface FabILOptions

dumpDependencies

public boolean dumpDependencies()
Specified by:
dumpDependencies in interface FabILOptions

signatureMode

public boolean signatureMode()
Specified by:
signatureMode in interface FabILOptions

global

public static FabILOptions global()