Package spock.lang
Annotation Type Subject
Indicates which objects/classes are the subjects of a specification. If applied
to a field, indicates that the field holds the subject of the specification.
If applied to a class, indicates that the classes listed as annotation
arguments are the subjects of the specification. Currently, this annotation
has only informational purposes.
- Author:
- Peter Niederwieser
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
Class<?>[] valueThe classes which are the subjects of the specification. Irrelevant if the annotation is applied to a field.- Returns:
- the classes which are the subjects of the specification
- Default:
- {java.lang.Void.class}
-