Home
last modified time | relevance | path

Searched refs:addAnnotation (Results 1 – 25 of 131) sorted by relevance

123456

/external/dagger2/java/dagger/hilt/android/processor/internal/viewmodel/
DViewModelModuleGenerator.kt68 .addAnnotation( in <lambda>()
101 .addAnnotation(ClassNames.BINDS) in <lambda>()
102 .addAnnotation(ClassNames.INTO_MAP) in <lambda>()
103 .addAnnotation( in <lambda>()
108 .addAnnotation(AndroidClassNames.HILT_VIEW_MODEL_MAP_QUALIFIER) in <lambda>()
129 .addAnnotation(ClassNames.PROVIDES) in <lambda>()
130 .addAnnotation(ClassNames.INTO_SET) in <lambda>()
131 .addAnnotation(AndroidClassNames.HILT_VIEW_MODEL_KEYS_QUALIFIER) in <lambda>()
140 .addAnnotation(ClassNames.MODULE) in <lambda>()
141 .addAnnotation( in <lambda>()
[all …]
/external/dagger2/java/dagger/hilt/android/processor/internal/bindvalue/
DBindValueGenerator.java71 .addAnnotation(Processors.getOriginatingElementAnnotation(metadata.testElement())) in generate()
73 .addAnnotation(Module.class) in generate()
74 .addAnnotation( in generate()
102 .addAnnotation(Provides.class) in providesTestMethod()
106 .addAnnotation(ClassNames.APPLICATION_CONTEXT) in providesTestMethod()
128 .addAnnotation(Provides.class) in providesMethod()
147 builder.addAnnotation(IntoMap.class); in providesMethod()
151 builder.addAnnotation(AnnotationSpec.get(bindValue.mapKey().get())); in providesMethod()
153 builder.addAnnotation(IntoSet.class); in providesMethod()
155 builder.addAnnotation(ElementsIntoSet.class); in providesMethod()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithAnnotations.java58 default N addAnnotation(AnnotationExpr element) { in addAnnotation() method
70 default N addAnnotation(String name) { in addAnnotation() method
73 addAnnotation(annotation); in addAnnotation()
87 addAnnotation(annotation); in addAndGetAnnotation()
97 default N addAnnotation(Class<? extends Annotation> clazz) { in addAnnotation() method
99 return addAnnotation(clazz.getSimpleName()); in addAnnotation()
123 addAnnotation(markerAnnotationExpr); in addMarkerAnnotation()
149 return addAnnotation(singleMemberAnnotationExpr); in addSingleMemberAnnotation()
/external/dagger2/java/dagger/grpc/server/processor/
DProxyModuleGenerator.java66 grpcServiceModel.generatedAnnotation().ifPresent(proxyModule::addAnnotation); in createType()
68 .addAnnotation(Dagger.module()) in createType()
81 .addAnnotation(Dagger.provides()) in provideServiceDefinitionContribution()
82 .addAnnotation(Dagger.intoSet()) in provideServiceDefinitionContribution()
83 .addAnnotation(JavaxInject.singleton()) in provideServiceDefinitionContribution()
89 .addAnnotation(grpcServiceModel.forGrpcService()) in provideServiceDefinitionContribution()
151 .addAnnotation(Dagger.provides()) in provideServiceDefinitionFactory()
152 .addAnnotation(grpcServiceModel.forGrpcService()) in provideServiceDefinitionFactory()
169 .addAnnotation(Override.class) in anonymousServiceDefinitionFactory()
DGrpcServiceModuleGenerator.java61 grpcServiceModel.generatedAnnotation().ifPresent(serviceModule::addAnnotation); in createType()
63 .addAnnotation(Dagger.module()) in createType()
75 .addAnnotation(Dagger.provides()) in provideServiceDefinition()
76 .addAnnotation(grpcServiceModel.forGrpcService()) in provideServiceDefinition()
82 .addAnnotation(grpcServiceModel.forGrpcService()) in provideServiceDefinition()
DUnscopedGrpcServiceModuleGenerator.java59 grpcServiceModel.generatedAnnotation().ifPresent(unscopedServiceModule::addAnnotation); in createType()
61 .addAnnotation( in createType()
81 .addAnnotation(JavaxInject.inject()) in unscopedComponentFactory()
87 .addAnnotation(Override.class) in unscopedComponentFactory()
104 .addAnnotation(Dagger.binds()) in bindSubcomponentFactory()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DFragmentGenerator.java103 .addAnnotation(Override.class) in onAttachContextMethod()
104 .addAnnotation(AndroidClassNames.CALL_SUPER) in onAttachContextMethod()
123 .addAnnotation(Override.class) in onAttachActivityMethod()
124 .addAnnotation(AndroidClassNames.CALL_SUPER) in onAttachActivityMethod()
125 .addAnnotation(AndroidClassNames.MAIN_THREAD) in onAttachActivityMethod()
176 .addAnnotation(Override.class) in getContextMethod()
189 .addAnnotation(Override.class) in inflatorMethod()
209 .addAnnotation(Override.class) in getDefaultViewModelProviderFactory()
DActivityGenerator.java90 .addAnnotation(AndroidClassNames.CALL_SUPER) in onCreate()
91 .addAnnotation(Override.class) in onCreate()
95 .addAnnotation(AndroidClassNames.NULLABLE) in onCreate()
108 .addAnnotation(Override.class) in getDefaultViewModelProviderFactory()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DDefaultProfileClassGenerator.java114 .addAnnotation(Override.class) in generateDefaultProfileClass()
130 .addAnnotation(Override.class) in generateDefaultProfileClass()
144 .addAnnotation(Override.class) in generateDefaultProfileClass()
158 .addAnnotation(Override.class) in generateDefaultProfileClass()
187 .addAnnotation(Override.class) in generateDefaultProfileClass()
203 .addAnnotation(Override.class) in generateDefaultProfileClass()
234 .addAnnotation(Override.class) in addCurrentMethod()
263 .addAnnotation(Override.class) in generatePrimaryMethod()
285 .addAnnotation(Override.class) in generateSecondaryMethod()
307 .addAnnotation(Override.class) in generateSuppliersMethod()
DOtherProfileGenerator.java107 .addAnnotation( in generateOtherProfileClass()
117 .addAnnotation(Override.class) in generateOtherProfileClass()
118 .addAnnotation( in generateOtherProfileClass()
134 .addAnnotation(Override.class) in generateOtherProfileClass()
163 .addAnnotation(Override.class) in generateBlockingMethodOnOtherProfileClass()
249 .addAnnotation(Override.class) in generateCrossProfileCallbackMethodOnOtherProfileClass()
288 methodBuilder.addAnnotation( in generateCrossProfileCallbackMethodOnOtherProfileClass()
314 .addAnnotation(Override.class) in generateFutureMethodOnOtherProfileClass()
353 methodBuilder.addAnnotation( in generateFutureMethodOnOtherProfileClass()
DAlwaysThrowsGenerator.java96 .addAnnotation(Override.class) in generateAlwaysThrowsClass()
97 .addAnnotation( in generateAlwaysThrowsClass()
112 .addAnnotation(Override.class) in generateAlwaysThrowsClass()
141 .addAnnotation(Override.class) in generateBlockingMethodOnAlwaysThrowsClass()
161 .addAnnotation(Override.class) in generateCrossProfileCallbackMethodOnAlwaysThrowsClass()
194 .addAnnotation(Override.class) in generateFutureMethodOnAlwaysThrowsClass()
DFakeCrossProfileTypeGenerator.java108 .addAnnotation(Override.class) in generateFakeCrossProfileType()
126 .addAnnotation(Override.class) in generateFakeCrossProfileType()
141 .addAnnotation(Override.class) in generateFakeCrossProfileType()
164 .addAnnotation(Override.class) in generateFakeCrossProfileType()
180 .addAnnotation(Override.class) in generateFakeCrossProfileType()
256 .addAnnotation(Override.class) in addPersonalMethod()
285 .addAnnotation(Override.class) in addWorkMethod()
421 .addAnnotation(Override.class) in generatePrimaryMethod()
432 .addAnnotation(Override.class) in generateSecondaryMethod()
443 .addAnnotation(Override.class) in generateSuppliersMethod()
/external/opencensus-java/exporters/trace/zipkin/src/test/java/io/opencensus/exporter/trace/zipkin/
DZipkinExporterHandlerTest.java103 .addAnnotation(1505855799000000L + 433901068L / 1000, "RECEIVED") in generateSpan_NoKindAndRemoteParent()
104 .addAnnotation(1505855799000000L + 459486280L / 1000, "SENT") in generateSpan_NoKindAndRemoteParent()
144 .addAnnotation(1505855799000000L + 433901068L / 1000, "RECEIVED") in generateSpan_ServerKind()
145 .addAnnotation(1505855799000000L + 459486280L / 1000, "SENT") in generateSpan_ServerKind()
185 .addAnnotation(1505855799000000L + 433901068L / 1000, "RECEIVED") in generateSpan_ClientKind()
186 .addAnnotation(1505855799000000L + 459486280L / 1000, "SENT") in generateSpan_ClientKind()
230 .addAnnotation(1505855799000000L + 433901068L / 1000, "RECEIVED") in generateSpan_WithAttributes()
231 .addAnnotation(1505855799000000L + 459486280L / 1000, "SENT") in generateSpan_WithAttributes()
/external/dagger2/java/dagger/hilt/processor/internal/root/
DTestInjectorGenerator.java49 .addAnnotation(Processors.getOriginatingElementAnnotation(metadata.testElement())) in generate()
50 .addAnnotation(ClassNames.GENERATED_ENTRY_POINT) in generate()
51 .addAnnotation( in generate()
60 .addAnnotation(Override.class) in generate()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DBlankSpanTest.java51 BlankSpan.INSTANCE.addAnnotation("MyAnnotation"); in doNotCrash()
52 BlankSpan.INSTANCE.addAnnotation("MyAnnotation", attributes); in doNotCrash()
53 BlankSpan.INSTANCE.addAnnotation("MyAnnotation", multipleAttributes); in doNotCrash()
54 BlankSpan.INSTANCE.addAnnotation(Annotation.fromDescription("MyAnnotation")); in doNotCrash()
/external/dagger2/java/dagger/android/processor/
DContributesAndroidInjectorGenerator.java120 .addAnnotation( in generate()
129 .ifPresent(module::addAnnotation); in generate()
144 .addAnnotation(Binds.class) in bindAndroidInjectorFactory()
145 .addAnnotation(IntoMap.class) in bindAndroidInjectorFactory()
146 .addAnnotation(androidInjectorMapKey(descriptor)) in bindAndroidInjectorFactory()
178 .addAnnotation(subcomponentAnnotation.build()) in subcomponent()
188 .addAnnotation(Subcomponent.Factory.class) in subcomponentFactory()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DSpan.java139 public final void addAnnotation(String description) { in addAnnotation() method in Span
141 addAnnotation(description, EMPTY_ATTRIBUTES); in addAnnotation()
152 public abstract void addAnnotation(String description, Map<String, AttributeValue> attributes); in addAnnotation() method in Span
160 public abstract void addAnnotation(Annotation annotation); in addAnnotation() method in Span
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/trace/
DMultiSpansTracing.java37 rootSpan.addAnnotation("Annotation to the root Span before child is created."); in doWork()
39 childSpan.addAnnotation("Annotation to the child Span"); in doWork()
41 rootSpan.addAnnotation("Annotation to the root Span after child is ended."); in doWork()
DMultiSpansScopedTracing.java40 tracer.getCurrentSpan().addAnnotation("Annotation to the child Span"); in doSomeOtherWork()
51 tracer.getCurrentSpan().addAnnotation("Annotation to the root Span before child is created."); in doWork()
53 tracer.getCurrentSpan().addAnnotation("Annotation to the root Span after child is ended."); in doWork()
DMultiSpansContextTracing.java40 tracer.getCurrentSpan().addAnnotation("Annotation to the child Span"); in doSomeOtherWork()
53 tracer.getCurrentSpan().addAnnotation("Annotation to the root Span before child is created."); in doWork()
55 tracer.getCurrentSpan().addAnnotation("Annotation to the root Span after child is ended."); in doWork()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DNoRecordEventsSpanImplTest.java79 noRecordEventsSpan.addAnnotation("MyAnnotation"); in doNotCrash()
80 noRecordEventsSpan.addAnnotation("MyAnnotation", attributes); in doNotCrash()
81 noRecordEventsSpan.addAnnotation("MyAnnotation", multipleAttributes); in doNotCrash()
82 noRecordEventsSpan.addAnnotation(Annotation.fromDescription("MyAnnotation")); in doNotCrash()
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DPkgPrivateEntryPointGenerator.java60 .addAnnotation(Processors.getOriginatingElementAnnotation(metadata.getTypeElement())) in generate()
63 .addAnnotation(metadata.getAnnotation()); in generate()
68 entryPointInterfaceBuilder.addAnnotation( in generate()
DPkgPrivateModuleGenerator.java57 .addAnnotation(Processors.getOriginatingElementAnnotation(metadata.getTypeElement())) in generate()
60 .addAnnotation( in generate()
62 .addAnnotation( in generate()
/external/dagger2/java/dagger/internal/codegen/validation/
DMonitoringModuleGenerator.java70 .addAnnotation(Module.class) in write()
83 .addAnnotation(Multibinds.class) in setOfFactories()
93 .addAnnotation(Provides.class) in monitor()
94 .addAnnotation(ProductionScope.class) in monitor()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/grpc/helloworld/
DHelloWorldServer.java70 span.addAnnotation("Performing work."); in performWork()
72 span.addAnnotation("Done work."); in performWork()
81 span.addAnnotation("Exception thrown when performing work " + e.getMessage()); in sleepFor()
161 span.addAnnotation( in sayHello()
168 span.addAnnotation("Sleeping."); in sayHello()

123456