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 GroupTypeDescription
getGroupTypeDescription
(Class<?> clazz) Creates a new
for a group of elements.GroupTypeDescription
static GroupTypeDescription
getGroupTypeDescription
(Object actual) Creates a new
for 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 new
for a group of elements.GroupTypeDescription
- Parameters:
actual
- the group of elements.- Returns:
- the created GroupTypeDescription object
-
getGroupTypeDescription
Creates a new
for a group of elements.GroupTypeDescription
- Parameters:
clazz
- the class for the group of elements.- Returns:
- the created GroupTypeDescription object
-