Interface MethodsShould<CONJUNCTION extends MethodsShouldConjunction>
- All Superinterfaces:
CodeUnitsShould<CONJUNCTION>
,MembersShould<CONJUNCTION>
@PublicAPI(usage=ACCESS)
public interface MethodsShould<CONJUNCTION extends MethodsShouldConjunction>
extends CodeUnitsShould<CONJUNCTION>
-
Method Summary
Methods inherited from interface com.tngtech.archunit.lang.syntax.elements.CodeUnitsShould
declareThrowableOfType, declareThrowableOfType, declareThrowableOfType, haveRawParameterTypes, haveRawParameterTypes, haveRawParameterTypes, haveRawReturnType, haveRawReturnType, haveRawReturnType, notDeclareThrowableOfType, notDeclareThrowableOfType, notDeclareThrowableOfType, notHaveRawParameterTypes, notHaveRawParameterTypes, notHaveRawParameterTypes, notHaveRawReturnType, notHaveRawReturnType, notHaveRawReturnType, onlyBeCalled
Methods inherited from interface com.tngtech.archunit.lang.syntax.elements.MembersShould
beAnnotatedWith, beAnnotatedWith, beAnnotatedWith, beDeclaredIn, beDeclaredIn, beDeclaredInClassesThat, beDeclaredInClassesThat, beMetaAnnotatedWith, beMetaAnnotatedWith, beMetaAnnotatedWith, bePackagePrivate, bePrivate, beProtected, bePublic, containNumberOfElements, 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
-
beStatic
Asserts that methods 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 methods 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 methods 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 methods are non-final.- Returns:
- A syntax element that can either be used as working rule, or to continue specifying a more complex rule
-