private static boolean checkModifiers(Class<? extends AbstractPlugin> pluginClass) {
        int modifiers = pluginClass.getModifiers();
        return !Modifier.isAbstract(modifiers) &&
                !Modifier.isInterface(modifiers) &&
                !Modifier.isPrivate(modifiers);
    }
private static boolean checkModifiers ( Class < ? extends AbstractPlugin > pluginClass ) { int modifiers = pluginClass . getModifiers ( ) ; return ! Modifier . isAbstract ( modifiers ) && ! Modifier . isInterface ( modifiers ) && ! Modifier . isPrivate ( modifiers ) ; }
Check given class modifiers. Plugin with resources plugin should not be private or abstract
or interface.