/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/ |
H A D | BooleanKey.java | 18 import dagger.MapKey; 20 @MapKey(unwrapValue = true)
|
H A D | ByteKey.java | 18 import dagger.MapKey; 20 @MapKey(unwrapValue = true)
|
H A D | CharKey.java | 18 import dagger.MapKey; 20 @MapKey(unwrapValue = true)
|
H A D | ShortKey.java | 18 import dagger.MapKey; 20 @MapKey(unwrapValue = true)
|
H A D | NestedAnnotationContainer.java | 18 import dagger.MapKey; 22 @MapKey(unwrapValue = false)
|
H A D | NumberClassKey.java | 18 import dagger.MapKey; 20 @MapKey(unwrapValue = true)
|
H A D | UnwrappedAnnotationKey.java | 18 import dagger.MapKey; 21 @MapKey(unwrapValue = true)
|
H A D | WrappedAnnotationKey.java | 18 import dagger.MapKey; 22 @MapKey(unwrapValue = false)
|
/external/dagger2/core/src/main/java/dagger/mapkeys/ |
H A D | ClassKey.java | 18 import dagger.MapKey; 25 * A {@link MapKey} annotation for maps with {@code Class<?>} keys. 32 @MapKey
|
H A D | IntKey.java | 18 import dagger.MapKey; 24 /** A {@link MapKey} annotation for maps with {@code int} keys. */ 27 @MapKey
|
H A D | LongKey.java | 18 import dagger.MapKey; 24 /** A {@link MapKey} annotation for maps with {@code long} keys. */ 27 @MapKey
|
H A D | 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/ |
H A D | MapKey.java | 33 * with {@code @MapKey}. 41 * {@literal @}MapKey 75 * {@literal @}MapKey(unwrapValue = false) 106 public @interface MapKey { interface
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
H A D | ClassMapKey.java | 31 @MapKey(unwrapValue = true)
|
H A D | MapKey.java | 33 * your own MapKey annotation, such as this one for an enum: 36 * {@literal @}MapKey(unwrapValue = true) 53 public @interface MapKey { interface
|
H A D | StringMapKey.java | 31 @MapKey(unwrapValue = true)
|
H A D | MultibindingsScanner.java | 84 binder.addError("Found a MapKey annotation on non map binding at %s.", method); 89 // Already failed on the MapKey, don't bother doing more work. 93 // If no MapKey, make an error and abort. 94 binder.addError("No MapKey found for map binding at %s.", method); 102 binder.addError("Found a MapKey annotation on non map binding at %s.", method); 135 MapKey mapKey = annotation.annotationType().getAnnotation(MapKey.class); 138 binder.addError("Found more than one MapKey annotations on %s.", method); 146 binder.addError("Array types are not allowed in a MapKey with unwrapValue=true: %s", 151 binder.addError("No 'value' method in MapKey wit [all...] |
/external/protobuf/src/google/protobuf/ |
H A D | 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 [all...] |
H A D | map_field.cc | 156 : TypeDefinedMapFieldBase<MapKey, MapValueRef>(arena), 163 for (Map<MapKey, MapValueRef>::iterator iter = map_.begin(); 175 const MapKey& map_key) const { 176 const Map<MapKey, MapValueRef>& map = GetMap(); 177 Map<MapKey, MapValueRef>::const_iterator iter = map.find(map_key); 182 const MapKey& map_key, MapValueRef* val) { 185 Map<MapKey, MapValueRef>* map = MutableMap(); 186 Map<MapKey, MapValueRef>::iterator iter = map->find(map_key); 229 bool DynamicMapField::DeleteMapValue(const MapKey& map_key) { 231 Map<MapKey, MapValueRe [all...] |
H A D | 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_ke [all...] |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
H A D | MapKeyProcessingStep.java | 23 import dagger.MapKey; 39 * implementation of annotations marked with @MapKey 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);
|
H A D | MapKeyValidator.java | 18 import dagger.MapKey; 31 * A validator for {@link MapKey} annotations. 43 } else if (element.getAnnotation(MapKey.class).unwrapValue()) {
|
H A D | 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); 81 * {@link MapKey @MapKey(unwrapValue = true)}. 84 * {@link MapKey @MapKey} a [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
H A D | WorkerModule.java | 26 import dagger.MapKey; 78 @MapKey(unwrapValue = true)
|
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
H A D | 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 annotation [all...] |