Klasse Ajc
java.lang.Object
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
org.aspectj.tools.ant.taskdefs.compilers.Ajc
- Alle implementierten Schnittstellen:
org.apache.tools.ant.taskdefs.compilers.CompilerAdapter
public class Ajc
extends org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
Ajc uses this as the CompilerAdapter.
This task was developed by the AspectJ Project
- Autor:
- Jeffrey Palm
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final intThe value of a compiler success.Von Klasse geerbte Felder org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
attributes, bootclasspath, compileClasspath, compileList, compileSourcepath, debug, depend, deprecation, destDir, encoding, extdirs, includeAntRuntime, includeJavaRuntime, location, lSep, memoryInitialSize, memoryMaximumSize, optimize, project, src, target, verbose -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanexecute()Checks the command line for arguments allowed only in AJC and disallowed by AJC and then calls thecompile()method.protected voidlogAndAddFilesToCompile(org.apache.tools.ant.types.Commandline cmd) Logs the compilation parameters, adds the files to compile and logs the "niceSourceList"Von Klasse geerbte Methoden org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
addCurrentCompilerArgs, addExtdirsToClasspath, assumeJava11, assumeJava12, assumeJava13, assumeJava14, assumeJava15, executeExternalCompile, executeExternalCompile, getCompileClasspath, getJavac, getNoDebugArgument, getProject, setJavac, setupJavacCommand, setupJavacCommand, setupJavacCommandlineSwitches, setupJavacCommandlineSwitches, setupModernJavacCommand, setupModernJavacCommandlineSwitches
-
Felddetails
-
AJC_COMPILER_SUCCESS
public static final int AJC_COMPILER_SUCCESSThe value of a compiler success.- Siehe auch:
-
-
Konstruktordetails
-
Ajc
public Ajc()
-
-
Methodendetails
-
execute
public boolean execute() throws org.apache.tools.ant.BuildExceptionChecks the command line for arguments allowed only in AJC and disallowed by AJC and then calls thecompile()method.- Gibt zurück:
- true if a good compile, false otherwise.
- Löst aus:
org.apache.tools.ant.BuildException
-
logAndAddFilesToCompile
protected void logAndAddFilesToCompile(org.apache.tools.ant.types.Commandline cmd) Logs the compilation parameters, adds the files to compile and logs the "niceSourceList"- Setzt außer Kraft:
logAndAddFilesToCompilein Klasseorg.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter
-