public final class ConstructorSymbol extends ParamSymbol
| Modifier and Type | Method and Description |
|---|---|
static ConstructorSymbol |
construct(ClassSymbol csymbol,
Identifier name,
Parameter[] params,
TypeExpression[] atypes,
ConstructorDeclaration decl,
ErrorStream error)
Construct class method symbol from declaration (NULL in case of error).
|
ConstructorDeclaration |
getDeclaration()
Get declaration of method.
|
void |
print(java.io.PrintWriter out)
Print symbol on output stream.
|
getArgumentTypes, getBodyJudgement, getCall, getClassSymbol, getLoops, getObligations, getOptional, getParameterArray, getParams, getPreconditions, getPreMap, getRecursion, getSatisfies, getSpecification, getTCCs, reset, setBodyJudgement, setCall, setPreMap, setRecursion, setSatisfies, setSpecificationgetLongNamegetNameequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLongNamepublic static ConstructorSymbol construct(ClassSymbol csymbol, Identifier name, Parameter[] params, TypeExpression[] atypes, ConstructorDeclaration decl, ErrorStream error)
csymbol - the symbol of the class holding the declaration.name - the name of the symbol.params - the parameters.atypes - the argument types of its arguments.decl - the declaration introducing the symbol.error - the stream to be used for printing errors.public ConstructorDeclaration getDeclaration()
getDeclaration in interface SymbolgetDeclaration in class ParamSymbolpublic void print(java.io.PrintWriter out)
out - the output stream.