|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.osjava.jardiff.SimpleDiffCriteria
public class SimpleDiffCriteria
A specific type of DiffCriteria which is only true for classes, methods and fields which are not synthetic, and are public or protected.
Constructor Summary | |
---|---|
SimpleDiffCriteria()
|
Method Summary | |
---|---|
boolean |
differs(ClassInfo oldInfo,
ClassInfo newInfo)
Check if there is a change between two versions of a class. |
boolean |
differs(FieldInfo oldInfo,
FieldInfo newInfo)
Check if there is a change between two versions of a field. |
boolean |
differs(MethodInfo oldInfo,
MethodInfo newInfo)
Check if there is a change between two versions of a method. |
boolean |
validClass(ClassInfo info)
Check if a class is valid. |
boolean |
validField(FieldInfo info)
Check if a field is valid. |
boolean |
validMethod(MethodInfo info)
Check if a method is valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleDiffCriteria()
Method Detail |
---|
public boolean validClass(ClassInfo info)
validClass
in interface DiffCriteria
info
- Info describing the class.
public boolean validMethod(MethodInfo info)
validMethod
in interface DiffCriteria
info
- Info describing the method.
public boolean validField(FieldInfo info)
validField
in interface DiffCriteria
info
- Info describing the field.
public boolean differs(ClassInfo oldInfo, ClassInfo newInfo)
differs
in interface DiffCriteria
oldInfo
- Info about the old version of the class.newInfo
- Info about the new version of the class.
public boolean differs(MethodInfo oldInfo, MethodInfo newInfo)
differs
in interface DiffCriteria
oldInfo
- Info about the old version of the method.newInfo
- Info about the new version of the method.
public boolean differs(FieldInfo oldInfo, FieldInfo newInfo)
differs
in interface DiffCriteria
oldInfo
- Info about the old version of the field.newInfo
- Info about the new version of the field.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |