@Documented @Target(value=METHOD) @Retention(value=RUNTIME) public @interface Ensures
Requires| Modifier and Type | Required Element and Description |
|---|---|
@Nonnull @JavaExpression String |
condition
Returns the condition that holds after the execution of the annotated method.
|
@Nonnull String |
message
Returns the message which is thrown if the given condition is not fulfilled.
|
@Nonnull @JavaExpression public abstract @Nonnull @JavaExpression String condition
Copyright © 2017. All rights reserved.