com.jeantessier.diff
Class FeatureDifferences

java.lang.Object
  |
  +--com.jeantessier.diff.RemovableDifferences
        |
        +--com.jeantessier.diff.FeatureDifferences
All Implemented Interfaces:
java.lang.Comparable, Differences
Direct Known Subclasses:
ConstructorDifferences, FieldDifferences, MethodDifferences

public abstract class FeatureDifferences
extends RemovableDifferences

Documents the difference, if any, for a given feature (field, constructor, or method). Its subclasses only differ in which Visitor callback they invoke.

See Also:
Visitor

Constructor Summary
protected FeatureDifferences(java.lang.String name, Feature_info oldFeature, Feature_info newFeature)
          Only the DifferencesFactory can create instances of this class.
 
Method Summary
 Feature_info getNewFeature()
           
 Feature_info getOldFeature()
           
 boolean isInherited()
           
 void setInherited(boolean inherited)
           
protected  void setNewFeature(Feature_info newFeature)
           
protected  void setOldFeature(Feature_info oldFeature)
           
 
Methods inherited from class com.jeantessier.diff.RemovableDifferences
compareTo, getName, getNewDeclaration, getOldDeclaration, isEmpty, isModified, isNew, isRemoved, setNewDeclaration, setOldDeclaration, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jeantessier.diff.Differences
accept
 

Constructor Detail

FeatureDifferences

protected FeatureDifferences(java.lang.String name,
                             Feature_info oldFeature,
                             Feature_info newFeature)
Only the DifferencesFactory can create instances of this class.
Method Detail

getOldFeature

public Feature_info getOldFeature()

setOldFeature

protected void setOldFeature(Feature_info oldFeature)

getNewFeature

public Feature_info getNewFeature()

setNewFeature

protected void setNewFeature(Feature_info newFeature)

isInherited

public boolean isInherited()

setInherited

public void setInherited(boolean inherited)


Dependency Finder 1.1.0 © 2001-2004 Jean Tessier.