code: public static HandlerReference newRef(
              ComponentType component, Method method,
              int priority, HandlerScope filter) {
          if (handlerTracking.isLoggable(Level.FINE)) {
              return new VerboseHandlerReference(
                  component, method, priority, filter);
          } else {
              return new HandlerReference(component, method, priority, filter);
          }
      }
docs: Create a new {@link HandlerReference} from the given values.
  
  @param component the component
  @param method the method
  @param priority the priority
  @param filter the filter
  @return the handler reference