code: public final String resolve(final AccessibleObject accessibleObject)
     {
        if (!this.canResolve(accessibleObject))
        {
           throw Messages.MESSAGES.cannotResolve(accessibleObject);
        }
  
        if (accessibleObject.getClass().equals(Method.class))
        {
           return this.resolveMethod((Method)accessibleObject);
        }
        else
        {
           return this.resolveField((Field)accessibleObject);
        }
     }
docs: /* (non-Javadoc)
  @see org.jboss.wsf.spi.metadata.injection.ReferenceResolver#resolve(java.lang.reflect.Method)