Index
All Classes and Interfaces|All Packages
A
- assertThat(Class<?>) - Static method in class org.assertj.reflection.ReflectionAssertions
-
Creates a new instance of
ClassAssert
. - assertThat(Constructor<?>) - Static method in class org.assertj.reflection.ReflectionAssertions
-
Creates a new instance of
ConstructorAssert
. - assertThat(Field) - Static method in class org.assertj.reflection.ReflectionAssertions
-
Creates a new instance of
FieldAssert
. - assertThat(Method) - Static method in class org.assertj.reflection.ReflectionAssertions
-
Creates a new instance of
MethodAssert
.
C
- ClassAssert - Class in org.assertj.reflection
-
Assertions for the
Class
type. - ClassAssert(Class<?>) - Constructor for class org.assertj.reflection.ClassAssert
-
Creates a new
ClassAssert
. - ConstructorAssert - Class in org.assertj.reflection
-
Assertions for the
Constructor
type. - ConstructorAssert(Constructor<?>) - Constructor for class org.assertj.reflection.ConstructorAssert
-
Creates a new
ConstructorAssert
.
F
- FieldAssert - Class in org.assertj.reflection
-
Assertions for the
Field
type. - FieldAssert(Field) - Constructor for class org.assertj.reflection.FieldAssert
-
Creates a new
FieldAssert
.
H
- hasDeclaredConstructor(Class<?>...) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
has a declared constructor with the given argument types. - hasDeclaredConstructor(Class<?>[], Consumer<ConstructorAssert>) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
has a declared constructor with multiple arguments. - hasDeclaredConstructor(Class<?>, Consumer<ConstructorAssert>) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
has a declared constructor with a single argument. - hasDeclaredConstructor(Consumer<ConstructorAssert>) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
has a declared constructor with no arguments. - hasDeclaredField(String) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
has a declared field with the given name. - hasDeclaredField(String, Consumer<FieldAssert>) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
has a declared field with the given name. - hasDeclaredMethod(String, Class<?>...) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
has a declared method with the given name and argument types. - hasDeclaredMethod(String, Class<?>[], Consumer<MethodAssert>) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
has a declared method with the given name and multiple arguments. - hasDeclaredMethod(String, Class<?>, Consumer<MethodAssert>) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
has a declared method with the given name and a single argument. - hasDeclaredMethod(String, Consumer<MethodAssert>) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
has a declared method with the given name and no arguments. - hasNoDeclaredConstructor(Class<?>...) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
does not have a declared constructor with the given argument types. - hasNoDeclaredField(String) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
does not have a declared field with the given name. - hasNoDeclaredMethod(String, Class<?>...) - Method in class org.assertj.reflection.ClassAssert
-
Verifies that the
Class
has a declared method with the given name and argument types. - hasReturnType(Class<?>) - Method in class org.assertj.reflection.MethodAssert
-
Verifies that the
Method
has the expected return type. - hasType(Class<?>) - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
has the expected type.
I
- isFinal() - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
is final. - isNotFinal() - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
is not final. - isNotPackagePrivate() - Method in class org.assertj.reflection.ConstructorAssert
-
Verifies that the
Constructor
is not package-private. - isNotPackagePrivate() - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
is not package-private. - isNotPackagePrivate() - Method in class org.assertj.reflection.MethodAssert
-
Verifies that the
Method
is not package-private. - isNotPrivate() - Method in class org.assertj.reflection.ConstructorAssert
-
Verifies that the
Constructor
is not private. - isNotPrivate() - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
is not private. - isNotPrivate() - Method in class org.assertj.reflection.MethodAssert
-
Verifies that the
Method
is not private. - isNotProtected() - Method in class org.assertj.reflection.ConstructorAssert
-
Verifies that the
Constructor
is not protected. - isNotProtected() - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
is not protected. - isNotProtected() - Method in class org.assertj.reflection.MethodAssert
-
Verifies that the
Method
is not protected. - isNotPublic() - Method in class org.assertj.reflection.ConstructorAssert
-
Verifies that the
Constructor
is not public. - isNotPublic() - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
is not public. - isNotPublic() - Method in class org.assertj.reflection.MethodAssert
-
Verifies that the
Method
is not public. - isNotStatic() - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
is not static. - isNotStatic() - Method in class org.assertj.reflection.MethodAssert
-
Verifies that the
Method
is not static. - isPackagePrivate() - Method in class org.assertj.reflection.ConstructorAssert
-
Verifies that the
Constructor
is package-private. - isPackagePrivate() - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
is package-private. - isPackagePrivate() - Method in class org.assertj.reflection.MethodAssert
-
Verifies that the
Method
is package-private. - isPrivate() - Method in class org.assertj.reflection.ConstructorAssert
-
Verifies that the
Constructor
is private. - isPrivate() - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
is private. - isPrivate() - Method in class org.assertj.reflection.MethodAssert
-
Verifies that the
Method
is private. - isProtected() - Method in class org.assertj.reflection.ConstructorAssert
-
Verifies that the
Constructor
is protected. - isProtected() - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
is protected. - isProtected() - Method in class org.assertj.reflection.MethodAssert
-
Verifies that the
Method
is protected. - isPublic() - Method in class org.assertj.reflection.ConstructorAssert
-
Verifies that the
Constructor
is public. - isPublic() - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
is public. - isPublic() - Method in class org.assertj.reflection.MethodAssert
-
Verifies that the
Method
is public. - isStatic() - Method in class org.assertj.reflection.FieldAssert
-
Verifies that the
Field
is static. - isStatic() - Method in class org.assertj.reflection.MethodAssert
-
Verifies that the
Method
is static.
M
- MethodAssert - Class in org.assertj.reflection
-
Assertions for the
Method
type. - MethodAssert(Method) - Constructor for class org.assertj.reflection.MethodAssert
-
Creates a new
MethodAssert
.
O
- org.assertj.reflection - package org.assertj.reflection
R
- ReflectionAssertions - Class in org.assertj.reflection
-
Entry point for assertion methods for different reflection types.
T
- throwsException(Class<? extends Exception>) - Method in class org.assertj.reflection.MethodAssert
-
Verifies that the
Method
declares the given exception to be thrown.
All Classes and Interfaces|All Packages