Interface MethodsShould<CONJUNCTION extends MethodsShouldConjunction>

All Superinterfaces:
CodeUnitsShould<CONJUNCTION>, MembersShould<CONJUNCTION>

public interface MethodsShould<CONJUNCTION extends MethodsShouldConjunction>
extends CodeUnitsShould<CONJUNCTION>
  • 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