AssertInstanceOf is a collection of utility methods that support
asserting that an object is of an expected type — in other words, if it
can be assigned to the expected type.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <T> T | |
| pack-priv static <T> T | |
| pack-priv static <T> T | |
| private static <T> T |
| AssertInstanceOf | back to summary |
|---|---|
| private AssertInstanceOf() | |
| assertInstanceOf | back to summary |
|---|---|
pack-priv static <T> T assertInstanceOf(Class<T> expectedType, @Nullable Object actualValue)
| |
| assertInstanceOf | back to summary |
|---|---|
pack-priv static <T> T assertInstanceOf(Class<T> expectedType, @Nullable Object actualValue, @Nullable String message)
| |
| assertInstanceOf | back to summary |
|---|---|
pack-priv static <T> T assertInstanceOf(Class<T> expectedType, @Nullable Object actualValue, Supplier<@Nullable String> messageSupplier)
| |
| assertInstanceOf | back to summary |
|---|---|
private static <T> T assertInstanceOf(Class<T> expectedType, @Nullable Object actualValue, @Nullable Object messageOrSupplier)
| |