Home
last modified time | relevance | path

Searched refs:addModifiers (Results 1 – 25 of 87) sorted by relevance

1234

/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DFakeCrossProfileTypeGenerator.java89 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in generateFakeCrossProfileType()
94 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in generateFakeCrossProfileType()
101 .addModifiers(Modifier.PUBLIC, Modifier.STATIC) in generateFakeCrossProfileType()
109 .addModifiers(Modifier.PUBLIC) in generateFakeCrossProfileType()
127 .addModifiers(Modifier.PUBLIC) in generateFakeCrossProfileType()
142 .addModifiers(Modifier.PUBLIC) in generateFakeCrossProfileType()
165 .addModifiers(Modifier.PUBLIC) in generateFakeCrossProfileType()
182 .addModifiers(Modifier.PUBLIC) in generateFakeCrossProfileType()
211 .addModifiers(Modifier.PRIVATE) in addConstructor()
218 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in addConstructor()
[all …]
DCrossProfileCallbackCodeGenerator.java96 .addModifiers(Modifier.PUBLIC); in generateMultiInterface()
125 .addModifiers(Modifier.PUBLIC); in generateMultiMergerResultClass()
131 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in generateMultiMergerResultClass()
136 .addModifiers(Modifier.PUBLIC) in generateMultiMergerResultClass()
148 .addModifiers(Modifier.PUBLIC) in generateMultiMergerResultClass()
171 .addModifiers(Modifier.PUBLIC); in generateMultiMergerInputClass()
175 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in generateMultiMergerInputClass()
184 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in generateMultiMergerInputClass()
189 .addModifiers(Modifier.PUBLIC) in generateMultiMergerInputClass()
203 .addModifiers(Modifier.PUBLIC); in generateMultiMergerInputClass()
[all …]
DInterfaceGenerator.java88 .addModifiers(Modifier.PUBLIC); in generateCrossProfileTypeInterface()
98 .addModifiers(Modifier.PUBLIC, Modifier.STATIC) in generateCrossProfileTypeInterface()
109 .addModifiers(Modifier.PUBLIC, Modifier.ABSTRACT) in generateCrossProfileTypeInterface()
116 .addModifiers(Modifier.PUBLIC, Modifier.ABSTRACT) in generateCrossProfileTypeInterface()
123 .addModifiers(Modifier.PUBLIC, Modifier.ABSTRACT) in generateCrossProfileTypeInterface()
130 .addModifiers(Modifier.PUBLIC, Modifier.ABSTRACT) in generateCrossProfileTypeInterface()
137 .addModifiers(Modifier.PUBLIC, Modifier.ABSTRACT) in generateCrossProfileTypeInterface()
151 .addModifiers(Modifier.PUBLIC, Modifier.ABSTRACT) in generateCrossProfileTypeInterface()
160 .addModifiers(Modifier.PUBLIC, Modifier.ABSTRACT) in generateCrossProfileTypeInterface()
181 .addModifiers(Modifier.PUBLIC, Modifier.ABSTRACT) in generatePrimaryMethod()
[all …]
DDefaultProfileClassGenerator.java94 .addModifiers(Modifier.FINAL); in generateDefaultProfileClass()
100 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in generateDefaultProfileClass()
106 .addModifiers(Modifier.PUBLIC) in generateDefaultProfileClass()
115 .addModifiers(Modifier.PUBLIC) in generateDefaultProfileClass()
131 .addModifiers(Modifier.PUBLIC) in generateDefaultProfileClass()
145 .addModifiers(Modifier.PUBLIC) in generateDefaultProfileClass()
159 .addModifiers(Modifier.PUBLIC) in generateDefaultProfileClass()
188 .addModifiers(Modifier.PUBLIC) in generateDefaultProfileClass()
204 .addModifiers(Modifier.PUBLIC) in generateDefaultProfileClass()
235 .addModifiers(Modifier.PUBLIC) in addCurrentMethod()
[all …]
DUserConnectorCodeGenerator.java78 .addModifiers(Modifier.FINAL) in generateUserConnector()
84 .addModifiers(Modifier.PUBLIC, Modifier.STATIC) in generateUserConnector()
92 .addModifiers(Modifier.PRIVATE) in generateUserConnector()
111 .addModifiers(Modifier.PUBLIC, Modifier.FINAL, Modifier.STATIC); in generateUserConnectorBuilder()
129 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in generateUserConnectorBuilder()
135 .addModifiers(Modifier.PUBLIC) in generateUserConnectorBuilder()
145 .addModifiers(Modifier.PUBLIC) in generateUserConnectorBuilder()
154 .addModifiers(Modifier.PUBLIC) in generateUserConnectorBuilder()
DProfileConnectorCodeGenerator.java79 .addModifiers(Modifier.FINAL) in generateProfileConnector()
85 .addModifiers(Modifier.PUBLIC, Modifier.STATIC) in generateProfileConnector()
93 .addModifiers(Modifier.PRIVATE) in generateProfileConnector()
113 .addModifiers(Modifier.PUBLIC, Modifier.FINAL, Modifier.STATIC); in generateProfileConnectorBuilder()
140 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in generateProfileConnectorBuilder()
146 .addModifiers(Modifier.PUBLIC) in generateProfileConnectorBuilder()
156 .addModifiers(Modifier.PUBLIC) in generateProfileConnectorBuilder()
165 .addModifiers(Modifier.PUBLIC) in generateProfileConnectorBuilder()
DCurrentProfileGenerator.java84 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in generateCurrentProfileClass()
108 .addModifiers(Modifier.PUBLIC) in generateCurrentProfileClass()
120 .addModifiers(Modifier.PUBLIC) in generateCurrentProfileClass()
131 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in addCrossProfileConstructor()
136 .addModifiers(Modifier.PUBLIC) in addCrossProfileConstructor()
143 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in addCrossProfileConstructor()
180 .addModifiers(Modifier.PUBLIC) in generateMethodOnCurrentProfileClass()
198 .addModifiers(Modifier.PUBLIC) in generateCrossProfileCallbackWithExceptionMethodOnCurrentProfileClass()
DProtoParcelableWrapperGenerator.java80 .addModifiers(Modifier.PUBLIC) in generateProtoParcelableWrapper()
94 .addModifiers(Modifier.PRIVATE, Modifier.FINAL, Modifier.STATIC) in generateProtoParcelableWrapper()
100 .addModifiers(Modifier.PUBLIC, Modifier.STATIC) in generateProtoParcelableWrapper()
113 .addModifiers(Modifier.PUBLIC) in generateProtoParcelableWrapper()
120 .addModifiers(Modifier.PRIVATE) in generateProtoParcelableWrapper()
129 .addModifiers(Modifier.PRIVATE) in generateProtoParcelableWrapper()
148 .addModifiers(Modifier.PUBLIC) in generateProtoParcelableWrapper()
DInternalProviderClassGenerator.java68 TypeSpec.classBuilder(className).addModifiers(Modifier.PUBLIC, Modifier.FINAL); in generateInternalProviderClassClass()
76 .addModifiers(Modifier.PRIVATE, Modifier.STATIC, Modifier.FINAL) in generateInternalProviderClassClass()
82 .addModifiers(Modifier.PRIVATE) in generateInternalProviderClassClass()
87 .addModifiers(Modifier.PUBLIC, Modifier.STATIC) in generateInternalProviderClassClass()
100 .addModifiers(Modifier.PRIVATE) in generateInternalProviderClassClass()
109 .addModifiers(Modifier.PUBLIC) in generateInternalProviderClassClass()
148 .addModifiers(Modifier.PUBLIC) in addCallMethod()
DServiceGenerator.java76 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in generateServiceClass()
93 .addModifiers(Modifier.PUBLIC) in generateServiceClass()
109 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in addBinder()
127 .addModifiers(Modifier.PUBLIC) in addPrepareCallMethod()
143 .addModifiers(Modifier.PUBLIC) in addCallMethod()
163 .addModifiers(Modifier.PUBLIC) in addFetchResponseMethod()
DAlwaysThrowsGenerator.java79 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in generateAlwaysThrowsClass()
86 .addModifiers(Modifier.PUBLIC) in generateAlwaysThrowsClass()
101 .addModifiers(Modifier.PUBLIC) in generateAlwaysThrowsClass()
113 .addModifiers(Modifier.PUBLIC) in generateAlwaysThrowsClass()
142 .addModifiers(Modifier.PUBLIC) in generateBlockingMethodOnAlwaysThrowsClass()
162 .addModifiers(Modifier.PUBLIC) in generateCrossProfileCallbackMethodOnAlwaysThrowsClass()
195 .addModifiers(Modifier.PUBLIC) in generateFutureMethodOnAlwaysThrowsClass()
DFakeProfileConnectorGenerator.java62 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in generateFakeProfileConnector()
71 .addModifiers(Modifier.PUBLIC) in generateFakeProfileConnector()
77 .addModifiers(Modifier.PUBLIC) in generateFakeProfileConnector()
85 .addModifiers(Modifier.PUBLIC) in generateFakeProfileConnector()
DInternalCrossProfileClassGenerator.java90 TypeSpec.classBuilder(className).addModifiers(Modifier.PUBLIC, Modifier.FINAL); in generateInternalCrossProfileClass()
101 .addModifiers(Modifier.PRIVATE, Modifier.STATIC, Modifier.FINAL) in generateInternalCrossProfileClass()
107 .addModifiers(Modifier.PRIVATE, Modifier.STATIC, Modifier.FINAL) in generateInternalCrossProfileClass()
140 .addModifiers(Modifier.STATIC) in generateInternalCrossProfileClass()
145 classBuilder.addMethod(MethodSpec.constructorBuilder().addModifiers(Modifier.PRIVATE).build()); in generateInternalCrossProfileClass()
160 .addModifiers(Modifier.PRIVATE) in addMethodsField()
231 .addModifiers(Modifier.PRIVATE) in addBlockingCrossProfileTypeMethod()
279 .addModifiers(Modifier.PRIVATE) in addCrossProfileCallbackCrossProfileTypeMethod()
331 .addModifiers(Modifier.PRIVATE) in addFutureCrossProfileTypeMethod()
389 .addModifiers(Modifier.PUBLIC) in addCallMethod()
DBundlerGenerator.java79 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in generateBundlerClass()
82 classBuilder.addMethod(MethodSpec.constructorBuilder().addModifiers(Modifier.PUBLIC).build()); in generateBundlerClass()
85 .addModifiers(Modifier.PRIVATE) in generateBundlerClass()
100 .addModifiers(Modifier.PUBLIC) in makeParcelable()
123 .addModifiers(Modifier.PUBLIC) in addWriteToParcelMethod()
186 .addModifiers(Modifier.PUBLIC) in addReadFromParcelMethod()
241 .addModifiers(Modifier.PUBLIC) in addCreateArrayMethod()
/external/dagger2/java/dagger/hilt/android/processor/internal/viewmodel/
DViewModelModuleGenerator.kt77 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in <lambda>()
82 .addModifiers(Modifier.PRIVATE) in <lambda>()
95 .addModifiers(Modifier.ABSTRACT) in <lambda>()
109 .addModifiers(Modifier.PUBLIC, Modifier.ABSTRACT) in <lambda>()
118 .addModifiers(Modifier.FINAL) in <lambda>()
121 .addModifiers(Modifier.PRIVATE) in <lambda>()
132 .addModifiers(Modifier.PUBLIC, Modifier.STATIC) in <lambda>()
146 .addModifiers(Modifier.PUBLIC, Modifier.STATIC) in <lambda>()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DFragmentGenerator.java36 .addModifiers(Modifier.PRIVATE)
66 .addModifiers(metadata.generatedClassModifiers()) in createTypeSpec()
105 .addModifiers(Modifier.PUBLIC) in onAttachContextMethod()
126 .addModifiers(Modifier.PUBLIC) in onAttachActivityMethod()
153 .addModifiers(Modifier.PRIVATE) in initializeComponentContextMethod()
177 .addModifiers(Modifier.PUBLIC) in getContextMethod()
190 .addModifiers(Modifier.PUBLIC) in inflatorMethod()
210 .addModifiers(Modifier.PUBLIC) in getDefaultViewModelProviderFactory()
DGenerators.java173 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in addComponentOverride()
222 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in addComponentManagerMethods()
259 .addModifiers(Modifier.PROTECTED) in createComponentManagerMethod()
272 .addModifiers(Modifier.PRIVATE); in componentManagerField()
276 builder.addModifiers(Modifier.VOLATILE); in componentManagerField()
285 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in componentManagerLockField()
299 .addModifiers(Modifier.PROTECTED); in addInjectMethod()
376 .addModifiers(Modifier.PUBLIC) in addInjectMethod()
456 .addModifiers(Modifier.PRIVATE); in injectedField()
460 builder.addModifiers(Modifier.VOLATILE); in injectedField()
[all …]
DApplicationGenerator.java57 .addModifiers(metadata.generatedClassModifiers()) in generate()
83 .addModifiers(Modifier.PRIVATE, Modifier.FINAL) in componentManagerField()
94 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in componentManagerMethod()
117 .addModifiers(Modifier.PUBLIC) in creatorType()
142 .addModifiers(Modifier.PUBLIC) in onCreateMethod()
/external/javapoet/src/test/java/com/squareup/javapoet/
DTypeSpecTest.java64 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in basic()
124 .addModifiers(Modifier.FINAL) in anonymousInnerClass()
130 .addModifiers(Modifier.PUBLIC) in anonymousInnerClass()
139 .addModifiers(Modifier.PUBLIC) in anonymousInnerClass()
147 .addModifiers(Modifier.STATIC, Modifier.FINAL, Modifier.FINAL) in anonymousInnerClass()
175 .addModifiers(Modifier.PUBLIC) in annotatedParameters()
244 .addModifiers(Modifier.PUBLIC, Modifier.ABSTRACT) in retrofitStyleInterface()
315 .addModifiers(Modifier.PUBLIC) in annotatedClass()
352 .addModifiers(Modifier.PUBLIC) in enumWithSubclassing()
359 .addModifiers(Modifier.PUBLIC) in enumWithSubclassing()
[all …]
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentHjarGenerator.java108 .addModifiers(FINAL) in write()
111 generatedComponent.addModifiers(PUBLIC); in write()
128 .addModifiers(STATIC, FINAL) in write()
131 builder.addModifiers(PUBLIC); in write()
186 return constructorBuilder().addModifiers(PRIVATE).build(); in privateConstructor()
235 .addModifiers(PUBLIC) in builderSetterMethod()
243 .addModifiers(PUBLIC) in builderBuildMethod()
251 .addModifiers(PUBLIC, STATIC) in staticCreatorMethod()
258 .addModifiers(PUBLIC, STATIC) in createMethod()
265 .addModifiers(PUBLIC) in onProducerFutureCancelledMethod()
/external/tensorflow/tensorflow/java/src/gen/java/org/tensorflow/processor/
DOperatorProcessor.java255 .addModifiers(Modifier.PUBLIC) in buildOpMethod()
315 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in buildGroupClass()
326 FieldSpec.builder(T_SCOPE, "scope").addModifiers(Modifier.PRIVATE, Modifier.FINAL).build()); in buildGroupClass()
335 .addModifiers(Modifier.PRIVATE) in buildTopClass()
345 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in buildTopClass()
382 .addModifiers(Modifier.PUBLIC) in buildTopClass()
394 .addModifiers(Modifier.PUBLIC) in buildTopClass()
406 .addModifiers(Modifier.PUBLIC) in buildTopClass()
418 FieldSpec.builder(T_SCOPE, "scope").addModifiers(Modifier.PRIVATE, Modifier.FINAL).build()); in buildTopClass()
422 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in buildTopClass()
[all …]
/external/dagger2/java/dagger/grpc/server/processor/
DServiceDefinitionTypeGenerator.java46 .addModifiers(PUBLIC); in createType()
50 .addModifiers(PUBLIC, STATIC) in createType()
53 .addModifiers(PUBLIC, ABSTRACT) in createType()
61 .addModifiers(PUBLIC, ABSTRACT) in createType()
DUnscopedGrpcServiceModuleGenerator.java63 .addModifiers(PUBLIC, ABSTRACT) in createType()
66 .addMethod(constructorBuilder().addModifiers(PRIVATE).build()) in createType()
76 .addModifiers(STATIC, FINAL) in unscopedComponentFactory()
88 .addModifiers(PUBLIC) in unscopedComponentFactory()
105 .addModifiers(ABSTRACT) in bindSubcomponentFactory()
/external/dagger2/java/dagger/hilt/android/processor/internal/customtestapplication/
DCustomTestApplicationGenerator.java53 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in generate()
92 .addModifiers(Modifier.PROTECTED, Modifier.FINAL) in getAttachBaseContextMethod()
102 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in getComponentMethod()
111 .addModifiers(Modifier.PUBLIC, Modifier.FINAL) in getComponentManagerMethod()
/external/dagger2/java/dagger/internal/codegen/validation/
DMonitoringModuleGenerator.java71 .addModifiers(ABSTRACT) in write()
78 return constructorBuilder().addModifiers(PRIVATE).build(); in privateConstructor()
84 .addModifiers(ABSTRACT) in setOfFactories()
92 .addModifiers(STATIC) in monitor()

1234