Google Annotations Gallery 在生产代码中是否有用?
2022-09-04 03:39:09
我实际上可以看到Google Annotations Gallery在实际代码中的用途:
偶然发现以某种方式工作超出所有原因的代码?人生苦短。用@Magic标记它,然后继续:
@Magic public static int negate(int n) { return new Byte((byte) 0xFF).hashCode() / (int) (short) '\uFFFF' * ~0 * Character.digit ('0', 0) * n * (Integer.MAX_VALUE * 2 + 1) / (Byte.MIN_VALUE >> 7) * (~1 | 1); }
这是一个严肃的问题。这可以用于实际的代码审查吗?