public final class ProgramConstant extends ProgramVariable
| Modifier and Type | Field and Description |
|---|---|
private Literal |
compileTimeConstant |
| Constructor and Description |
|---|
ProgramConstant(ProgramElementName name,
KeYJavaType t,
KeYJavaType containingType,
boolean isStatic,
Literal compileTimeConstant) |
| Modifier and Type | Method and Description |
|---|---|
Literal |
getCompileTimeConstant() |
Operator |
rename(Name name)
Returns an equivalent variable with the new name.
|
void |
visit(Visitor v)
calls the corresponding method of a visitor in order to
perform some action/transformation on this element
|
convertToProgram, equalsModRenaming, getComments, getContainerType, getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getKeYJavaType, getKeYJavaType, getKeYJavaType, getLastElement, getPositionInfo, getProgramElementName, getReferencePrefix, getRelativePosition, getStartPosition, isFinal, isGhost, isImplicit, isMember, isModel, isStatic, match, prettyPrint, proofToStringadditionalValidTopLevel, additionalValidTopLevel2, argSort, argSorts, sort, sortarity, bindVarsAt, isRigid, name, toString, validTopLevel, whereToBindclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitargSort, argSorts, sortarity, bindVarsAt, isRigid, sort, validTopLevelprivate final Literal compileTimeConstant
public ProgramConstant(ProgramElementName name, KeYJavaType t, KeYJavaType containingType, boolean isStatic, Literal compileTimeConstant)
public Literal getCompileTimeConstant()
public void visit(Visitor v)
SourceElementvisit in interface SourceElementvisit in class ProgramVariablev - the Visitorpublic Operator rename(Name name)
ProgramVariablerename in class ProgramVariablename - the new name