Package org.aspectj.ajde.core.internal
Klasse OutputLocationAdapter
java.lang.Object
org.aspectj.ajde.core.internal.OutputLocationAdapter
- Alle implementierten Schnittstellen:
CompilationResultDestinationManager
Enables the output locations detailed by the IOutputLocationManager implementation to be related to the comipler/weaver.
-
Feldübersicht
Von Schnittstelle geerbte Felder org.aspectj.ajdt.internal.compiler.CompilationResultDestinationManager
FILETYPE_CLASS, FILETYPE_OUTJAR, FILETYPE_RESOURCE, FILETYPE_UNKNOWN -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintdiscoverChangesSince(File dir, long buildtime) Return a list of all output locations handled by this OutputLocationManagerReturn the default output location (for example, <my_project>/bin).Return a map from fully qualified jar/dir entries to handle components.getOutputLocationForClass(File compilationUnit) Return the directory root under which the results of compiling the given source file.getOutputLocationForResource(File resource) When copying resources from source folders to output location, return the root directory under which the resource should be copied.getSourceFolderForFile(File sourceFile) Return the source folder where this source file came from, relative to the project root.voidreportFileRemove(String outputfile, int filetype) Report that a class file is being deleted from the specified location.voidreportFileWrite(String outputfile, int filetype) Report that a class file is being written to the specified location.
-
Konstruktordetails
-
OutputLocationAdapter
-
-
Methodendetails
-
getOutputLocationForClass
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManagerReturn the directory root under which the results of compiling the given source file. For example, if the source file contains the type a.b.C, and this method returns "target/classes" the resulting class file will be written to "target/classes/a/b/C.class"- Angegeben von:
getOutputLocationForClassin SchnittstelleCompilationResultDestinationManager- Parameter:
compilationUnit- the compilation unit that has been compiled- Gibt zurück:
- a File object representing the root directory under which compilation results for this unit should be written
-
getSourceFolderForFile
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManagerReturn the source folder where this source file came from, relative to the project root. For example 'src' or 'src/main/java' or 'src/test/java'- Angegeben von:
getSourceFolderForFilein SchnittstelleCompilationResultDestinationManager- Parameter:
sourceFile- the file for which the source folder should be determined- Gibt zurück:
- the source folder
-
getOutputLocationForResource
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManagerWhen copying resources from source folders to output location, return the root directory under which the resource should be copied.- Angegeben von:
getOutputLocationForResourcein SchnittstelleCompilationResultDestinationManager- Parameter:
resource- the resource to be copied- Gibt zurück:
- a File object representing the root directory under which this resource should be copied
-
getAllOutputLocations
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManagerReturn a list of all output locations handled by this OutputLocationManager- Angegeben von:
getAllOutputLocationsin SchnittstelleCompilationResultDestinationManager
-
getDefaultOutputLocation
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManagerReturn the default output location (for example, <my_project>/bin). This is where classes which are on the inpath will be placed.- Angegeben von:
getDefaultOutputLocationin SchnittstelleCompilationResultDestinationManager
-
reportFileWrite
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManagerReport that a class file is being written to the specified location.- Angegeben von:
reportFileWritein SchnittstelleCompilationResultDestinationManager- Parameter:
outputfile- the output file (including .class suffix)
-
reportFileRemove
Beschreibung aus Schnittstelle kopiert:CompilationResultDestinationManagerReport that a class file is being deleted from the specified location.- Angegeben von:
reportFileRemovein SchnittstelleCompilationResultDestinationManager- Parameter:
outputfile- the output file (including .class suffix)
-
discoverChangesSince
- Angegeben von:
discoverChangesSincein SchnittstelleCompilationResultDestinationManager
-
getInpathMap
Return a map from fully qualified jar/dir entries to handle components.- Angegeben von:
getInpathMapin SchnittstelleCompilationResultDestinationManager- Gibt zurück:
- a map from inpath entries (jars/dirs) to handle components.
-