public class MultipleVarDecl extends ProgramTransformer
| Constructor and Description |
|---|
MultipleVarDecl(SchemaVariable sv) |
| Modifier and Type | Method and Description |
|---|---|
ProgramElement |
transform(ProgramElement pe,
Services services,
SVInstantiations svInst)
Replaces a declaration of multiple variables by two variable
declarations where the first one declares a single variable
and the second one the remaining variables.
|
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 MultipleVarDecl(SchemaVariable sv)
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