Klasse HookedJavaFileObject
java.lang.Object
javax.tools.ForwardingFileObject<F>
javax.tools.ForwardingJavaFileObject<JavaFileObject>
org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.HookedJavaFileObject
- Alle implementierten Schnittstellen:
FileObject,JavaFileObject
A delegating JavaFileObject that hooks the close() methods of the Writer
or OutputStream objects that it produces, and notifies the annotation
dispatch manager when a new compilation unit is produced.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen javax.tools.JavaFileObject
JavaFileObject.Kind -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected final StringThe name of the file that is created; this is passed to the CompilationUnit constructor, and ultimately to the java.io.File constructor, so it is a normal pathname, just like what would be on the compiler command line.protected final BatchFilerImplThe Filer implementation that we need to notify when a new file is created.Von Klasse geerbte Felder javax.tools.ForwardingFileObject
fileObject -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungHookedJavaFileObject(JavaFileObject fileObject, String fileName, String typeName, BatchFilerImpl filer) -
Methodenübersicht
Von Klasse geerbte Methoden javax.tools.ForwardingJavaFileObject
getAccessLevel, getKind, getNestingKind, isNameCompatibleVon Klasse geerbte Methoden javax.tools.ForwardingFileObject
delete, getCharContent, getLastModified, getName, openInputStream, openReader, toUriVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden javax.tools.FileObject
delete, getCharContent, getLastModified, getName, openInputStream, openReader, toUri
-
Felddetails
-
_filer
The Filer implementation that we need to notify when a new file is created. -
_fileName
The name of the file that is created; this is passed to the CompilationUnit constructor, and ultimately to the java.io.File constructor, so it is a normal pathname, just like what would be on the compiler command line.
-
-
Konstruktordetails
-
HookedJavaFileObject
public HookedJavaFileObject(JavaFileObject fileObject, String fileName, String typeName, BatchFilerImpl filer)
-
-
Methodendetails
-
openOutputStream
- Angegeben von:
openOutputStreamin SchnittstelleFileObject- Setzt außer Kraft:
openOutputStreamin KlasseForwardingFileObject<JavaFileObject>- Löst aus:
IOException
-
openWriter
- Angegeben von:
openWriterin SchnittstelleFileObject- Setzt außer Kraft:
openWriterin KlasseForwardingFileObject<JavaFileObject>- Löst aus:
IOException
-
closed
protected void closed()
-