Top Description Fields Constructors Methods
org.assertj.core.api

public Class ClassAssert

extends AbstractClassAssert<ClassAssert>
Class Inheritance

Assertion methods for Classes.

To create a new instance of this class, invoke org.assertj.core.api.Assertions#assertThat(Class)

Authors
William Delanoue, Mikhail Mazursky

Field Summary

Inherited from org.assertj.core.api.AbstractClassAssert:
classes

Constructor Summary

AccessConstructor and Description
public
ClassAssert(Class<?> actual)

Method Summary

Inherited from org.assertj.core.api.AbstractClassAssert:
hasAnnotationhasAnnotationshasAnnotationsForProxyhasDeclaredFieldshasDeclaredMethodshasFieldshasMethodshasNoPackagehasNoSuperclasshasOnlyDeclaredFieldshasOnlyPublicFieldshasPackagehasPackagehasPermittedSubclasseshasPublicFieldshasPublicMethodshasRecordComponentshasSuperclassisAbstractisAnnotationisAssignableFromisAssignableToisFinalisInterfaceisNotAnnotationisNotFinalisNotInterfaceisNotPrimitiveisNotRecordisNotSealedisNotStaticisPackagePrivateisPrimitiveisPrivateisProtectedisPublicisRecordisSealedisStatic

Constructor Detail

ClassAssertback to summary
public ClassAssert(Class<?> actual)