JML

org.jmlspecs.checker
Class JMLDefaultWarningFilter

java.lang.Object
  extended byorg.multijava.mjc.DefaultFilter
      extended byorg.jmlspecs.checker.JMLWarningFilter
          extended byorg.jmlspecs.checker.JMLDefaultWarningFilter
All Implemented Interfaces:
WarningFilter
Direct Known Subclasses:
JMLRacWarningFilter

public class JMLDefaultWarningFilter
extends JMLWarningFilter

A warning filter for JML.

Author:
Gary T. Leavens

Field Summary
 
Fields inherited from interface org.multijava.util.compiler.WarningFilter
FLT_ACCEPT, FLT_FORCE, FLT_REJECT
 
Constructor Summary
JMLDefaultWarningFilter()
           
 
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

JMLDefaultWarningFilter

public JMLDefaultWarningFilter()
Method Detail

filter

public int filter(CWarning warning)
Filters a warning

Specified by:
filter in interface WarningFilter
Overrides:
filter in class JMLWarningFilter
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.