JML

org.multijava.mjc
Class UniverseFilter

java.lang.Object
  extended byorg.multijava.mjc.UniverseFilter
All Implemented Interfaces:
WarningFilter

public class UniverseFilter
extends Object
implements WarningFilter

A filter that lets all Universe related messages pass. This allows a programmer to increase the warning level and still only see Universe related messages.


Field Summary
 
Fields inherited from interface org.multijava.util.compiler.WarningFilter
FLT_ACCEPT, FLT_FORCE, FLT_REJECT
 
Constructor Summary
UniverseFilter()
           
 
Method Summary
 int filter(CWarning warning)
          Filters a warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniverseFilter

public UniverseFilter()
Method Detail

filter

public int filter(CWarning warning)
Filters a warning

Specified by:
filter in interface WarningFilter
Parameters:
warning - a warning to be filtred
Returns:
FLT_REJECT, FLT_FORCE, FLT_ACCEPT

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.