@Beta @Documented @Target(value=METHOD) @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>
value
public abstract Class<?> value
Copyright © 2016 Google, Inc.. All rights reserved.