public Collection<A> process(final Class<?> clazz)
   {
      if (clazz == null)
         return Collections.emptyList();
      
      final Collection<A> retVal = new LinkedList<A>();
      
      final A[] accessibleObjects = this.getAccessibleObjects(clazz);
      for(A accessibleObject : accessibleObjects)
      {
         if (this.matches(accessibleObject))
         {
            this.validate(accessibleObject);
            retVal.add(accessibleObject);
         }
      }
      
      retVal.addAll(this.process(clazz.getSuperclass()));
      
      this.validate(retVal);
      
      return retVal;
   }
public Collection < A > process ( final Class < ? > clazz ) { if ( clazz == null ) return Collections . emptyList ( ) ; final Collection < A > retVal = new LinkedList < A > ( ) ; final A [ ] accessibleObjects = this . getAccessibleObjects ( clazz ) ; for ( A accessibleObject : accessibleObjects ) { if ( this . matches ( accessibleObject ) ) { this . validate ( accessibleObject ) ; retVal . add ( accessibleObject ) ; } } retVal . addAll ( this . process ( clazz . getSuperclass ( ) ) ) ; this . validate ( retVal ) ; return retVal ; }
@see org.jboss.ws.common.reflection.ClassProcessor#process(Class)