org.crsh.lang.impl.java
Class JavaFileManagerImpl
java.lang.Object
javax.tools.ForwardingJavaFileManager<StandardJavaFileManager>
org.crsh.lang.impl.java.JavaFileManagerImpl
- All Implemented Interfaces:
- Closeable, Flushable, JavaFileManager, OptionChecker
class JavaFileManagerImpl
- extends ForwardingJavaFileManager<StandardJavaFileManager>
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classes
private final LinkedHashMap<String,JavaClassFileObject> classes
- .
finder
private final ClasspathResolver finder
- .
JavaFileManagerImpl
JavaFileManagerImpl(StandardJavaFileManager fileManager,
ClasspathResolver finder)
getClasses
Collection<JavaClassFileObject> getClasses()
hasLocation
public boolean hasLocation(JavaFileManager.Location location)
- Specified by:
hasLocation
in interface JavaFileManager
- Overrides:
hasLocation
in class ForwardingJavaFileManager<StandardJavaFileManager>
inferBinaryName
public String inferBinaryName(JavaFileManager.Location location,
JavaFileObject file)
- Specified by:
inferBinaryName
in interface JavaFileManager
- Overrides:
inferBinaryName
in class ForwardingJavaFileManager<StandardJavaFileManager>
list
public Iterable<JavaFileObject> list(JavaFileManager.Location location,
String packageName,
Set<JavaFileObject.Kind> kinds,
boolean recurse)
throws IOException
- Specified by:
list
in interface JavaFileManager
- Overrides:
list
in class ForwardingJavaFileManager<StandardJavaFileManager>
- Throws:
IOException
getJavaFileForOutput
public JavaFileObject getJavaFileForOutput(JavaFileManager.Location location,
String className,
JavaFileObject.Kind kind,
FileObject sibling)
throws IOException
- Specified by:
getJavaFileForOutput
in interface JavaFileManager
- Overrides:
getJavaFileForOutput
in class ForwardingJavaFileManager<StandardJavaFileManager>
- Throws:
IOException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.