code: public Accessor getAccessor( final String beanName, Object... params ) {
          final boolean useJsni;
          if ( useMethod ) {
              useJsni = method.get().isPrivate() || (!samePackage && !method.get().isPublic());
          }
          // else use the field
          else {
              useJsni = field.get().isPrivate() || (!samePackage && !field.get().isPublic());
          }
          return getAccessor( beanName, useMethod, useJsni, params );
      }
docs: <p>getAccessor</p>
  
  @param beanName a {@link java.lang.String} object.
  @param params a {@link java.lang.Object} object.
  @return a {@link com.github.nmorel.gwtjackson.rebind.property.FieldAccessor.Accessor} object.