Package com.bc.ceres.compiler
Class Code
- java.lang.Object
-
- javax.tools.SimpleJavaFileObject
-
- com.bc.ceres.compiler.Code
-
- All Implemented Interfaces:
FileObject
,JavaFileObject
- Direct Known Subclasses:
ExpressionCode
public class Code extends SimpleJavaFileObject
A file object used to represent Java source coming from a string.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.tools.JavaFileObject
JavaFileObject.Kind
-
-
Field Summary
-
Fields inherited from class javax.tools.SimpleJavaFileObject
kind, uri
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharSequence
getCharContent(boolean ignoreEncodingErrors)
String
getClassName()
-
Methods inherited from class javax.tools.SimpleJavaFileObject
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUri
-
-
-
-
Method Detail
-
getClassName
public String getClassName()
-
getCharContent
public CharSequence getCharContent(boolean ignoreEncodingErrors)
- Specified by:
getCharContent
in interfaceFileObject
- Overrides:
getCharContent
in classSimpleJavaFileObject
-
-