mjc

org.multijava.mjc
Class CUniverseImplicitReadonly

java.lang.Object
  extended byorg.multijava.mjc.CUniverse
      extended byorg.multijava.mjc.CUniverseReadonly
          extended byorg.multijava.mjc.CUniverseImplicitReadonly

public class CUniverseImplicitReadonly
extends CUniverseReadonly

Implements the readonly universe.

Author:
WMD

Field Summary
private static CUniverseImplicitReadonly instance
          The singleton readonly instance.
 
Fields inherited from class org.multijava.mjc.CUniverseReadonly
byteConstant
 
Constructor Summary
protected CUniverseImplicitReadonly()
           
 
Method Summary
static CUniverseReadonly getUniverse()
          Get an instance of the readonly universe.
 String toJMLString()
          Output the name of the universe as it should be used for JML code.
 String toMJString()
          Output the name of the universe as it should be used for MJ code.
 String toString()
          Return "[readonly]".
 
Methods inherited from class org.multijava.mjc.CUniverseReadonly
equals, getByteConstant, isAlwaysAssignableTo
 
Methods inherited from class org.multijava.mjc.CUniverse
combine
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

instance

private static CUniverseImplicitReadonly instance
The singleton readonly instance.

Constructor Detail

CUniverseImplicitReadonly

protected CUniverseImplicitReadonly()
Method Detail

getUniverse

public static CUniverseReadonly getUniverse()
Get an instance of the readonly universe. FIXME return type should be implicit!


toString

public String toString()
Return "[readonly]".

Overrides:
toString in class CUniverseReadonly

toMJString

public String toMJString()
Output the name of the universe as it should be used for MJ code.

Overrides:
toMJString in class CUniverse

toJMLString

public String toJMLString()
Output the name of the universe as it should be used for JML code.

Overrides:
toJMLString in class CUniverse

mjc

mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.