| java.lang.Object net.sf.clirr.core.internal.AbstractDiffReporter
All known Subclasses: net.sf.clirr.core.internal.checks.InterfaceSetCheck, net.sf.clirr.core.internal.checks.FieldSetCheck, net.sf.clirr.core.internal.checks.ClassModifierCheck, net.sf.clirr.core.internal.checks.ClassHierarchyCheck, net.sf.clirr.core.internal.checks.GenderChangeCheck, net.sf.clirr.core.internal.checks.ClassScopeCheck, net.sf.clirr.core.internal.checks.MethodSetCheck,
AbstractDiffReporter | abstract public class AbstractDiffReporter (Code) | | |
Method Summary | |
final protected ApiDiffDispatcher | getApiDiffDispatcher() | final protected Severity | getSeverity(JavaType clazz, Severity sev) Determine whether the severity of the problem should be reduced
to INFO because the specified class is package or private accessibility.
Clirr reports changes at level INFO for all private and package
scoped objects.
Note that the class passed here should always be from the old
class version, because we're checking whether existing code
would have been able to access it (potential compatibility problems)
or not.
Parameters: clazz - is the class the change is being reported about. Parameters: sev - is the severity that should be reported for public/protectedscoped classes. | final protected Severity | getSeverity(JavaType clazz, Method method, Severity sev) Determine whether the severity of the problem should be reduced
to INFO because:
- the specified method is package or private accessibility, or
- the specified method is in a package or private class.
| final protected Severity | getSeverity(JavaType clazz, Field field, Severity sev) Determine whether the severity of the problem should be reduced
to INFO because:
- the specified field is package or private accessibility, or
- the specified field is in a package or private class.
| final protected void | log(Message msg, Severity severity, String clazz, Method method, Field field, String[] args) |
getSeverity | final protected Severity getSeverity(JavaType clazz, Severity sev)(Code) | | Determine whether the severity of the problem should be reduced
to INFO because the specified class is package or private accessibility.
Clirr reports changes at level INFO for all private and package
scoped objects.
Note that the class passed here should always be from the old
class version, because we're checking whether existing code
would have been able to access it (potential compatibility problems)
or not.
Parameters: clazz - is the class the change is being reported about. Parameters: sev - is the severity that should be reported for public/protectedscoped classes. param sev if the class is public/protected, and Severity.INFOif the class is package or private scope. |
getSeverity | final protected Severity getSeverity(JavaType clazz, Method method, Severity sev)(Code) | | Determine whether the severity of the problem should be reduced
to INFO because:
- the specified method is package or private accessibility, or
- the specified method is in a package or private class.
Clirr reports changes at level INFO for all private and package
scoped objects.
Note that the method passed here should always be from the old
class version, because we're checking whether existing code
would have been able to access it (potential compatibility problems)
or not.
Parameters: clazz - is the class containing the method of interest Parameters: method - is the method the change is being reported about. Parameters: sev - is the severity that should be reported for public/protectedscoped methods. param sev if the method is public/protected, and Severity.INFOif the method is package or private scope. |
getSeverity | final protected Severity getSeverity(JavaType clazz, Field field, Severity sev)(Code) | | Determine whether the severity of the problem should be reduced
to INFO because:
- the specified field is package or private accessibility, or
- the specified field is in a package or private class.
Clirr reports changes at level INFO for all private and package
scoped objects.
Note that the field passed here should always be from the old
class version, because we're checking whether existing code
would have been able to access it (potential compatibility problems)
or not.
Parameters: clazz - is the class containing the method of interest Parameters: field - is the field the change is being reported about. Parameters: sev - is the severity that should be reported for public/protectedscoped field. param sev if the field is public/protected, and Severity.INFOif the field is package or private scope. |
|
|