Package io.freefair.gradle.plugins
Class Ajc
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- io.freefair.gradle.plugins.Ajc
-
- All Implemented Interfaces:
Comparable<Task>
,org.gradle.api.internal.DynamicObjectAware
,org.gradle.api.internal.TaskInternal
,ExtensionAware
,Task
,org.gradle.util.Configurable<Task>
@CacheableTask @Deprecated public class Ajc extends DefaultTask
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gradle.api.Task
Task.Namer
-
-
Field Summary
-
Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
-
-
Constructor Summary
Constructors Constructor Description Ajc()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
ajc()
Deprecated.ConfigurableFileCollection
getAspectjClasspath()
Deprecated.ConfigurableFileCollection
getAspectpath()
Deprecated.Weave binary aspects from jar files and directories on path into all sources.ConfigurableFileCollection
getBootclasspath()
Deprecated.Override location of VM's bootclasspath for purposes of evaluating types when compiling.ConfigurableFileCollection
getClasspath()
Deprecated.Specify where to find user class files.Property<Boolean>
getCrossrefs()
Deprecated.Generate a build .ajsym file into the output directory.Property<Boolean>
getDeprecation()
Deprecated.Same as -warn:deprecationDirectoryProperty
getDestinationDir()
Deprecated.Specify where to place generated .class files.Property<String>
getEncoding()
Deprecated.Specify default source encoding format.ConfigurableFileCollection
getExtdirs()
Deprecated.Override location of VM's extension directories for purposes of evaluating types when compiling.ConfigurableFileCollection
getFiles()
Deprecated.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,sourceConfigurableFileCollection
getInpath()
Deprecated.Accept as source bytecode any .class files in the .jar files or directories on Path.RegularFileProperty
getLog()
Deprecated.Specify a log file for compiler messages.Property<Boolean>
getNoImportError()
Deprecated.Emit no errors for unresolved importsProperty<Boolean>
getNowarn()
Deprecated.Emit no warnings (equivalent to '-warn:none') This does not suppress messages generated by declare warning or Xlint.RegularFileProperty
getOutjar()
Deprecated.Put output classes in zip file output.jar.Property<Boolean>
getOutxml()
Deprecated.Generate aop xml file for load-time weaving with default name (META-INF/aop-ajc.xml).RegularFileProperty
getOutxmlfile()
Deprecated.Generate aop.xml file for load-time weaving with custom name.Property<Boolean>
getPreserveAllLocals()
Deprecated.Preserve all local variables during code generation (to facilitate debugging).Property<Boolean>
getProceedOnError()
Deprecated.Keep compiling after error, dumping class files with problem methodsProperty<Boolean>
getProgress()
Deprecated.Show progress (requires -log mode).Property<Boolean>
getReferenceInfo()
Deprecated.Compute reference information.Property<Boolean>
getShowWeaveInfo()
Deprecated.Emit messages about weavingProperty<String>
getSource()
Deprecated.Property<String>
getTarget()
Deprecated.Property<Boolean>
getTime()
Deprecated.Display speed information.Property<Boolean>
getVerbose()
Deprecated.Property<Boolean>
getVersion()
Deprecated.Emit the version of the AspectJ compiler.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.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.Property<Boolean>
getXnoInline()
Deprecated.(Experimental) do not inline around adviceProperty<Boolean>
getXnotReweavable()
Deprecated.(Experimental) Create class files that can't be subsequently rewoven by AspectJ.Property<Boolean>
getXserializableAspects()
Deprecated.(Experimental) Normally it is an error to declare aspects Serializable.Property<Boolean>
getXterminateAfterCompilation()
Deprecated.Causes compiler to terminate before weaving-
Methods inherited from class org.gradle.api.DefaultTask
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
-
-
-
-
Method Detail
-
ajc
public void ajc() throws IOException
Deprecated.- Throws:
IOException
-
getAspectjClasspath
public ConfigurableFileCollection getAspectjClasspath()
Deprecated.
-
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.
-
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.
-
getFiles
public ConfigurableFileCollection getFiles()
Deprecated.
-
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.
-
-