public static boolean isProxyClass(@Nullable ReferenceType type) {
    // it may be better to call java.lang.reflect.Proxy#isProxyClass but it is much slower
    return type instanceof ClassType && isProxyClassName(type.name());
  }
public static boolean isProxyClass(@Nullable ReferenceType type)