|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.mjc.CUniverse
org.multijava.mjc.CUniverseReadonly
Implements the readonly universe.
| Field Summary | |
static byte |
byteConstant
The constant used in the bytecode to represent this universe. |
private static CUniverseReadonly |
instance
The singleton readonly instance. |
| Constructor Summary | |
protected |
CUniverseReadonly()
|
| Method Summary | |
boolean |
equals(Object other)
Any readonly reference equals other readonly or implicit-readonly references. |
byte |
getByteConstant()
Returns the bytecode constant representing this particular universe. |
static CUniverseReadonly |
getUniverse()
Get an instance of the readonly universe. |
boolean |
isAlwaysAssignableTo(CUniverse other)
A readonly reference is only assignable to another readonly reference. |
String |
toString()
Return "readonly". |
| Methods inherited from class org.multijava.mjc.CUniverse |
combine, toJMLString, toMJString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static CUniverseReadonly instance
public static final byte byteConstant
| Constructor Detail |
protected CUniverseReadonly()
| Method Detail |
public boolean equals(Object other)
equals in class CUniversepublic boolean isAlwaysAssignableTo(CUniverse other)
public static CUniverseReadonly getUniverse()
public String toString()
toString in class CUniversepublic byte getByteConstant()
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||