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
Methods inherited from class com.jeantessier.diff.RemovableDifferences |
compareTo, IsEmpty, IsModified, IsNew, IsRemoved, Name, NewDeclaration, NewDeclaration, OldDeclaration, OldDeclaration, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FeatureDifferences
protected FeatureDifferences(java.lang.String name,
Feature_info old_feature,
Feature_info new_feature)
- Only the DifferencesFactory can create instances of this class.
OldFeature
public Feature_info OldFeature()
OldFeature
protected void OldFeature(Feature_info old_feature)
NewFeature
public Feature_info NewFeature()
NewFeature
protected void NewFeature(Feature_info new_feature)
Inherited
public boolean Inherited()
Inherited
public void Inherited(boolean inherited)