code: public final boolean canResolve(final AccessibleObject accessibleObject)
     {
        this.assertNotNull(accessibleObject);
  
        final boolean isField = accessibleObject.getClass().equals(Field.class);
        final boolean isMethod = accessibleObject.getClass().equals(Method.class);
        final boolean hasAnnotation = accessibleObject.getAnnotation(this.annotationClass) != null; 
  
        return (isField || isMethod) && hasAnnotation;
     }
docs: /* (non-Javadoc)
  @see org.jboss.wsf.spi.metadata.injection.ReferenceResolver#canResolve(java.lang.reflect.AccessibleObject)