| Package | Description |
|---|---|
| org.bitbucket.cowwoc.requirements |
Interfaces in this package are not meant to be extended (because they extend
Isolatable),
but may be implemented. |
| Modifier and Type | Method and Description |
|---|---|
static <T> ClassRequirements<T> |
Requirements.assertThat(Class<T> parameter,
String name)
Same as
Requirements.requireThat(Class, String) but does nothing if assertions are disabled for
this class. |
ClassRequirements<T> |
ClassRequirements.isSupertypeOf(Class<?> type)
Ensures that the parameter is a superclass or super-interface of a class.
|
static <T> ClassRequirements<T> |
Requirements.requireThat(Class<T> parameter,
String name)
Creates requirements for a
Class. |
<T> ClassRequirements<T> |
Assertions.requireThat(Class<T> parameter,
String name)
Same as
Requirements.requireThat(Class, String) but does nothing if assertions are
disabled. |
Copyright © 2016. All rights reserved.