HomeSort by relevance Sort by last modified time
    Searched refs:ANNOTATED (Results 1 - 2 of 2) sorted by null

  /external/google-fruit/examples/annotated_injection/
car.cpp 27 INJECT(CarImpl(ANNOTATED(MainBrake, Brake*) mainBrake, ANNOTATED(EmergencyBrake, Brake*) emergencyBrake))
  /external/google-fruit/include/fruit/
macro.h 28 * It also supports assisted injection and injection of annotated types.
62 * Example usage for annotated types:
66 * INJECT(MyClass(ANNOTATED(SomeAnnotation, Foo*) foo, Bar* bar)) {...}
69 * ASSISTED and ANNOTATED *can* be used together in the same INJECT() annotation, but they can't both be used for a
87 * NOTE: The return type (MyClass in this case) should not be annotated. However an annotated
101 #define ANNOTATED(Annotation, ...) FruitAnnotatedTypedef<Annotation, __VA_ARGS__>
112 using FruitAnnotatedTypedef = fruit::Annotated<Annotation, T>;

Completed in 245 milliseconds