Class AbstractTester

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractTester()
      Utility class - no need to instantiate it.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static void removeClasses​(java.util.Collection<?> classes, java.util.List<?> excluded)
      Removes "excluded" from the given classes.
      protected static <T> void removeClasses​(java.util.Collection<java.lang.Class<? extends T>> classes, java.util.regex.Pattern... excluded)
      Removes "excluded" from the given classes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractTester

        protected AbstractTester()
        Utility class - no need to instantiate it.
    • Method Detail

      • removeClasses

        protected static void removeClasses​(java.util.Collection<?> classes,
                                            java.util.List<?> excluded)
        Removes "excluded" from the given classes. If one of the "excluded" class is an interface or abstract class all implementing or subclasses will be excluded.
        Parameters:
        classes - the classes
        excluded - the excluded
      • removeClasses

        protected static <T> void removeClasses​(java.util.Collection<java.lang.Class<? extends T>> classes,
                                                java.util.regex.Pattern... excluded)
        Removes "excluded" from the given classes.
        Type Parameters:
        T - the generic type
        Parameters:
        classes - the classes
        excluded - the excluded