public class ExpandMethodBody extends ProgramTransformer
| Constructor and Description |
|---|
ExpandMethodBody(SchemaVariable sv) |
ExpandMethodBody(Statement mb) |
| Modifier and Type | Method and Description |
|---|---|
ProgramElement |
transform(ProgramElement pe,
Services services,
SVInstantiations svInst)
Replaces the MethodBodyStatement shortcut with the full body,
performs prefix adjustments in the body (execution context).
|
body, getChildAt, getChildCount, getDimensions, getExpressionAt, getExpressionCount, getKeYJavaType, getKeYJavaType, getKeYJavaType, getLastElement, getName, getPackageReference, getProgramElementName, getReferencePrefix, getStatementAt, getStatementCount, getTypeReferenceAt, getTypeReferenceCount, name, neededInstantiations, needs, prettyPrint, setReferencePrefix, toString, visitcompatibleBlockSize, equals, equalsModRenaming, getArrayPos, hashCode, match, matchChildrengetComments, prettyPrintMain, reuseSignaturegetEndPosition, getFirstElement, getFirstElementIncludingBlocks, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComments, matchpublic ExpandMethodBody(SchemaVariable sv)
public ExpandMethodBody(Statement mb)
public ProgramElement transform(ProgramElement pe, Services services, SVInstantiations svInst)
transform in class ProgramTransformerservices - the Services with all necessary information
about the java programssvInst - the instantiations esp. of the inner and outer labelpe - the ProgramElement on which the execution is performed