private static void checkModule(Set<Class<?>> modules, List<Class<?>> subs, EntryDeterminer determiner) {
        for (Class<?> sub : subs) {
            try {
                if (isModule(sub, determiner)) {
                    if (log.isDebugEnabled())
                        log.debugf("   >> add '%s'", sub.getName());
                    modules.add(sub);
                } else if (log.isTraceEnabled()) {
                    log.tracef("   >> ignore '%s'", sub.getName());
                }
            }
            catch (Exception e) {
                throw new RuntimeException("something happen when handle class=" + sub.getName(), e);
            }
        }
    }
private static void checkModule ( Set < Class < ? > > modules , List < Class < ? > > subs , EntryDeterminer determiner ) { for ( Class < ? > sub : subs ) { try { if ( isModule ( sub , determiner ) ) { if ( log . isDebugEnabled ( ) ) log . debugf ( "   >> add '%s'" , sub . getName ( ) ) ; modules . add ( sub ) ; } else if ( log . isTraceEnabled ( ) ) { log . tracef ( "   >> ignore '%s'" , sub . getName ( ) ) ; } } catch ( Exception e ) { throw new RuntimeException ( "something happen when handle class=" + sub . getName ( ) , e ) ; } } }
@param modules
@param subs