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

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

public final class GenderChangeCheck
extends AbstractDiffReporter
implements ClassChangeCheck

Detects gender changes (a class became an interface or vice versa).

Author:
lkuehne

Constructor Summary
GenderChangeCheck(ApiDiffDispatcher dispatcher)
          Create a new instance of this check.
 
Method Summary
 boolean check(JavaType baseLine, JavaType current)
          
 
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

GenderChangeCheck

public GenderChangeCheck(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 baseLine,
                     JavaType current)

Specified by:
check in interface ClassChangeCheck


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