private static boolean isInterceptOnClassAnnotation(int modifiers) {
        return Modifier.isPublic(modifiers)
                || Modifier.isProtected(modifiers);
    }
Rule under which determined the fate of the class contains annotation.
<p/>
All public and protected methods.

@param modifiers
@return
support/cdi/src/main/java/org/apache/shiro/cdi/AopHelper.java