Actually use Java7ClassValue when using Java 7+.