@Documented @Target(value=METHOD) @Retention(value=RUNTIME) @MapKey public @interface ClassKey
MapKey
annotation for maps with Class<?>
keys.
If your map's keys can be constrained, consider using a custom annotation instead, with a
member whose type is Class<? extends Something>
.
public abstract Class<?> value
Copyright © 2012–2017 The Dagger Authors. All rights reserved.