Package org.osjava.jardiff
Interface DiffCriteria
-
- All Known Implementing Classes:
SimpleDiffCriteria
public interface DiffCriteria
An interface for choosing which API differences are interesting.- Author:
- Antony Riley
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
differs(ClassInfo infoA, ClassInfo infoB)
Check if the differences between the class described by infoA and the class described by infoB are interesting.boolean
differs(FieldInfo fieldinfo, FieldInfo fieldinfo_2_)
Check if the differences between the field described by infoA and the field described by infoB are interesting.boolean
differs(MethodInfo methodinfo, MethodInfo methodinfo_1_)
Check if the differences between the method described by infoA and the method described by infoB are interesting.boolean
validClass(ClassInfo classinfo)
Check if the class described by classinfo is interesting.boolean
validField(FieldInfo fieldinfo)
Check if the method described by fieldinfo is interesting.boolean
validMethod(MethodInfo methodinfo)
Check if the method described by methodinfo is interesting.
-
-
-
Method Detail
-
validClass
boolean validClass(ClassInfo classinfo)
Check if the class described by classinfo is interesting.- Returns:
- true if classinfo is interesting, false otherwise.
-
validMethod
boolean validMethod(MethodInfo methodinfo)
Check if the method described by methodinfo is interesting.- Returns:
- true if methodinfo is interesting, false otherwise.
-
validField
boolean validField(FieldInfo fieldinfo)
Check if the method described by fieldinfo is interesting.- Returns:
- true if fieldinfo is interesting, false otherwise.
-
differs
boolean differs(ClassInfo infoA, ClassInfo infoB)
Check if the differences between the class described by infoA and the class described by infoB are interesting.- Returns:
- true if the changes are interesting, false otherwise.
-
differs
boolean differs(MethodInfo methodinfo, MethodInfo methodinfo_1_)
Check if the differences between the method described by infoA and the method described by infoB are interesting.- Returns:
- true if the changes are interesting, false otherwise.
-
-