Package org.overturetool.vdmj.types

Examples of org.overturetool.vdmj.types.ClassType


          {
            Type t = d.getType();

            if (t instanceof ClassType)
            {
              ClassType ct = (ClassType) t;
              if (ct.classdef instanceof CPUClassDefinition)
              {
                cpus++;
              }
            }
View Full Code Here


       SeqType t1 = (SeqType) t;
     return "seq of (" + getTypeName(t1.seqof) + ")";
     }
    else if (t instanceof ClassType)
    {
      ClassType ct = (ClassType) t;
      if(ct.classdef instanceof CPUClassDefinition)
      {
        return CPU_TYPE_NAME;
      }else if(ct.classdef instanceof BUSClassDefinition)
      {
        return BUS_TYPE_NAME;
      }
      return ct.getName();// "Class";
    } else if (t instanceof OptionalType)
    {
      return getTypeName(((OptionalType) t).type);
    }
   
View Full Code Here

TOP

Related Classes of org.overturetool.vdmj.types.ClassType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.