public class SourceCode extends GraphMember
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
children, name, parentNode, PROPERTY_CHILD, PROPERTY_CLASSNAME, PROPERTY_LITERAL, PROPERTY_MODIFIERS, PROPERTY_NAME, PROPERTY_PARENT, PROPERTY_PATH, PROPERTY_THIS, PROPERTY_VISIBILITY| Constructor and Description |
|---|
SourceCode() |
check, getAnnotation, getChildren, getClazz, getDiff, getFullId, getModifier, getName, getNodes, getParent, getValue, remove, setName, setParentNode, with, withAnnotation, withModifier, withoutpublic static final java.lang.String NAME
public SourceCode withFileName(java.lang.String name)
public java.lang.String getFileName()
public CharacterBuffer getContent()
public SourceCode withContent(CharacterBuffer content)
public int size()
public SimpleList<SymTabEntry> getSymbolEntries(java.lang.String type)
public SymTabEntry getSymbolEntry(java.lang.String type, java.lang.String name)
public SimpleKeyValueList<java.lang.String,SimpleList<SymTabEntry>> getSymbolTab()
public GraphMember with(Clazz parent)
parent - Set The Parent Elementpublic boolean isFileBodyHasChanged()
public void setFileBodyHasChanged(boolean fileBodyHasChanged)
public java.lang.CharSequence subString(int start,
int end)
public int getEndOfClassName()
public SourceCode withEndOfClassName(int value)
public int getEndOfExtendsClause()
public SourceCode withEndOfExtendsClause(int value)
public int getEndOfImports()
public SourceCode withEndOfImports(int value)
public SourceCode withEndOfImplementsClause(int value)
public int getEndOfImplementsClause()
public SourceCode withStartBody(int value)
public int getBodyStart()
public SourceCode withEndOfAttributeInitialization(int value)
public int getEndOfAttributeInitialization()
public void replaceAll(int bodyStartPos,
java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Objectpublic SourceCode withEndBody(int value)
public int getEndOfBody()
public SourceCode withStartImports(int value)
public int getStartOfImports()