com.ochafik.lang.compiler
Class MemoryJavaFile
java.lang.Object
com.ochafik.lang.compiler.MemoryFileObject
com.ochafik.lang.compiler.MemoryJavaFile
- All Implemented Interfaces:
- FileObject, JavaFileObject
public class MemoryJavaFile
- extends MemoryFileObject
- implements JavaFileObject
Methods inherited from class com.ochafik.lang.compiler.MemoryFileObject |
delete, getCharContent, getContent, getLastModified, getName, getPath, openInputStream, openOutputStream, openReader, openWriter, toString, toUri |
MemoryJavaFile
public MemoryJavaFile(String path,
String content,
JavaFileObject.Kind kind)
getAccessLevel
public Modifier getAccessLevel()
- Specified by:
getAccessLevel
in interface JavaFileObject
getKind
public JavaFileObject.Kind getKind()
- Specified by:
getKind
in interface JavaFileObject
getNestingKind
public NestingKind getNestingKind()
- Specified by:
getNestingKind
in interface JavaFileObject
isNameCompatible
public boolean isNameCompatible(String simpleName,
JavaFileObject.Kind kind)
- Specified by:
isNameCompatible
in interface JavaFileObject
Copyright © 2009. All Rights Reserved.