-
Method Summary
Methods inherited from interface com.tngtech.archunit.lang.syntax.elements.MembersThat
areAnnotatedWith, areAnnotatedWith, areAnnotatedWith, areDeclaredIn, areDeclaredIn, areDeclaredInClassesThat, areDeclaredInClassesThat, areMetaAnnotatedWith, areMetaAnnotatedWith, areMetaAnnotatedWith, areNotAnnotatedWith, areNotAnnotatedWith, areNotAnnotatedWith, areNotDeclaredIn, areNotDeclaredIn, areNotMetaAnnotatedWith, areNotMetaAnnotatedWith, areNotMetaAnnotatedWith, areNotPackagePrivate, areNotPrivate, areNotProtected, areNotPublic, arePackagePrivate, arePrivate, areProtected, arePublic, doNotHaveFullName, doNotHaveModifier, doNotHaveName, haveFullName, haveFullNameMatching, haveFullNameNotMatching, haveModifier, haveName, haveNameContaining, haveNameEndingWith, haveNameMatching, haveNameNotContaining, haveNameNotEndingWith, haveNameNotMatching, haveNameNotStartingWith, haveNameStartingWith
-
Method Details
-
haveRawType
- Parameters:
type
- Type matching fields must have
- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
doNotHaveRawType
- Parameters:
type
- Type matching fields must not have
- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
haveRawType
- Parameters:
typeName
- Name of type matching fields must have
- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
doNotHaveRawType
- Parameters:
typeName
- Name of type matching fields must not have
- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
haveRawType
- Parameters:
predicate
- A predicate determining which types of fields match
- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
doNotHaveRawType
- Parameters:
predicate
- A predicate determining which types of fields do not match
- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
areStatic
Matches static fields.
- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
areNotStatic
Matches non-static fields.
- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
areFinal
Matches final fields.
- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
areNotFinal
Matches non-final fields.
- Returns:
- A syntax conjunction element, which can be completed to form a full rule