Klasse AjBuildConfig
java.lang.Object
org.aspectj.ajdt.internal.core.builder.AjBuildConfig
- Alle implementierten Schnittstellen:
CompilerConfigurationChangeFlags
All configuration information needed to run the AspectJ compiler. Compiler options (as opposed to path information) are held in
an AjCompilerOptions instance
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final FileSystem.Classpath[]Von Schnittstelle geerbte Felder org.aspectj.ajdt.internal.core.builder.CompilerConfigurationChangeFlags
ASPECTPATH_CHANGED, CLASSPATH_CHANGED, EVERYTHING, INJARS_CHANGED, INPATH_CHANGED, JAVAOPTIONS_CHANGED, NO_CHANGES, NONSTANDARDOPTIONS_CHANGED, OUTJAR_CHANGED, OUTPUTDESTINATIONS_CHANGED, PROCESSOR_CHANGED, PROJECTSOURCEFILES_CHANGED, PROJECTSOURCERESOURCES_CHANGED, XMLCONFIG_CHANGED -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAjBuildConfig(BuildArgParser buildArgParser) Intialises the javaOptions Map to hold the default JDT Compiler settings. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddToAspectpath(File file) voidaddToAspectpath(Set<File> newAspectpathEntries) voidaddToInjars(File file) voidaddToInpath(File newInpathEntry) voidaddToInpath(Set<File> newInpathEntries) voidbooleanreturned files includes all .class files found in a directory on the inpath, but does not include .class files contained within jars.intReturn the bit flags indicating what has changed since the last time this config was used.This does not include -bootclasspath but includes -extdirs and -classpathgetFiles()returned files includes files explicitly listed on command-line files listed by reference in argument list files files contained in sourceRootDir if that existsbooleanbooleanbooleanvoidinstallGlobals(AjBuildConfig global) Install global values into local config unless values conflict: Collections are unioned values takes local value unless default and global set this only sets one of outputDir and outputJar as neededbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisTiming()booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidremoveAspectPathEntry(int i) removeClasspathEntry(int i) removeInjarsEntry(int i) removeInpathEntry(int i) voidsetAddSerialVerUID(boolean b) voidsetAspectpath(List<File> aspectpath) voidsetBehaveInJava5Way(boolean b) voidsetBootclasspath(List<String> bootclasspath) voidsetChanged(int changes) Indicates what has changed in this configuration compared to the last time it was used, allowing the state management logic to make intelligent optimizations and skip unnecessary work.voidsetCheckedClasspaths(FileSystem.Classpath[] checkedClasspaths) voidsetCheckRuntimeVersion(boolean on) voidsetClasspath(List<String> classpath) voidsetClasspathElementsWithModifiedContents(List<String> cpElementsWithModifiedContents) voidvoidsetConfigFile(File configFile) voidsetEmacsSymMode(boolean emacsSymMode) voidvoidsetGenerateCrossRefsMode(boolean on) voidsetGenerateJavadocsInModelMode(boolean generateJavadocsInModelMode) voidsetGenerateModelMode(boolean structureModelMode) voidsetIncrementalFile(File incrementalFile) voidsetIncrementalMode(boolean incrementalMode) voidvoidvoidsetLintMode(String lintMode) voidsetLintSpecFile(File lintSpecFile) voidsetMakeReflectable(boolean b) voidsetModifiedFiles(List<File> projectSourceFilesChanged) voidsetModuleDesc(IModule moduleDesc) voidsetModulepath(List<String> modulepath) voidsetModulepathClasspathEntries(ArrayList<FileSystem.Classpath> modulepathClasspathEntries) voidsetModulesourcepath(List<String> modulesourcepath) voidsetModulesourcepathClasspathEntries(ArrayList<FileSystem.Classpath> modulesourcepathClasspathEntries) voidsetNoAtAspectJAnnotationProcessing(boolean noProcess) voidsetOutputDir(File outputDir) voidsetOutputJar(File outputJar) voidsetOutxmlName(String name) voidsetProceedOnError(boolean b) voidsetProcessor(String processor) voidsetProcessorPath(String processorPath) voidsetProjectEncoding(String projectEncoding) voidsetShowWeavingInformation(boolean b) voidsetSourcePathResources(Map<String, File> map) voidsetSourceRoots(List<File> sourceRootDir) voidvoidsetTerminateAfterCompilation(boolean b) voidsetTiming(boolean b) voidsetXconfigurationInfo(String info) voidsetXdevPinpointMode(boolean enabled) voidsetXHasMemberSupport(boolean enabled) voidsetXJoinpoints(String jps) voidsetXlazyTjp(boolean b) voidsetXmlConfigured(boolean b) voidsetXmlFiles(List<File> xmlfiles) voidsetXnoInline(boolean xnoInline) voidsetXnotReweavable(boolean b) voidsetXserializableAspects(boolean xserializableAspects) booleanused to indicate whether to proceed after parsing configtoString()
-
Felddetails
-
NO_CHECKED_CLASSPATHS
-
AJLINT_IGNORE
- Siehe auch:
-
AJLINT_WARN
- Siehe auch:
-
AJLINT_ERROR
- Siehe auch:
-
AJLINT_DEFAULT
- Siehe auch:
-
-
Konstruktordetails
-
AjBuildConfig
Intialises the javaOptions Map to hold the default JDT Compiler settings. Added by AMC 01.20.2003 in reponse to bug #29768 and enh. 29769. The settings here are duplicated from those set in org.eclipse.jdt.internal.compiler.batch.Main, but I've elected to copy them rather than refactor the JDT class since this keeps integration with future JDT releases easier (?).
-
-
Methodendetails
-
toString
-
getBuildArgParser
-
getFiles
returned files includes- files explicitly listed on command-line
- files listed by reference in argument list files
- files contained in sourceRootDir if that exists
- Gibt zurück:
- all source files that should be compiled.
-
getXmlFiles
-
setProcessor
-
getProcessor
- Gibt zurück:
- the list of processor classes to execute
-
setProcessorPath
-
getProcessorPath
- Gibt zurück:
- the processor path which can be searched for processors (via META-INF/services)
-
getBinaryFiles
returned files includes all .class files found in a directory on the inpath, but does not include .class files contained within jars. -
getOutputDir
-
getCompilationResultDestinationManager
-
setCompilationResultDestinationManager
-
setFiles
-
setXmlFiles
-
setOutputDir
-
getOptions
-
getClasspath
This does not include -bootclasspath but includes -extdirs and -classpath -
setClasspath
-
getModulepath
-
getModulesourcepath
-
setModulepath
-
setModulesourcepath
-
setCheckedClasspaths
-
getCheckedClasspaths
-
getBootclasspath
-
setBootclasspath
-
getOutputJar
-
getOutxmlName
-
getInpath
-
getInJars
-
getSourcePathResources
-
setOutputJar
-
setOutxmlName
-
setInJars
-
processInPath
public void processInPath() -
setInPath
-
getSourceRoots
-
setSourceRoots
-
getConfigFile
-
setConfigFile
-
setIncrementalMode
public void setIncrementalMode(boolean incrementalMode) -
isIncrementalMode
public boolean isIncrementalMode() -
setIncrementalFile
-
isIncrementalFileMode
public boolean isIncrementalFileMode() -
getFullClasspath
- Gibt zurück:
- List (String) classpath of bootclasspath, injars, inpath, aspectpath entries, specified classpath (extdirs, and classpath), and output dir or jar
-
getLintSpecFile
-
setLintSpecFile
-
getAspectpath
-
setAspectpath
-
addToAspectpath
-
addToInjars
-
hasSources
public boolean hasSources()- Gibt zurück:
- true if any config file, sourceroots, sourcefiles, injars or inpath
-
installGlobals
Install global values into local config unless values conflict:- Collections are unioned
- values takes local value unless default and global set
- this only sets one of outputDir and outputJar as needed
This also configures super if javaOptions change.
- Parameter:
global- the AjBuildConfig to read globals from
-
setSourcePathResources
-
shouldProceed
public boolean shouldProceed()used to indicate whether to proceed after parsing config -
doNotProceed
public void doNotProceed() -
getLintMode
-
getLintOptionsMap
-
setLintMode
-
isTerminateAfterCompilation
public boolean isTerminateAfterCompilation() -
setTerminateAfterCompilation
public void setTerminateAfterCompilation(boolean b) -
isXserializableAspects
public boolean isXserializableAspects() -
setXserializableAspects
public void setXserializableAspects(boolean xserializableAspects) -
setXJoinpoints
-
getXJoinpoints
-
isXnoInline
public boolean isXnoInline() -
setXnoInline
public void setXnoInline(boolean xnoInline) -
isXlazyTjp
public boolean isXlazyTjp() -
setXlazyTjp
public void setXlazyTjp(boolean b) -
setXnotReweavable
public void setXnotReweavable(boolean b) -
setXconfigurationInfo
-
getXconfigurationInfo
-
setXHasMemberSupport
public void setXHasMemberSupport(boolean enabled) -
isXHasMemberEnabled
public boolean isXHasMemberEnabled() -
setXdevPinpointMode
public void setXdevPinpointMode(boolean enabled) -
isXdevPinpoint
public boolean isXdevPinpoint() -
setAddSerialVerUID
public void setAddSerialVerUID(boolean b) -
isAddSerialVerUID
public boolean isAddSerialVerUID() -
setXmlConfigured
public void setXmlConfigured(boolean b) -
setMakeReflectable
public void setMakeReflectable(boolean b) -
isXmlConfigured
public boolean isXmlConfigured() -
isMakeReflectable
public boolean isMakeReflectable() -
isXNotReweavable
public boolean isXNotReweavable() -
isGenerateJavadocsInModelMode
public boolean isGenerateJavadocsInModelMode() -
setGenerateJavadocsInModelMode
public void setGenerateJavadocsInModelMode(boolean generateJavadocsInModelMode) -
isGenerateCrossRefsMode
public boolean isGenerateCrossRefsMode() -
setGenerateCrossRefsMode
public void setGenerateCrossRefsMode(boolean on) -
isCheckRuntimeVersion
public boolean isCheckRuntimeVersion() -
setCheckRuntimeVersion
public void setCheckRuntimeVersion(boolean on) -
isEmacsSymMode
public boolean isEmacsSymMode() -
setEmacsSymMode
public void setEmacsSymMode(boolean emacsSymMode) -
isGenerateModelMode
public boolean isGenerateModelMode() -
setGenerateModelMode
public void setGenerateModelMode(boolean structureModelMode) -
isNoAtAspectJAnnotationProcessing
public boolean isNoAtAspectJAnnotationProcessing() -
setNoAtAspectJAnnotationProcessing
public void setNoAtAspectJAnnotationProcessing(boolean noProcess) -
setShowWeavingInformation
public void setShowWeavingInformation(boolean b) -
getShowWeavingInformation
public boolean getShowWeavingInformation() -
setProceedOnError
public void setProceedOnError(boolean b) -
getProceedOnError
public boolean getProceedOnError() -
setBehaveInJava5Way
public void setBehaveInJava5Way(boolean b) -
getBehaveInJava5Way
public boolean getBehaveInJava5Way() -
setTiming
public void setTiming(boolean b) -
isTiming
public boolean isTiming() -
setTargetAspectjRuntimeLevel
-
getTargetAspectjRuntimeLevel
-
setChanged
public void setChanged(int changes) Indicates what has changed in this configuration compared to the last time it was used, allowing the state management logic to make intelligent optimizations and skip unnecessary work.- Parameter:
changes- set of bitflags, seeCompilerConfigurationChangeFlagsfor flags
-
getChanged
public int getChanged()Return the bit flags indicating what has changed since the last time this config was used.- Gibt zurück:
- the bitflags according too
CompilerConfigurationChangeFlags
-
setModifiedFiles
-
getModifiedFiles
-
setClasspathElementsWithModifiedContents
-
getClasspathElementsWithModifiedContents
-
setProjectEncoding
-
getProjectEncoding
-
setModuleDesc
-
getModuleDesc
-
addToInpath
-
addToInpath
-
addToAspectpath
-
setModulepathClasspathEntries
public void setModulepathClasspathEntries(ArrayList<FileSystem.Classpath> modulepathClasspathEntries) -
setModulesourcepathClasspathEntries
public void setModulesourcepathClasspathEntries(ArrayList<FileSystem.Classpath> modulesourcepathClasspathEntries) -
removeAspectPathEntry
-
removeClasspathEntry
-
removeInpathEntry
-
removeInjarsEntry
-