Class StaticCompiler
java.lang.Object
manifold.internal.javac.StaticCompiler
This class compiles resource types optionally specified with the command line arguments:
or
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
-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
Modifier and TypeMethodDescriptionvoidaddIProxyFactory(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 Details
-
instance
-
addIProxyFactory
-
surfaceGeneratedProxyFactoryClasses
public void surfaceGeneratedProxyFactoryClasses(com.sun.tools.javac.util.Context context, com.sun.source.tree.CompilationUnitTree compilationUnit) -
mapTypeManifoldToTypeNameRegexes
-