Class Ajc

    • Constructor Detail

      • Ajc

        public Ajc()
        Deprecated.
    • Method Detail

      • getInpath

        public ConfigurableFileCollection getInpath()
        Deprecated.
        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, delimited by the platform-specific path delimiter.
      • getAspectpath

        public ConfigurableFileCollection getAspectpath()
        Deprecated.
        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, delimited by the platform- specific classpath delimiter.
      • getOutjar

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

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

        public RegularFileProperty getOutxmlfile()
        Deprecated.
        Generate aop.xml file for load-time weaving with custom name.
      • getCrossrefs

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

        public Property<Boolean> getVersion()
        Deprecated.
        Emit the version of the AspectJ compiler.
      • getClasspath

        public ConfigurableFileCollection getClasspath()
        Deprecated.
        Specify where to find user class files. Path is a single argument containing a list of paths to zip files or directories, delimited by the platform-specific path delimiter.
      • getBootclasspath

        public ConfigurableFileCollection getBootclasspath()
        Deprecated.
        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, delimited by the platform-specific path delimiter.
      • getExtdirs

        public ConfigurableFileCollection getExtdirs()
        Deprecated.
        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, delimited by the platform-specific path delimiter.
      • getDestinationDir

        public DirectoryProperty getDestinationDir()
        Deprecated.
        Specify where to place generated .class files.
      • getNowarn

        public Property<Boolean> getNowarn()
        Deprecated.
        Emit no warnings (equivalent to '-warn:none') This does not suppress messages generated by declare warning or Xlint.
      • getWarn

        public ListProperty<String> getWarn()
        Deprecated.
        Emit warnings for any instances of the comma-delimited list of questionable code (eg '-warn:unusedLocals,deprecation'): constructorName method with constructor name packageDefaultMethod attempt to override package-default method deprecation usage of deprecated type or member maskedCatchBlocks hidden catch block unusedLocals local variable never read unusedArguments method argument never read unusedImports import statement not used by code in file none suppress all compiler warnings -warn:none does not suppress messages generated by declare warning or Xlint.
      • getDeprecation

        public Property<Boolean> getDeprecation()
        Deprecated.
        Same as -warn:deprecation
      • getNoImportError

        public Property<Boolean> getNoImportError()
        Deprecated.
        Emit no errors for unresolved imports
      • getProceedOnError

        public Property<Boolean> getProceedOnError()
        Deprecated.
        Keep compiling after error, dumping class files with problem methods
      • getG

        public ListProperty<String> getG()
        Deprecated.
        debug attributes level, that may take three forms: -g all debug info ('-g:lines,vars,source') -g:none no debug info -g:{items} debug info for any/all of [lines, vars, source], e.g., -g:lines,source
      • getPreserveAllLocals

        public Property<Boolean> getPreserveAllLocals()
        Deprecated.
        Preserve all local variables during code generation (to facilitate debugging).
      • getReferenceInfo

        public Property<Boolean> getReferenceInfo()
        Deprecated.
        Compute reference information.
      • getEncoding

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

        public Property<Boolean> getShowWeaveInfo()
        Deprecated.
        Emit messages about weaving
      • getLog

        public RegularFileProperty getLog()
        Deprecated.
        Specify a log file for compiler messages.
      • getProgress

        public Property<Boolean> getProgress()
        Deprecated.
        Show progress (requires -log mode).
      • getTime

        public Property<Boolean> getTime()
        Deprecated.
        Display speed information.
      • getXterminateAfterCompilation

        @Input
        public Property<Boolean> getXterminateAfterCompilation()
        Deprecated.
        Causes compiler to terminate before weaving
      • getXaddSerialVersionUID

        @Input
        public Property<Boolean> getXaddSerialVersionUID()
        Deprecated.
        Causes the compiler to calculate and add the SerialVersionUID field to any type implementing Serializable that is affected by an aspect. The field is calculated based on the class before weaving has taken place.
      • getXnoInline

        @Input
        public Property<Boolean> getXnoInline()
        Deprecated.
        (Experimental) do not inline around advice
      • getXserializableAspects

        @Input
        public Property<Boolean> getXserializableAspects()
        Deprecated.
        (Experimental) Normally it is an error to declare aspects Serializable. This option removes that restriction.
      • getXnotReweavable

        @Input
        public Property<Boolean> getXnotReweavable()
        Deprecated.
        (Experimental) Create class files that can't be subsequently rewoven by AspectJ.