HomeSort by relevance Sort by last modified time
    Searched refs:MapKey (Results 1 - 25 of 41) sorted by null

1 2

  /external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
BooleanKey.java 18 import dagger.MapKey;
20 @MapKey(unwrapValue = true)
ByteKey.java 18 import dagger.MapKey;
20 @MapKey(unwrapValue = true)
CharKey.java 18 import dagger.MapKey;
20 @MapKey(unwrapValue = true)
ShortKey.java 18 import dagger.MapKey;
20 @MapKey(unwrapValue = true)
NestedAnnotationContainer.java 18 import dagger.MapKey;
22 @MapKey(unwrapValue = false)
NumberClassKey.java 18 import dagger.MapKey;
20 @MapKey(unwrapValue = true)
UnwrappedAnnotationKey.java 18 import dagger.MapKey;
21 @MapKey(unwrapValue = true)
WrappedAnnotationKey.java 18 import dagger.MapKey;
22 @MapKey(unwrapValue = false)
  /external/dagger2/core/src/main/java/dagger/mapkeys/
ClassKey.java 18 import dagger.MapKey;
25 * A {@link MapKey} annotation for maps with {@code Class<?>} keys.
32 @MapKey
IntKey.java 18 import dagger.MapKey;
24 /** A {@link MapKey} annotation for maps with {@code int} keys. */
27 @MapKey
LongKey.java 18 import dagger.MapKey;
24 /** A {@link MapKey} annotation for maps with {@code long} keys. */
27 @MapKey
StringKey.java 18 import dagger.MapKey;
24 /** A {@link MapKey} annotation for maps with {@link String} keys. */
27 @MapKey
  /external/dagger2/core/src/main/java/dagger/
MapKey.java 33 * with {@code @MapKey}.
41 * {@literal @}MapKey
75 * {@literal @}MapKey(unwrapValue = false)
106 public @interface MapKey {
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
ClassMapKey.java 31 @MapKey(unwrapValue = true)
MapKey.java 33 * your own MapKey annotation, such as this one for an enum:
36 * {@literal @}MapKey(unwrapValue = true)
53 public @interface MapKey {
StringMapKey.java 31 @MapKey(unwrapValue = true)
MultibindingsScanner.java 76 @SuppressWarnings({"unchecked", "rawtypes"}) // mapKey doesn't know its key type
81 AnnotationOrError mapKey = findMapKeyAnnotation(binder, method);
83 if (mapKey.annotation != null) {
84 binder.addError("Found a MapKey annotation on non map binding at %s.", method);
88 if (mapKey.error) {
89 // Already failed on the MapKey, don't bother doing more work.
92 if (mapKey.annotation == null) {
93 // If no MapKey, make an error and abort.
94 binder.addError("No MapKey found for map binding at %s.", method);
97 TypeAndValue typeAndValue = typeAndValueOfMapKey(mapKey.annotation)
    [all...]
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
map_field.h 50 class MapKey;
89 virtual bool ContainsMapKey(const MapKey& map_key) const = 0;
91 const MapKey& map_key, MapValueRef* val) = 0;
92 virtual bool DeleteMapValue(const MapKey& map_key) = 0;
254 bool ContainsMapKey(const MapKey& map_key) const;
255 bool InsertOrLookupMapValue(const MapKey& map_key, MapValueRef* val);
256 bool DeleteMapValue(const MapKey& map_key);
298 class LIBPROTOBUF_EXPORT DynamicMapField: public TypeDefinedMapFieldBase<MapKey, MapValueRef> {
305 bool ContainsMapKey(const MapKey& map_key) const;
306 bool InsertOrLookupMapValue(const MapKey& map_key, MapValueRef* val)
    [all...]
map_field_inl.h 48 T UnwrapMapKey(const MapKey& map_key);
50 inline int32 UnwrapMapKey<int32>(const MapKey& map_key) {
54 inline uint32 UnwrapMapKey<uint32>(const MapKey& map_key) {
58 inline int64 UnwrapMapKey<int64>(const MapKey& map_key) {
62 inline uint64 UnwrapMapKey<uint64>(const MapKey& map_key) {
66 inline bool UnwrapMapKey<bool>(const MapKey& map_key) {
70 inline string UnwrapMapKey<string>(const MapKey& map_key) {
76 inline void SetMapKey(MapKey* map_key, const T& value);
78 inline void SetMapKey<int32>(MapKey* map_key, const int32& value) {
82 inline void SetMapKey<uint32>(MapKey* map_key, const uint32& value)
    [all...]
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
MapKeyProcessingStep.java 23 import dagger.MapKey;
38 * The annotation processor responsible for validating the mapKey annotation and auto-generate
39 * implementation of annotations marked with &#064MapKey where necessary.
63 return ImmutableSet.<Class<? extends Annotation>>of(MapKey.class);
69 for (Element element : elementsByAnnotation.get(MapKey.class)) {
74 MapKey mapkey = element.getAnnotation(MapKey.class); local
75 if (mapkey.unwrapValue()) {
MapKeyValidator.java 18 import dagger.MapKey;
31 * A validator for {@link MapKey} annotations.
43 } else if (element.getAnnotation(MapKey.class).unwrapValue()) {
MapKeys.java 23 import dagger.MapKey;
55 * Methods for extracting {@link MapKey} annotations and key snippets from binding elements.
60 * If {@code bindingElement} is annotated with a {@link MapKey} annotation, returns it.
62 * @throws IllegalArgumentException if the element is annotated with more than one {@code MapKey}
73 * Returns all of the {@link MapKey} annotations that annotate {@code bindingElement}.
76 return getAnnotatedAnnotations(bindingElement, MapKey.class);
80 * Returns the annotation value if {@code mapKey}'s type is annotated with
81 * {@link MapKey @MapKey(unwrapValue = true)}.
83 * @throws IllegalArgumentException if {@code mapKey}'s type is not annotated wit
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
WorkerModule.java 26 import dagger.MapKey;
78 @MapKey(unwrapValue = true)
  /external/guice/extensions/multibindings/test/com/google/inject/multibindings/
ProvidesIntoTest.java 169 @MapKey(unwrapValue = true)
175 @MapKey(unwrapValue = false)
210 @MapKey(unwrapValue = true)
227 "Array types are not allowed in a MapKey with unwrapValue=true: "
233 @MapKey(unwrapValue = false)
282 assertContains(ce.getMessage(), "Found a MapKey annotation on non map binding at "
302 assertContains(ce.getMessage(), "Found a MapKey annotation on non map binding at "
317 assertContains(ce.getMessage(), "No MapKey found for map binding at "
322 @MapKey(unwrapValue = true)
344 assertContains(ce.getMessage(), "Found more than one MapKey annotations on
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
ExperimentingRunnerModule.java 39 import dagger.MapKey;
100 @MapKey(unwrapValue = true)
155 @MapKey(unwrapValue = true)

Completed in 290 milliseconds

1 2