public class FakeTreeAppendable extends StringBuilderBasedAppendable implements ITreeAppendable
Constructor and Description |
---|
FakeTreeAppendable() |
FakeTreeAppendable(ImportManager typeSerializer) |
FakeTreeAppendable(ImportManager typeSerializer,
java.lang.String indentation,
java.lang.String lineSeparator) |
Modifier and Type | Method and Description |
---|---|
ITreeAppendable |
append(java.lang.CharSequence string) |
ITreeAppendable |
append(java.lang.Class<?> type) |
ITreeAppendable |
append(JvmType type) |
ITreeAppendable |
decreaseIndentation() |
ErrorTreeAppendable |
errorChild() |
AbstractTraceRegion |
getTraceRegion()
Returns the a trace region.
|
ITreeAppendable |
increaseIndentation() |
ITreeAppendable |
newLine() |
ITreeAppendable |
trace(org.eclipse.emf.ecore.EObject object)
same as trace(object, false)
|
ITreeAppendable |
trace(org.eclipse.emf.ecore.EObject object,
boolean useForDebugging) |
ITreeAppendable |
trace(org.eclipse.emf.ecore.EObject object,
org.eclipse.emf.ecore.EStructuralFeature feature,
int indexInList) |
ITreeAppendable |
trace(ILocationData location) |
ITreeAppendable |
trace(ILocationData location,
boolean useForDebugging) |
ITreeAppendable |
trace(java.lang.Iterable<? extends org.eclipse.emf.ecore.EObject> objects) |
appendType, appendType, getImportManager, getImports
append, charAt, closeScope, createLightweightTypeReferenceSerializer, declareSyntheticVariable, declareUniqueNameVariable, declareVariable, getContent, getGeneratorConfig, getIndentationLevel, getIndentationString, getLineSeparator, getName, getObject, hasName, hasObject, isJava, length, openPseudoScope, openScope, removeName, setGeneratorConfig, setScopeStack, subSequence, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
append, closeScope, declareSyntheticVariable, declareUniqueNameVariable, declareVariable, getContent, getGeneratorConfig, getImports, getName, getObject, hasName, hasObject, length, openPseudoScope, openScope, removeName, toString
isJava
public FakeTreeAppendable()
public FakeTreeAppendable(ImportManager typeSerializer, java.lang.String indentation, java.lang.String lineSeparator)
public FakeTreeAppendable(ImportManager typeSerializer)
public ITreeAppendable append(JvmType type)
append
in interface IAppendable
append
in interface ISourceAppender
append
in interface ITreeAppendable
append
in class AbstractStringBuilderBasedAppendable
public ITreeAppendable append(java.lang.Class<?> type)
append
in interface ITreeAppendable
append
in class AbstractStringBuilderBasedAppendable
public ITreeAppendable append(java.lang.CharSequence string)
append
in interface IAppendable
append
in interface ISourceAppender
append
in interface ITreeAppendable
append
in class AbstractStringBuilderBasedAppendable
public ITreeAppendable decreaseIndentation()
decreaseIndentation
in interface IAppendable
decreaseIndentation
in interface ISourceAppender
decreaseIndentation
in interface ITreeAppendable
decreaseIndentation
in class AbstractStringBuilderBasedAppendable
public ITreeAppendable increaseIndentation()
increaseIndentation
in interface IAppendable
increaseIndentation
in interface ISourceAppender
increaseIndentation
in interface ITreeAppendable
increaseIndentation
in class AbstractStringBuilderBasedAppendable
public ITreeAppendable newLine()
newLine
in interface IAppendable
newLine
in interface ISourceAppender
newLine
in interface ITreeAppendable
newLine
in class AbstractStringBuilderBasedAppendable
public AbstractTraceRegion getTraceRegion()
ITraceRegionProvider
getTraceRegion
in interface ITraceRegionProvider
public ITreeAppendable trace(org.eclipse.emf.ecore.EObject object, boolean useForDebugging)
trace
in interface ITreeAppendable
object
- the object this part should be associated withuseForDebugging
- whether the part is relevant for debuggingpublic ITreeAppendable trace(ILocationData location)
trace
in interface ITreeAppendable
public ITreeAppendable trace(ILocationData location, boolean useForDebugging)
trace
in interface ITreeAppendable
location
- the location that should be traceduseForDebugging
- whether the part is relevant for debuggingpublic ITreeAppendable trace(java.lang.Iterable<? extends org.eclipse.emf.ecore.EObject> objects)
trace
in interface ITreeAppendable
objects
- the iterable of EObject
s that contribute output. May not be empty.public ITreeAppendable trace(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)
trace
in interface ITreeAppendable
public ITreeAppendable trace(org.eclipse.emf.ecore.EObject object)
ITreeAppendable
trace
in interface ITreeAppendable
public ErrorTreeAppendable errorChild()
errorChild
in interface ITreeAppendable