code: public static <X> String createTypeId(AnnotatedType<X> annotatedType) {
          return createTypeId(annotatedType.getJavaClass(), annotatedType.getAnnotations(), annotatedType.getMethods(), annotatedType.getFields(), annotatedType.getConstructors());
      }
docs: Generates a deterministic signature for an {@link AnnotatedType}. Two
  <code>AnnotatedType</code>s that have the same annotations and underlying
  type will generate the same signature.
  <p/>
  This can be used to create a unique bean id for a passivation capable bean
  that is added directly through the SPI.
  
  @param annotatedType The type to generate a signature for
  @return A string representation of the annotated type