Class 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 Detail

      • addIProxyFactory

        public void addIProxyFactory​(String iface,
                                     String fqn)
      • surfaceGeneratedProxyFactoryClasses

        public void surfaceGeneratedProxyFactoryClasses​(com.sun.tools.javac.util.Context context,
                                                        com.sun.source.tree.CompilationUnitTree compilationUnit)