public class AssertUtil
extends java.lang.Object
Constructor and Description |
---|
AssertUtil(java.lang.String parentElement,
Reporter reporter,
ClassPool programClassPool,
ClassPool libraryClassPool) |
Modifier and Type | Method and Description |
---|---|
void |
reportIfClassDangling(java.lang.String checkedElementName,
Clazz clazz) |
void |
reportIfFieldDangling(java.lang.String checkedElementName,
Clazz checkedClass,
Field field) |
void |
reportIfMethodDangling(java.lang.String checkedElementName,
Clazz checkedClass,
Method method) |
void |
reportIfNull(java.lang.String checkedElementName,
java.lang.Object... checkedElement) |
void |
reportIfNullReference(java.lang.String checkedElementName,
java.lang.Object checkedElement) |
void |
setParentElement(java.lang.String parentElement) |
public void setParentElement(java.lang.String parentElement)
public void reportIfNull(java.lang.String checkedElementName, java.lang.Object... checkedElement)
public void reportIfNullReference(java.lang.String checkedElementName, java.lang.Object checkedElement)
public void reportIfClassDangling(java.lang.String checkedElementName, Clazz clazz)
public void reportIfFieldDangling(java.lang.String checkedElementName, Clazz checkedClass, Field field)