Classes.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Classes |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private static Class | |
| private static Set | |
| public SELF | Returns: this assertions objectannotations who must be attached to the class annotation)Verifies that the actual |
| public final SELF | Returns: this assertions objectannotations who must be attached to the class annotations)Verifies that the actual |
| protected SELF | |
| public SELF | Returns: this assertions objectthe fields who must be declared in the class. fields)Verifies that the actual |
| public SELF | Returns: this assertions objectthe method names which must be declared in the class. methodNames)Verifies that the actual |
| public SELF | Returns: this assertions objectthe fields who must be in the class. fields)
Deprecated
use
hasPublicFields(String. instead.
|
| public SELF | Returns: this assertions objectthe method names which must be in the class. methodNames)Verifies that the actual |
| public SELF | Returns: this assertions objectVerifies that the actual |
| public SELF | Returns: this assertions objectVerifies that the actual |
| public SELF | Returns: this assertions objectall the fields that are expected to be in the class. fields)Verifies that the actual |
| public SELF | Returns: this assertions objectall the fields that are expected to be in the class. fields)Verifies that the actual |
| public SELF | Returns: this assertions objectthe package name the class should have expected)Verifies that the actual |
| public SELF | Returns: this assertions objectthe package the class should have expected)Verifies that the actual |
| public SELF | Returns: this assertions objectclasses that must be permitted subclasses of the given class permittedSubclasses)Verifies that the actual |
| public SELF | Returns: this assertions objectthe fields who must be in the class. fields)Verifies that the actual |
| public SELF | Returns: this assertions objectthe public method names which must be in the class. methodNames)Verifies that the actual |
| public SELF | Returns: this assertions objectthe first record component name which must be in this class first, String... the remaining record component names which must be in this class rest)Verifies that the actual Example:
|
| public SELF | Returns: this assertions objectthe class which must be the direct superclass of actual. superclass)Verifies that the actual |
| public SELF | Returns: this assertions objectVerifies that the actual |
| public SELF | |
| public SELF | Returns: this assertions objectClass who can be assignable from.Verifies that the actual Example:
|
| public SELF | Returns: this assertions objectClass who can be assignable to.Verifies that the |
| public SELF | Returns: this assertions objectVerifies that the actual |
| public SELF | |
| public SELF | Returns: this assertions objectVerifies that the actual |
| public SELF | Returns: this assertions objectVerifies that the actual |
| public SELF | |
| public SELF | Returns: this assertions objectVerifies that the actual |
| public SELF | |
| public SELF | |
| public SELF | Returns: this assertions objectVerifies that the actual |
| public SELF | Returns: this assertions objectVerifies that the actual |
| public SELF | |
| public SELF | Returns: this assertions objectVerifies that the actual |
| public SELF | Returns: this assertions objectVerifies that the actual |
| public SELF | Returns: this assertions objectVerifies that the actual |
| public SELF | |
| private static boolean | |
| public SELF | |
| private static boolean | |
| public SELF | Returns: this assertions objectVerifies that the actual |
| classes | back to summary |
|---|---|
| pack-priv Classes classes | |
| AbstractClassAssert | back to summary |
|---|---|
| protected AbstractClassAssert(Class<?> actual, Class<?> selfType) | |
| assertHasNoPackage | back to summary |
|---|---|
| private void assertHasNoPackage() | |
| assertHasNoSuperclass | back to summary |
|---|---|
| private void assertHasNoSuperclass() | |
| assertHasPackage | back to summary |
|---|---|
| private void assertHasPackage(String packageName) | |
| assertHasPackage | back to summary |
|---|---|
| private void assertHasPackage(Package expected) | |
| assertHasPermittedSubclasses | back to summary |
|---|---|
| private void assertHasPermittedSubclasses(Class<?>[] expectedPermittedSubclasses) | |
| assertHasRecordComponents | back to summary |
|---|---|
| private void assertHasRecordComponents(String first, String[] rest) | |
| assertHasSuperclass | back to summary |
|---|---|
| private void assertHasSuperclass(Class<?> superclass) | |
| assertIsAbstract | back to summary |
|---|---|
| private void assertIsAbstract() | |
| assertIsAnnotation | back to summary |
|---|---|
| private void assertIsAnnotation() | |
| assertIsAssignableTo | back to summary |
|---|---|
| private void assertIsAssignableTo(Class<?> other) | |
| assertIsFinal | back to summary |
|---|---|
| private void assertIsFinal() | |
| assertIsInterface | back to summary |
|---|---|
| private void assertIsInterface() | |
| assertIsNotAnnotation | back to summary |
|---|---|
| private void assertIsNotAnnotation() | |
| assertIsNotFinal | back to summary |
|---|---|
| private void assertIsNotFinal() | |
| assertIsNotInterface | back to summary |
|---|---|
| private void assertIsNotInterface() | |
| assertIsNotRecord | back to summary |
|---|---|
| private void assertIsNotRecord() | |
| assertIsNotSealed | back to summary |
|---|---|
| private void assertIsNotSealed() | |
| assertIsNotStatic | back to summary |
|---|---|
| private void assertIsNotStatic() | |
| assertIsPackagePrivate | back to summary |
|---|---|
| private void assertIsPackagePrivate() | |
| assertIsPrivate | back to summary |
|---|---|
| private void assertIsPrivate() | |
| assertIsProtected | back to summary |
|---|---|
| private void assertIsProtected() | |
| assertIsPublic | back to summary |
|---|---|
| private void assertIsPublic() | |
| assertIsRecord | back to summary |
|---|---|
| private void assertIsRecord() | |
| assertIsSealed | back to summary |
|---|---|
| private void assertIsSealed() | |
| assertIsStatic | back to summary |
|---|---|
| private void assertIsStatic() | |
| getPermittedSubclasses | back to summary |
|---|---|
| private static Class | |
| getRecordComponentNames | back to summary |
|---|---|
| private static Set | |
| hasAnnotation | back to summary |
|---|---|
| public SELF hasAnnotation(Class<? extends Annotation> annotation) Verifies that the actual Example:
| |
| hasAnnotations | back to summary |
|---|---|
| public final SELF hasAnnotations(Class<? extends Annotation>... annotations) Verifies that the actual Example:
| |
| hasAnnotationsForProxy | back to summary |
|---|---|
| protected SELF hasAnnotationsForProxy(Class<? extends Annotation>[] annotations) | |
| hasDeclaredFields | back to summary |
|---|---|
| public SELF hasDeclaredFields(String... fields) Verifies that the actual Example:
The assertion succeeds if no given fields are passed and the actual
| |
| hasDeclaredMethods | back to summary |
|---|---|
| public SELF hasDeclaredMethods(String... methodNames) Verifies that the actual Example:
The assertion succeeds if no given methods are passed and the actual
| |
| hasFields | back to summary |
|---|---|
| public SELF hasFields(String... fields)
Deprecated use
| |
| hasMethods | back to summary |
|---|---|
| public SELF hasMethods(String... methodNames) Verifies that the actual Example:
| |
| hasNoPackage | back to summary |
|---|---|
| public SELF hasNoPackage() Verifies that the actual Example:
| |
| hasNoSuperclass | back to summary |
|---|---|
| public SELF hasNoSuperclass() Verifies that the actual Example:
| |
| hasOnlyDeclaredFields | back to summary |
|---|---|
| public SELF hasOnlyDeclaredFields(String... fields) Verifies that the actual Example:
The assertion succeeds if no given fields are passed and the actual
| |
| hasOnlyPublicFields | back to summary |
|---|---|
| public SELF hasOnlyPublicFields(String... fields) Verifies that the actual Example:
The assertion succeeds if no given fields are passed and the actual
| |
| hasPackage | back to summary |
|---|---|
| public SELF hasPackage(String expected) Verifies that the actual
The expected package name should always be not Example:
| |
| hasPackage | back to summary |
|---|---|
| public SELF hasPackage(Package expected) Verifies that the actual
The expected package should always be not Example:
| |
| hasPermittedSubclasses | back to summary |
|---|---|
| public SELF hasPermittedSubclasses(Class<?>... permittedSubclasses) Verifies that the actual Example:
| |
| hasPublicFields | back to summary |
|---|---|
| public SELF hasPublicFields(String... fields) Verifies that the actual Example:
The assertion succeeds if no given fields are passed and the actual
| |
| hasPublicMethods | back to summary |
|---|---|
| public SELF hasPublicMethods(String... methodNames) Verifies that the actual Example:
| |
| hasRecordComponents | back to summary |
|---|---|
| public SELF hasRecordComponents(String first, String... rest) Verifies that the actual Example:
| |
| hasSuperclass | back to summary |
|---|---|
| public SELF hasSuperclass(Class<?> superclass) Verifies that the actual
The expected Example:
| |
| isAbstract | back to summary |
|---|---|
| public SELF isAbstract() Verifies that the actual Example:
| |
| isAnnotation | back to summary |
|---|---|
| public SELF isAnnotation() Verifies that the actual Example:
| |
| isAssignableFrom | back to summary |
|---|---|
| public SELF isAssignableFrom(Class<?>... others) Verifies that the actual Example:
| |
| isAssignableTo | back to summary |
|---|---|
| public SELF isAssignableTo(Class<?> other) Verifies that the Example:
| |
| isFinal | back to summary |
|---|---|
| public SELF isFinal() Verifies that the actual Example:
| |
| isInterface | back to summary |
|---|---|
| public SELF isInterface() Verifies that the actual Example:
| |
| isNotAnnotation | back to summary |
|---|---|
| public SELF isNotAnnotation() Verifies that the actual Example:
| |
| isNotFinal | back to summary |
|---|---|
| public SELF isNotFinal() Verifies that the actual Example:
| |
| isNotInterface | back to summary |
|---|---|
| public SELF isNotInterface() Verifies that the actual Example:
| |
| isNotPrimitive | back to summary |
|---|---|
| public SELF isNotPrimitive() Verifies that the actual Example:
| |
| isNotRecord | back to summary |
|---|---|
| public SELF isNotRecord() Verifies that the actual Example:
| |
| isNotSealed | back to summary |
|---|---|
| public SELF isNotSealed() Verifies that the actual Example:
| |
| isNotStatic | back to summary |
|---|---|
| public SELF isNotStatic() Verifies that the actual Example:
| |
| isPackagePrivate | back to summary |
|---|---|
| public SELF isPackagePrivate() Verifies that the actual Example:
| |
| isPrimitive | back to summary |
|---|---|
| public SELF isPrimitive() Verifies that the actual Example:
| |
| isPrivate | back to summary |
|---|---|
| public SELF isPrivate() Verifies that the actual Example:
| |
| isProtected | back to summary |
|---|---|
| public SELF isProtected() Verifies that the actual Example:
| |
| isPublic | back to summary |
|---|---|
| public SELF isPublic() Verifies that the actual Example:
| |
| isRecord | back to summary |
|---|---|
| public SELF isRecord() Verifies that the actual Example:
| |
| isRecord | back to summary |
|---|---|
| private static boolean isRecord(Class<?> actual) | |
| isSealed | back to summary |
|---|---|
| public SELF isSealed() Verifies that the actual Example:
| |
| isSealed | back to summary |
|---|---|
| private static boolean isSealed(Class<?> actual) | |
| isStatic | back to summary |
|---|---|
| public SELF isStatic() Verifies that the actual Example:
| |