|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.clirr.core.internal.AbstractDiffReporter
public abstract class AbstractDiffReporter
Constructor Summary | |
---|---|
AbstractDiffReporter(ApiDiffDispatcher dispatcher)
|
Method Summary | |
---|---|
protected ApiDiffDispatcher |
getApiDiffDispatcher()
|
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. |
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. |
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. |
protected void |
log(Message msg,
Severity severity,
java.lang.String clazz,
Method method,
Field field,
java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractDiffReporter(ApiDiffDispatcher dispatcher)
Method Detail |
---|
protected final ApiDiffDispatcher getApiDiffDispatcher()
protected final void log(Message msg, Severity severity, java.lang.String clazz, Method method, Field field, java.lang.String[] args)
protected final Severity getSeverity(JavaType clazz, Severity sev)
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.
clazz
- is the class the change is being reported about.sev
- is the severity that should be reported for public/protected
scoped classes.
protected final Severity getSeverity(JavaType clazz, Method method, Severity sev)
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.
clazz
- is the class containing the method of interestmethod
- is the method the change is being reported about.sev
- is the severity that should be reported for public/protected
scoped methods.
protected final Severity getSeverity(JavaType clazz, Field field, Severity sev)
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.
clazz
- is the class containing the method of interestfield
- is the field the change is being reported about.sev
- is the severity that should be reported for public/protected
scoped field.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |