JML

org.multijava.mjc
Class Main.ExpectedType

java.lang.Object
  extended byorg.multijava.mjc.Main.ExpectedResult
      extended byorg.multijava.mjc.Main.ExpectedType
Enclosing class:
Main

protected static class Main.ExpectedType
extends Main.ExpectedResult


Field Summary
 
Fields inherited from class org.multijava.mjc.Main.ExpectedResult
 
Constructor Summary
private Main.ExpectedType(String qualifiedName)
           
 
Method Summary
 boolean equals(Object o)
           
 boolean foundIn(JCompilationUnitType cu)
          Returns true if this expected result is contained in cu.
static Main.ExpectedType instance(String qualifiedName)
          Clients, including Main, should always use this factory method to create instances and should not call the constructor.
 String toString()
           
 
Methods inherited from class org.multijava.mjc.Main.ExpectedResult
equals, hashCode, isIndifferent, qualifiedName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Main.ExpectedType

private Main.ExpectedType(String qualifiedName)
Method Detail

instance

public static Main.ExpectedType instance(String qualifiedName)
Clients, including Main, should always use this factory method to create instances and should not call the constructor.


foundIn

public boolean foundIn(JCompilationUnitType cu)
Returns true if this expected result is contained in cu.


equals

public boolean equals(Object o)
Specified by:
equals in class Main.ExpectedResult

toString

public String toString()
Overrides:
toString in class Main.ExpectedResult

JML

JML is Copyright (C) 1998-2002 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. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.