|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.tools.SimpleJavaFileObject
ua.gradsoft.termware.debug.DebugStubJavaSourceObject
public abstract class DebugStubJavaSourceObject
Base class for debug stubs.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.tools.JavaFileObject |
|---|
JavaFileObject.Kind |
| Field Summary | |
|---|---|
protected String |
contents_
Java source, which we generate. |
protected String |
javaFname_
|
protected String |
name_
short name of class U |
protected String |
packageName_
name of pavkage. |
protected String |
smap_
smap file |
| Fields inherited from class javax.tools.SimpleJavaFileObject |
|---|
kind, uri |
| Constructor Summary | |
|---|---|
DebugStubJavaSourceObject(String javaFname,
String packageName,
String shortClassName)
Creates a new instance of DebugStubJavaSourceObject |
|
| Method Summary | |
|---|---|
protected abstract void |
generateContent()
|
CharSequence |
getCharContent(boolean ignoreEncodingErrors)
return generated Java source code. |
CharSequence |
getSMap()
get SMAP file, defined in JSR-45 |
| Methods inherited from class javax.tools.SimpleJavaFileObject |
|---|
delete, getAccessLevel, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openOutputStream, openReader, openWriter, toString, toUri |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String contents_
protected String smap_
protected String name_
protected String packageName_
protected String javaFname_
| Constructor Detail |
|---|
public DebugStubJavaSourceObject(String javaFname,
String packageName,
String shortClassName)
throws URISyntaxException
URISyntaxException| Method Detail |
|---|
public CharSequence getCharContent(boolean ignoreEncodingErrors)
throws IOException
getCharContent in interface FileObjectgetCharContent in class SimpleJavaFileObjectIOExceptionprotected abstract void generateContent()
public CharSequence getSMap()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||