Package org.overturetool.vdmj.values

Examples of org.overturetool.vdmj.values.NameValuePairMap


        for (Field fi : objVal.type.classdef.getClass().getDeclaredFields())
        {
          if (fi.getName().equals("privateStaticValues"))
          {
            fi.setAccessible(true);
            NameValuePairMap privateStaticValues = (NameValuePairMap) fi.get(objVal.type.classdef);

            for (NameValuePair child : privateStaticValues.asList())
            {
              if (!existingFields.contains(child.name.name))
              {
                values.add(createValue(child.name, objVal.type.classdef, child.value, objVal.getCPU()));
              }
            }
          }
          if (fi.getName().equals("publicStaticValues"))
          {
            fi.setAccessible(true);
            NameValuePairMap privateStaticValues = (NameValuePairMap) fi.get(objVal.type.classdef);

            for (NameValuePair child : privateStaticValues.asList())
            {
              if (!existingFields.contains(child.name.name))
              {
                values.add(createValue(child.name, objVal.type.classdef, child.value, objVal.getCPU()));
              }
View Full Code Here

TOP

Related Classes of org.overturetool.vdmj.values.NameValuePairMap

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.