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.IOException
public void configureFileManagerForPostCompiler() throws java.io.IOException
java.io.IOException
public 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()
ExtensionInfo
typeEncoder
in interface ExtensionInfo
public 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 ExtensionInfo
java.io.IOException
public JobExt jobExt()
public FabricNodeFactory nodeFactory()
public FabricTypeSystem typeSystem()
typeSystem
in interface ExtensionInfo
public 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.IOException
public Store destinationStore()
destinationStore
in interface ExtensionInfo
public NamespaceResolver createNamespaceResolver(java.net.URI ns)
ns
- public java.net.URI platformNamespace()
ExtensionInfo
platformNamespace
in interface ExtensionInfo
public java.net.URI localNamespace()
ExtensionInfo
localNamespace
in interface ExtensionInfo
public java.lang.String namespaceToJavaPackagePrefix(java.net.URI ns)
ExtensionInfo
namespaceToJavaPackagePrefix
in interface ExtensionInfo
public TargetFactory targetFactory()
public java.util.List<java.net.URI> classpath()
ExtensionInfo
classpath
in interface ExtensionInfo
public java.util.List<java.net.URI> sourcepath()
ExtensionInfo
sourcepath
in interface ExtensionInfo
public java.util.List<java.io.File> signaturepath()
public java.util.List<java.io.File> bootclasspath()
ExtensionInfo
bootclasspath
in interface ExtensionInfo
public java.util.Map<java.lang.String,java.net.URI> codebaseAliases()
ExtensionInfo
codebaseAliases
in interface ExtensionInfo