net.sf.clirr.core.internal.checks
Class ClassModifierCheck

java.lang.Object
  extended by net.sf.clirr.core.internal.AbstractDiffReporter
      extended by net.sf.clirr.core.internal.checks.ClassModifierCheck
All Implemented Interfaces:
ClassChangeCheck

public final class ClassModifierCheck
extends AbstractDiffReporter
implements ClassChangeCheck

Detects changes in class modifiers (abstract, final).

Author:
lkuehne

Constructor Summary
ClassModifierCheck(ApiDiffDispatcher dispatcher)
          Create a new instance of this check.
 
Method Summary
 boolean check(JavaType compatBaseLine, JavaType currentVersion)
          
 
Methods inherited from class net.sf.clirr.core.internal.AbstractDiffReporter
getApiDiffDispatcher, getSeverity, getSeverity, getSeverity, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassModifierCheck

public ClassModifierCheck(ApiDiffDispatcher dispatcher)
Create a new instance of this check.

Parameters:
dispatcher - the diff dispatcher that distributes the detected changes to the listeners.
Method Detail

check

public boolean check(JavaType compatBaseLine,
                     JavaType currentVersion)

Specified by:
check in interface ClassChangeCheck


Copyright © 2003-2005 Lars Kühne. All Rights Reserved.