Class AspectJCompileOptions

    • Constructor Detail

      • AspectJCompileOptions

        @Inject
        public AspectJCompileOptions​(ObjectFactory objectFactory)
    • Method Detail

      • getInpath

        public ConfigurableFileCollection getInpath()
        Accept as source bytecode any .class files in the .jar files or directories on Path. The output will include these classes, possibly as woven with any applicable aspects. Path is a single argument containing a list of paths to zip files or directories.
      • getAspectpath

        public ConfigurableFileCollection getAspectpath()
        Weave binary aspects from jar files and directories on path into all sources. The aspects should have been output by the same version of the compiler. When running the output classes, the run classpath should contain all aspectpath entries. Path, like classpath, is a single argument containing a list of paths to jar files.
      • getOutjar

        public RegularFileProperty getOutjar()
        Put output classes in zip file output.jar.
      • getOutxml

        public Property<Boolean> getOutxml()
        Generate aop xml file for load-time weaving with default name (META-INF/aop-ajc.xml).
      • getOutxmlfile

        public Property<String> getOutxmlfile()
        Generate aop.xml file for load-time weaving with custom name.
      • getSourceroots

        public ConfigurableFileCollection getSourceroots()
        Find and build all .java or .aj source files under any directory listed in DirPaths. DirPaths, like classpath, is a single argument containing a list of paths to directories.
      • getCrossrefs

        public Property<Boolean> getCrossrefs()
        Generate a build .ajsym file into the output directory. Used for viewing crosscutting references by tools like the AspectJ Browser.
      • getBootclasspath

        public ConfigurableFileCollection getBootclasspath()
        Override location of VM's bootclasspath for purposes of evaluating types when compiling. Path is a single argument containing a list of paths to zip files or directories.
      • getExtdirs

        public ConfigurableFileCollection getExtdirs()
        Override location of VM's extension directories for purposes of evaluating types when compiling. Path is a single argument containing a list of paths to directories.
      • getEncoding

        public Property<String> getEncoding()
        Specify default source encoding format.
      • getVerbose

        public Property<Boolean> getVerbose()
        Emit messages about accessed/processed compilation units.
      • getCompilerArgs

        public List<String> getCompilerArgs()
        Any additional arguments to be passed to the compiler.
      • getForkOptions

        public AjcForkOptions getForkOptions()
        Options for running the compiler in a child process.
      • setCompilerArgs

        public void setCompilerArgs​(List<String> compilerArgs)
        Any additional arguments to be passed to the compiler.
      • setForkOptions

        public void setForkOptions​(AjcForkOptions forkOptions)
        Options for running the compiler in a child process.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object