public class InstantiationImpl extends TermImpl implements Instantiation
Instantiation.| Modifier | Constructor and Description |
|---|---|
protected |
InstantiationImpl()
The default constructor.
|
protected |
InstantiationImpl(BaseFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(Visitor<R> v)
Accepts a visitor.
|
static boolean |
countingFinaliser()
public attribute determining whether to log to the
standard output information about who is creating
this instance of InstantiationImpl (e.g., ic >= sl)
|
InstantiationImpl |
create(Object[] args)
Returns a new object of this class.
|
boolean |
equals(Object obj)
Compares the specified object with this InstantiationImpl
for equality.
|
Object[] |
getChildren() |
Expr |
getExpr()
Returns the Expr element.
|
InstantiationKind |
getInstantiationKind()
Returns the InstantiationKind element.
|
Name |
getName()
Returns the Name element.
|
ZName |
getZName()
This is a convenience method.
|
int |
hashCode()
Returns the hash code value for this InstantiationImpl.
|
static long |
instanceCount()
Only concrete classes get the instance count method visible
|
static long |
instancesFinalised() |
void |
setExpr(Expr expr)
Sets the Expr element.
|
void |
setInstantiationKind(InstantiationKind instantiationKind)
Sets the InstantiationKind element.
|
void |
setName(Name name)
Sets the Name element.
|
annsSize, getAnn, getAnns, getFactory, hasAnn, hasAnn, removeAnn, removeAnn, toStringprotected InstantiationImpl()
object factory.protected InstantiationImpl(BaseFactory factory)
public static boolean countingFinaliser()
public static long instancesFinalised()
public boolean equals(Object obj)
public int hashCode()
public <R> R accept(Visitor<R> v)
public InstantiationImpl create(Object[] args)
public Object[] getChildren()
getChildren in interface Termpublic static long instanceCount()
public Name getName()
InstantiationgetName in interface Instantiationpublic void setName(Name name)
InstantiationsetName in interface Instantiationname - the Name element.Instantiation.getName()public Expr getExpr()
InstantiationgetExpr in interface Instantiationpublic void setExpr(Expr expr)
InstantiationsetExpr in interface Instantiationexpr - the Expr element.Instantiation.getExpr()public InstantiationKind getInstantiationKind()
InstantiationgetInstantiationKind in interface Instantiationpublic void setInstantiationKind(InstantiationKind instantiationKind)
InstantiationsetInstantiationKind in interface InstantiationinstantiationKind - the InstantiationKind element.Instantiation.getInstantiationKind()public ZName getZName()
InstantiationgetZName in interface InstantiationCopyright © 2003–2016 Community Z Tools Project. All rights reserved.