protected Set<String> countComponentContainPaxWicketBeanAnnotatedFieldsHierachical(Class<?> component) {
        Set<String> foundAnnotation = new HashSet<String>();
        Class<?> clazz = component;
        while (clazz != null && !isBoundaryClass(clazz)) {
            for (Field field : clazz.getDeclaredFields()) {
                if (field.isAnnotationPresent(Inject.class)) {
                    foundAnnotation.add(field.toGenericString());
                }
            }
            clazz = clazz.getSuperclass();
        }
        return foundAnnotation;
    }
protected Set < String > countComponentContainPaxWicketBeanAnnotatedFieldsHierachical ( Class < ? > component ) { Set < String > foundAnnotation = new HashSet < String > ( ) ; Class < ? > clazz = component ; while ( clazz != null && ! isBoundaryClass ( clazz ) ) { for ( Field field : clazz . getDeclaredFields ( ) ) { if ( field . isAnnotationPresent ( Inject . class ) ) { foundAnnotation . add ( field . toGenericString ( ) ) ; } } clazz = clazz . getSuperclass ( ) ; } return foundAnnotation ; }
<p>countComponentContainPaxWicketBeanAnnotatedFieldsHierachical.</p>

@param component a {@link java.lang.Class} object.
@return a {@link java.util.Set} object.