public class ExtensionInfo extends jif.ExtensionInfo implements ExtensionInfo
| Modifier and Type | Field and Description | 
|---|---|
protected java.util.Map<java.lang.String,byte[]> | 
bytecode  | 
protected OutputExtensionInfo | 
filext  | 
protected CBTypeEncoder | 
typeEncoder  | 
| Constructor and Description | 
|---|
ExtensionInfo()  | 
ExtensionInfo(java.util.Map<java.lang.String,byte[]> bytecode)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<java.io.File> | 
bootclasspath()
The locations of java boot classes 
 | 
ClassFileLoader | 
classFileLoader()  | 
java.util.List<java.net.URI> | 
classpath()
The classpath used to resolve dependencies during compilation. 
 | 
java.util.Map<java.lang.String,java.net.URI> | 
codebaseAliases()
A map between codebase aliases used in source and the URI of the intended
 codebase. 
 | 
java.lang.String | 
compilerName()  | 
protected void | 
configureFileManager()  | 
void | 
configureFileManagerForPostCompiler()  | 
ClassFile | 
createClassFile(javax.tools.FileObject classFileSource,
               byte[] code)  | 
protected FileManager | 
createFileManager()  | 
FileSource | 
createFileSource(javax.tools.FileObject f,
                Kind kind)  | 
LabelChecker | 
createLabelChecker(Job job,
                  boolean warningsEnabled,
                  boolean solvePerClassBody,
                  boolean solvePerMethod,
                  boolean doLabelSubst)  | 
NamespaceResolver | 
createNamespaceResolver(java.net.URI ns)
Creates namespace resolvers for Fabric namespaces. 
 | 
protected FabricNodeFactory | 
createNodeFactory()  | 
protected FabricOptions | 
createOptions()  | 
protected Scheduler | 
createScheduler()  | 
protected FabricTypeSystem | 
createTypeSystem()  | 
java.lang.String | 
defaultFileExtension()  | 
Store | 
destinationStore()  | 
Goal | 
getCompileGoal(Job job)  | 
FabricOptions | 
getOptions()  | 
void | 
initCompiler(java.lang.Compiler compiler)  | 
protected void | 
initTypeSystem()  | 
FabILTypeSystem | 
jlTypeSystem()  | 
JobExt | 
jobExt()  | 
java.util.Set<java.lang.String> | 
keywords()  | 
java.net.URI | 
localNamespace()
The namespace used for source resolved against the classpath and
 sourcepath. 
 | 
java.lang.String | 
namespaceToJavaPackagePrefix(java.net.URI ns)
Return the java package prefix for the given namespace. 
 | 
FabricNodeFactory | 
nodeFactory()  | 
Parser | 
parser(java.io.Reader reader,
      Source source,
      ErrorQueue eq)  | 
java.net.URI | 
platformNamespace()
The namespace used for built-in types like fabric.lang.Object. 
 | 
FabricScheduler | 
scheduler()  | 
java.util.List<java.io.File> | 
signaturepath()  | 
java.util.List<java.net.URI> | 
sourcepath()
The sourcepath used to resolve source dependencies during compilation. 
 | 
TargetFactory | 
targetFactory()  | 
CBTypeEncoder | 
typeEncoder()
Return the type encoder used by this extension. 
 | 
FabricTypeSystem | 
typeSystem()  | 
Version | 
version()  | 
protected OutputExtensionInfo filext
protected java.util.Map<java.lang.String,byte[]> bytecode
protected CBTypeEncoder typeEncoder
public ExtensionInfo()
public ExtensionInfo(java.util.Map<java.lang.String,byte[]> bytecode)
public void initCompiler(java.lang.Compiler compiler)
protected void initTypeSystem()
protected FileManager createFileManager()
protected void configureFileManager()
                             throws java.io.IOException
java.io.IOExceptionpublic void configureFileManagerForPostCompiler()
                                         throws java.io.IOException
java.io.IOExceptionpublic java.lang.String defaultFileExtension()
public java.lang.String compilerName()
public Goal getCompileGoal(Job job)
public Parser parser(java.io.Reader reader,
                     Source source,
                     ErrorQueue eq)
public java.util.Set<java.lang.String> keywords()
public FabILTypeSystem jlTypeSystem()
public CBTypeEncoder typeEncoder()
ExtensionInfotypeEncoder in interface ExtensionInfopublic ClassFileLoader classFileLoader()
protected FabricNodeFactory createNodeFactory()
protected FabricTypeSystem createTypeSystem()
protected FabricOptions createOptions()
protected Scheduler createScheduler()
public ClassFile createClassFile(javax.tools.FileObject classFileSource, byte[] code) throws java.io.IOException
createClassFile in interface ExtensionInfojava.io.IOExceptionpublic JobExt jobExt()
public FabricNodeFactory nodeFactory()
public FabricTypeSystem typeSystem()
typeSystem in interface ExtensionInfopublic FabricScheduler scheduler()
public Version version()
public LabelChecker createLabelChecker(Job job,
                                       boolean warningsEnabled,
                                       boolean solvePerClassBody,
                                       boolean solvePerMethod,
                                       boolean doLabelSubst)
public FabricOptions getOptions()
public FileSource createFileSource(javax.tools.FileObject f,
                                   Kind kind)
                            throws java.io.IOException
java.io.IOExceptionpublic Store destinationStore()
destinationStore in interface ExtensionInfopublic NamespaceResolver createNamespaceResolver(java.net.URI ns)
ns - public java.net.URI platformNamespace()
ExtensionInfoplatformNamespace in interface ExtensionInfopublic java.net.URI localNamespace()
ExtensionInfolocalNamespace in interface ExtensionInfopublic java.lang.String namespaceToJavaPackagePrefix(java.net.URI ns)
ExtensionInfonamespaceToJavaPackagePrefix in interface ExtensionInfopublic TargetFactory targetFactory()
public java.util.List<java.net.URI> classpath()
ExtensionInfoclasspath in interface ExtensionInfopublic java.util.List<java.net.URI> sourcepath()
ExtensionInfosourcepath in interface ExtensionInfopublic java.util.List<java.io.File> signaturepath()
public java.util.List<java.io.File> bootclasspath()
ExtensionInfobootclasspath in interface ExtensionInfopublic java.util.Map<java.lang.String,java.net.URI> codebaseAliases()
ExtensionInfocodebaseAliases in interface ExtensionInfo