-
Method Summary
beAnnotatedWith, beAnnotatedWith, beAnnotatedWith, beDeclaredIn, beDeclaredIn, beDeclaredInClassesThat, beDeclaredInClassesThat, beMetaAnnotatedWith, beMetaAnnotatedWith, beMetaAnnotatedWith, bePackagePrivate, bePrivate, beProtected, bePublic, haveFullName, haveFullNameMatching, haveFullNameNotMatching, haveModifier, haveName, haveNameContaining, haveNameEndingWith, haveNameMatching, haveNameNotContaining, haveNameNotEndingWith, haveNameNotMatching, haveNameNotStartingWith, haveNameStartingWith, notBeAnnotatedWith, notBeAnnotatedWith, notBeAnnotatedWith, notBeDeclaredIn, notBeDeclaredIn, notBeMetaAnnotatedWith, notBeMetaAnnotatedWith, notBeMetaAnnotatedWith, notBePackagePrivate, notBePrivate, notBeProtected, notBePublic, notHaveFullName, notHaveModifier, notHaveName
-
Method Details
-
haveRawType
- Parameters:
type
- Type fields should have
- Returns:
- A syntax element that can either be used as working rule, or to continue specifying a more complex rule
-
notHaveRawType
- Parameters:
type
- Type fields should not have
- Returns:
- A syntax element that can either be used as working rule, or to continue specifying a more complex rule
-
haveRawType
- Parameters:
typeName
- Name of type fields should have
- Returns:
- A syntax element that can either be used as working rule, or to continue specifying a more complex rule
-
notHaveRawType
- Parameters:
typeName
- Name of type fields should not have
- Returns:
- A syntax element that can either be used as working rule, or to continue specifying a more complex rule
-
haveRawType
- Parameters:
predicate
- A predicate determining which sort of types fields should have
- Returns:
- A syntax element that can either be used as working rule, or to continue specifying a more complex rule
-
notHaveRawType
- Parameters:
predicate
- A predicate determining which sort of types fields should not have
- Returns:
- A syntax element that can either be used as working rule, or to continue specifying a more complex rule
-
beStatic
Asserts that fields are static.
- Returns:
- A syntax element that can either be used as working rule, or to continue specifying a more complex rule
-
notBeStatic
Asserts that fields are non-static.
- Returns:
- A syntax element that can either be used as working rule, or to continue specifying a more complex rule
-
beFinal
Asserts that fields are final.
- Returns:
- A syntax element that can either be used as working rule, or to continue specifying a more complex rule
-
notBeFinal
Asserts that fields are non-final.
- Returns:
- A syntax element that can either be used as working rule, or to continue specifying a more complex rule