Interface GivenFields
-
- All Superinterfaces:
GivenMembers<JavaField>
,GivenObjects<JavaField>
public interface GivenFields extends GivenMembers<JavaField>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldsShould<?>
should()
Allows to specify assertions for the set of members under consideration.FieldsShouldConjunction
should(ArchCondition<? super JavaField> condition)
Allows to specify assertions for the set of members under consideration.FieldsThat<?>
that()
Allows to restrict the set of members under consideration.GivenFieldsConjunction
that(DescribedPredicate<? super JavaField> predicate)
Allows to restrict the set of members under consideration.
-
-
-
Method Detail
-
that
@PublicAPI(usage=ACCESS) FieldsThat<?> that()
Description copied from interface:GivenMembers
- Specified by:
that
in interfaceGivenMembers<JavaField>
- Returns:
- A syntax element, which can be used to restrict the members under consideration
-
that
@PublicAPI(usage=ACCESS) GivenFieldsConjunction that(DescribedPredicate<? super JavaField> predicate)
Description copied from interface:GivenMembers
- Specified by:
that
in interfaceGivenMembers<JavaField>
- Specified by:
that
in interfaceGivenObjects<JavaField>
- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
should
@PublicAPI(usage=ACCESS) FieldsShould<?> should()
Description copied from interface:GivenMembers
Allows to specify assertions for the set of members under consideration. E.g.
members()
.should()
.haveName("foo")
- Specified by:
should
in interfaceGivenMembers<JavaField>
- Returns:
- A syntax element, which can be used to restrict the members under consideration
-
should
@PublicAPI(usage=ACCESS) FieldsShouldConjunction should(ArchCondition<? super JavaField> condition)
Description copied from interface:GivenMembers
Allows to specify assertions for the set of members under consideration. E.g.
members()
.should(haveName("foo"))
- Specified by:
should
in interfaceGivenMembers<JavaField>
- Specified by:
should
in interfaceGivenObjects<JavaField>
- Returns:
- A syntax element, which can be used to restrict the members under consideration
-
-