Package org.assertj.core.error
Class GroupTypeDescription
java.lang.Object
org.assertj.core.error.GroupTypeDescription
Generates a description for the type of a group of elements. The description is used in the error message.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GroupTypeDescriptiongetGroupTypeDescription(Class<?> clazz) Creates a newfor a group of elements.GroupTypeDescriptionstatic GroupTypeDescriptiongetGroupTypeDescription(Object actual) Creates a newfor a group of elements.GroupTypeDescription
-
Field Details
-
SPLITERATORS_CLASS_STACK_TRACE_NUM
private static final int SPLITERATORS_CLASS_STACK_TRACE_NUM- See Also:
-
groupTypeName
-
elementTypeName
-
-
Constructor Details
-
GroupTypeDescription
-
-
Method Details
-
getElementTypeName
-
getGroupTypeName
-
getGroupTypeDescription
Creates a newfor a group of elements.GroupTypeDescription- Parameters:
actual- the group of elements.- Returns:
- the created GroupTypeDescription object
-
getGroupTypeDescription
Creates a newfor a group of elements.GroupTypeDescription- Parameters:
clazz- the class for the group of elements.- Returns:
- the created GroupTypeDescription object
-