@Documented @Target(value=METHOD) @Retention(value=RUNTIME) @MapKey public @interface ClassKey
MapKey
Class<?>
If your map's keys can be constrained, consider using a custom annotation instead, with a member whose type is Class<? extends Something>.
Class<? extends Something>
java.lang.Class<?>
value
public abstract java.lang.Class<?> value