Package gov.nasa.jpf.conformanceChecker.comparators

Examples of gov.nasa.jpf.conformanceChecker.comparators.MethodInfoComparator


        && checkStaticFields(cls, standardVersions);
  }

  boolean checkMethods(ClassInfo cls, Map<MaybeVersion, ClassInfo> standardVersions) {
    boolean noInconsistencies = true;
    MethodInfoComparator cmp = new MethodInfoComparator();
    MethodInfo[] modelMethods = cls.getDeclaredMethodInfos();
    for (MaybeVersion ver : standardVersions.keySet()) {
      ClassInfo std = standardVersions.get(ver);
      MethodInfo[] stdMethods = std.getDeclaredMethodInfos();
      Arrays.sort(stdMethods, cmp);
View Full Code Here


   * peer methods of the given native peer class.
   *
   * @see NativePeerChecker#getPeerMethods(ClassInfo)
   */
  protected MethodInfo[] getSortedPeerMethods(ClassInfo peer) {
    MethodInfoComparator comparator = new MethodInfoComparator();
    MethodInfo[] peerMethods = getPeerMethods(peer);
    Arrays.sort(peerMethods, comparator);
    return peerMethods;
  }
View Full Code Here

TOP

Related Classes of gov.nasa.jpf.conformanceChecker.comparators.MethodInfoComparator

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.