jersey2-guice-impl/src/main/java/com/squarespace/jersey2/guice/BindingUtils.java
public static boolean isHk2Contract(Injectee injectee) {
    Type type = injectee.getRequiredType();
    return isContact(type, org.jvnet.hk2.annotations.Contract.class);
  }
public static boolean isHk2Contract(Injectee injectee) {
    Type type = injectee.getRequiredType();
    return isContact(type, org.jvnet.hk2.annotations.Contract.class);
  }
Returns {@code true} if the {@link Injectee} has a HK2 SPI
{@link org.jvnet.hk2.annotations.Contract} annotation.

@see org.jvnet.hk2.annotations.Contract