Interface GivenClasses
-
- All Superinterfaces:
GivenObjects<JavaClass>
public interface GivenClasses extends GivenObjects<JavaClass>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassesShouldshould()Allows to specify assertions for the set of classes under consideration.ClassesShouldConjunctionshould(ArchCondition<? super JavaClass> condition)Allows to specify assertions for the set of classes under consideration.ClassesThat<GivenClassesConjunction>that()Allows to restrict the set of classes under consideration.GivenClassesConjunctionthat(DescribedPredicate<? super JavaClass> predicate)Allows to restrict the set of classes under consideration.
-
-
-
Method Detail
-
that
@PublicAPI(usage=ACCESS) ClassesThat<GivenClassesConjunction> that()
Allows to restrict the set of classes under consideration. E.g.
classes().that().haveSimpleName("Example")- Returns:
- A syntax element, which can be used to restrict the classes under consideration
-
that
@PublicAPI(usage=ACCESS) GivenClassesConjunction that(DescribedPredicate<? super JavaClass> predicate)
Allows to restrict the set of classes under consideration. E.g.
classes().that(haveSimpleName("Example"))- Specified by:
thatin interfaceGivenObjects<JavaClass>- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
should
@PublicAPI(usage=ACCESS) ClassesShould should()
Allows to specify assertions for the set of classes under consideration. E.g.
classes().should().haveSimpleName("Example")- Returns:
- A syntax element, which can be used to restrict the classes under consideration
-
should
@PublicAPI(usage=ACCESS) ClassesShouldConjunction should(ArchCondition<? super JavaClass> condition)
Allows to specify assertions for the set of classes under consideration. E.g.
classes().should(haveSimpleName("Example"))- Specified by:
shouldin interfaceGivenObjects<JavaClass>- Returns:
- A syntax element, which can be used to restrict the classes under consideration
-
-