@Nullable
  private static ReferenceType extractReferenceType(@Nullable TypeInfo typeInfo) {
    return typeInfo != null ? ((JavaTypeInfo)typeInfo).getReferenceType() : null;
  }
@Nullable
  private static ReferenceType extractReferenceType(@Nullable TypeInfo typeInfo)