Class MethodConfigurationRule

    • Field Detail

      • LOG

        protected static final Log LOG
    • Constructor Detail

      • MethodConfigurationRule

        public MethodConfigurationRule()
    • Method Detail

      • isStrictSubType

        protected boolean isStrictSubType​(Class<?> clazz,
                                          Class<?> otherClazz)
        Whether otherClazz is a strict subtype of clazz or not.
        Parameters:
        clazz - the super type to check against
        otherClazz - the subtype to check
        Returns:
        true if otherClazz is a strict subtype of clazz, false otherwise
      • isDefinedOnSubType

        protected boolean isDefinedOnSubType​(ConstrainedExecutable executable,
                                             ConstrainedExecutable otherExecutable)
        Whether otherExecutable is defined on a subtype of the declaring type of executable or not.
        Parameters:
        executable - the executable to check against
        otherExecutable - the executable to check
        Returns:
        true if otherExecutable is defined on a subtype of the declaring type of otherExecutable, false otherwise
      • isDefinedOnParallelType

        protected boolean isDefinedOnParallelType​(ConstrainedExecutable executable,
                                                  ConstrainedExecutable otherExecutable)
        Whether otherExecutable is defined on a parallel of the declaring type of executable or not.
        Parameters:
        executable - the executable to check against
        otherExecutable - the executable to check
        Returns:
        true if otherExecutable is defined on a parallel of the declaring type of otherExecutable, false otherwise