diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2012-11-20 04:04:17 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2012-11-20 04:04:17 +0000 |
commit | 2779d6fe0f5dd175c54f7e415753b0224c593c03 (patch) | |
tree | 787591ededd6b2b9fc052fc9aeac272e505bbe4a /lib/Makefile.am | |
parent | c54ec9a581cb50d3ee475b11a294c56ff6e15208 (diff) | |
download | classpath-2779d6fe0f5dd175c54f7e415753b0224c593c03.tar.gz |
Add JavaFileManager and JavaFileObject, along with methods that use them in Filer and any dependent classes.
2012-11-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/annotation/processing/Filer.java:
(createClassFile(CharSequence,Element...): Added.
(createResource(JavaFileManager.Location, CharSequence,
CharSequence, Element...)): Likewise.
(createSourceFile(CharSequence,Element...): Likewise.
(getResource(JavaFileManager.Location, CharSequence,
CharSequence)): Likewise.
* javax/annotation/processing/FilerException.java:
New class.
(FilerException(String)): Implemented.
* javax/tools/JavaFileManager.java:
New interface.
(Location): New member interface.
(Location.getName()): Added.
(Location.isOutputLocation()): Likewise.
(close()): Likewise.
(flush()): Likewise.
(getClassLoader(Location)): Likewise.
(getFileForInput(Location,String,String)):
Likewise.
(getFileForOutput(Location,String,String,FileObject)):
Likewise.
(getJavaFileForInput(Location,String,
JavaFileObject.Kind)): Likewise.
(getJavaFileForOutput(Location,String,
JavaFileObject.Kind,FileObject)): Likewise.
(handleOption(String,Iterator)): Likewise.
(hasLocation(Location)): Likewise.
(inferBinaryName(Location,JavaFileObject)): Likewise.
(isSameFile(FileObject,FileObject)): Likewise.
(list(Location,String,Set,boolean)): Likewise.
* javax/tools/JavaFileObject.java:
New interface.
(Kind): New inner enum.
(CLASS): Added.
(HTML): Likewise.
(OTHER): Likewise.
(SOURCE): Likewise.
(Kind.extension): New public field.
(Kind.Kind(String)): Implemented.
(getKind()): Added.
(isNameCompatible(String,Kind)): Likewise.
* javax/tools/OptionChecker.java:
New interface.
(isSupportedOption(String)): Added.
* javax/tools/StandardLocation.java:
New enum.
(ANNOTATION_PROCESSOR_PATH): Added.
(CLASS_OUTPUT): Likewise.
(CLASS_PATH): Likewise.
(PLATFORM_CLASS_PATH): Likewise.
(SOURCE_OUTPUT): Likewise.
(SOURCE_PATH): Likewise.
(locCache): Likewise.
(getName()): Implemented.
(locationFor(String)): Implemented.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
Diffstat (limited to 'lib/Makefile.am')
0 files changed, 0 insertions, 0 deletions