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.FieldsShouldConjunctionshould(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.GivenFieldsConjunctionthat(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:
thatin 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:
thatin interfaceGivenMembers<JavaField>- Specified by:
thatin 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:GivenMembersAllows to specify assertions for the set of members under consideration. E.g.
members().should().haveName("foo")- Specified by:
shouldin 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:GivenMembersAllows to specify assertions for the set of members under consideration. E.g.
members().should(haveName("foo"))- Specified by:
shouldin interfaceGivenMembers<JavaField>- Specified by:
shouldin interfaceGivenObjects<JavaField>- Returns:
- A syntax element, which can be used to restrict the members under consideration
-
-