Package manifold.internal.javac
Class StaticCompiler
- java.lang.Object
-
- manifold.internal.javac.StaticCompiler
-
public class StaticCompiler extends Object
This class compiles resource types optionally specified with the command line arguments:
-Aother.source.files=[file-list]
or
-Amanifold.source.[ext]=[type-name-regex]
Note, the "other.source.files" argument may not be used with the "manifold.source.*" argument.
The specified resource types are compiled after javac finishes compiling the .java source list. Note, if a resource type is referenced by any of the .java files, the resource type sill compiled along with the .java files during javac's normal round of compilation. Thus, this class compiles only the specified resource types that remain uncompiled after .java source files. See Explicit Resource Compilation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddIProxyFactory(String iface, String fqn)static StaticCompilerinstance()voidmapTypeManifoldToTypeNameRegexes(Map<ITypeManifold,Set<String>> typeNames, String fqnOrExt, String regex)voidsurfaceGeneratedProxyFactoryClasses(com.sun.tools.javac.util.Context context, com.sun.source.tree.CompilationUnitTree compilationUnit)
-
-
-
Method Detail
-
instance
public static StaticCompiler instance()
-
surfaceGeneratedProxyFactoryClasses
public void surfaceGeneratedProxyFactoryClasses(com.sun.tools.javac.util.Context context, com.sun.source.tree.CompilationUnitTree compilationUnit)
-
-