/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | FieldSpecTest.java | 27 FieldSpec a = FieldSpec.builder(int.class, "foo").build(); in equalsAndHashCode() 28 FieldSpec b = FieldSpec.builder(int.class, "foo").build(); in equalsAndHashCode() 32 a = FieldSpec.builder(int.class, "FOO", Modifier.PUBLIC, Modifier.STATIC).build(); in equalsAndHashCode() 33 b = FieldSpec.builder(int.class, "FOO", Modifier.PUBLIC, Modifier.STATIC).build(); in equalsAndHashCode() 41 FieldSpec.builder(int.class, "foo").addAnnotations(null); in nullAnnotationsAddition() 51 FieldSpec.Builder builder = FieldSpec.builder(int.class, "foo") in modifyAnnotations() 60 FieldSpec.Builder builder = FieldSpec.builder(int.class, "foo") in modifyModifiers()
|
D | TypeSpecTest.java | 146 .addField(FieldSpec.builder(thingThangOfFooBar, "NAME") in anonymousInnerClass() 290 .addField(FieldSpec.builder(String.class, "thing", Modifier.PRIVATE, Modifier.FINAL) in annotatedField() 817 FieldSpec field = FieldSpec.builder(int.class, "FOO") in annotationWithFields() 908 FieldSpec internalTop = FieldSpec.builder( in referencedAndDeclaredSimpleNamesConflict() 910 FieldSpec internalBottom = FieldSpec.builder( in referencedAndDeclaredSimpleNamesConflict() 912 FieldSpec externalTop = FieldSpec.builder( in referencedAndDeclaredSimpleNamesConflict() 914 FieldSpec externalBottom = FieldSpec.builder( in referencedAndDeclaredSimpleNamesConflict() 971 FieldSpec internalOther = FieldSpec.builder( in simpleNamesConflictInThisAndOtherPackage() 973 FieldSpec externalOther = FieldSpec.builder( in simpleNamesConflictInThisAndOtherPackage() 997 .addField(FieldSpec.builder(inPackage, "inPackage").build()) in simpleNameConflictsWithTypeVariable() [all …]
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | ComponentRequirementExpressions.java | 29 import com.squareup.javapoet.FieldSpec; 153 FieldSpec field = createField(); in addField() 159 private FieldSpec createField() { in createField() 160 return FieldSpec.builder(TypeName.get(componentRequirement.type()), fieldName, PRIVATE, FINAL) in createField() 165 abstract CodeBlock fieldInitialization(FieldSpec componentField); in fieldInitialization() 183 CodeBlock fieldInitialization(FieldSpec componentField) { in fieldInitialization() 227 CodeBlock fieldInitialization(FieldSpec componentField) { in fieldInitialization()
|
D | ProducerFactoryGenerator.java | 56 import com.squareup.javapoet.FieldSpec; 133 ImmutableMap.Builder<DependencyRequest, FieldSpec> fieldsBuilder = ImmutableMap.builder(); in write() 137 Optional<FieldSpec> moduleField = in write() 165 FieldSpec field = in write() 172 ImmutableMap<DependencyRequest, FieldSpec> fields = fieldsBuilder.build(); in write() 255 private static FieldSpec addFieldAndConstructorParameter( in addFieldAndConstructorParameter() 260 FieldSpec field = FieldSpec.builder(variableType, variableName, PRIVATE, FINAL).build(); in addFieldAndConstructorParameter() 266 private static CodeBlock fieldAssignment(FieldSpec field, ParameterizedTypeName type) { in fieldAssignment() 278 MethodSpec.Builder constructorBuilder, FieldSpec field, ParameterizedTypeName type) { in assignField() 315 protected final ImmutableMap<DependencyRequest, FieldSpec> fields; [all …]
|
D | ComponentCreatorImplementation.java | 22 import com.squareup.javapoet.FieldSpec; 32 TypeSpec spec, ClassName name, ImmutableMap<ComponentRequirement, FieldSpec> fields) { in create() 43 abstract ImmutableMap<ComponentRequirement, FieldSpec> fields(); in fields()
|
D | ProducerEntryPointView.java | 23 import com.squareup.javapoet.FieldSpec; 78 private FieldSpec createField( in createField() 86 FieldSpec field = in createField() 87 FieldSpec.builder( in createField()
|
D | FrameworkFieldInitializer.java | 28 import com.squareup.javapoet.FieldSpec; 79 private FieldSpec fieldSpec; 139 private FieldSpec getOrCreateField() { in getOrCreateField() 164 FieldSpec.Builder contributionField = in getOrCreateField() 165 FieldSpec.builder( in getOrCreateField()
|
D | MethodBindingExpression.java | 30 import com.squareup.javapoet.FieldSpec; 203 private final Supplier<FieldSpec> field = Suppliers.memoize(this::createField); 226 FieldSpec createField() { in createField() 233 FieldSpec.Builder builder = FieldSpec.builder(fieldType(), name, PRIVATE, VOLATILE); in createField() 238 FieldSpec field = builder.build(); in createField() 287 FieldSpec.builder(TypeName.OBJECT, name, PRIVATE, VOLATILE) in createField()
|
D | HjarSourceFileGenerator.java | 25 import com.squareup.javapoet.FieldSpec; 116 private FieldSpec skeletonField(FieldSpec completeField) { in skeletonField() 117 return FieldSpec.builder( in skeletonField()
|
D | OptionalFactories.java | 49 import com.squareup.javapoet.FieldSpec; 107 private final Map<OptionalKind, FieldSpec> absentOptionalProviderFields = new TreeMap<>(); 153 FieldSpec field = absentOptionalProviderField(kind); in absentOptionalProviderMethod() 165 private FieldSpec absentOptionalProviderField(OptionalKind optionalKind) { 166 return FieldSpec.builder( 310 FieldSpec delegateField = 311 FieldSpec.builder(spec.delegateType(), "delegate", PRIVATE, FINAL).build(); 354 PresentFactorySpec spec, FieldSpec delegateField) {
|
D | FactoryGenerator.java | 51 import com.squareup.javapoet.FieldSpec; 150 FieldSpec.builder(param.type, param.name, PRIVATE, FINAL).build()); in addConstructorAndFields() 171 private ImmutableMap<DependencyRequest, FieldSpec> frameworkFields(ProvisionBinding binding) { in frameworkFields() 179 FieldSpec.builder( in frameworkFields() 196 FieldSpec.Builder instanceFieldBuilder = in addCreateMethod() 197 FieldSpec.builder(nameGeneratedType(binding), "INSTANCE", PRIVATE, STATIC, FINAL) in addCreateMethod() 244 ImmutableMap<DependencyRequest, FieldSpec> frameworkFields = frameworkFields(binding); in getMethod() 291 private static ParameterSpec toParameter(FieldSpec field) { in toParameter()
|
D | MembersInjectorGenerator.java | 46 import com.squareup.javapoet.FieldSpec; 141 ImmutableMap.Builder<DependencyRequest, FieldSpec> dependencyFieldsBuilder = in write() 172 FieldSpec.Builder fieldBuilder = FieldSpec.builder(fieldType, fieldName, PRIVATE, FINAL); in write() 186 FieldSpec field = fieldBuilder.build(); in write() 200 ImmutableMap<DependencyRequest, FieldSpec> dependencyFields = dependencyFieldsBuilder.build(); in write()
|
D | DependencyMethodProducerCreationExpression.java | 30 import com.squareup.javapoet.FieldSpec; 65 FieldSpec dependencyField = in creationExpression() 66 FieldSpec.builder( in creationExpression()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/ |
D | Generators.java | 27 import com.squareup.javapoet.FieldSpec; 269 private static FieldSpec componentManagerField(AndroidEntryPointMetadata metadata) { in componentManagerField() 271 FieldSpec.Builder builder = FieldSpec.builder(managerParam.type, managerParam.name) in componentManagerField() 283 private static FieldSpec componentManagerLockField() { in componentManagerLockField() 284 return FieldSpec.builder(TypeName.get(Object.class), "componentManagerLock") in componentManagerLockField() 454 private static FieldSpec injectedField(AndroidEntryPointMetadata metadata) { in injectedField() 455 FieldSpec.Builder builder = FieldSpec.builder(TypeName.BOOLEAN, "injected") in injectedField() 472 private static FieldSpec injectedLockField() { in injectedLockField() 473 return FieldSpec.builder(TypeName.OBJECT, "injectedLock") in injectedLockField()
|
D | ApplicationGenerator.java | 22 import com.squareup.javapoet.FieldSpec; 80 private FieldSpec componentManagerField() { in componentManagerField() 82 return FieldSpec.builder(managerParam.type, managerParam.name) in componentManagerField()
|
D | FragmentGenerator.java | 20 import com.squareup.javapoet.FieldSpec; 34 private static final FieldSpec COMPONENT_CONTEXT_FIELD = 35 FieldSpec.builder(AndroidClassNames.CONTEXT_WRAPPER, "componentContext")
|
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/ |
D | CrossProfileCallbackCodeGenerator.java | 38 import com.squareup.javapoet.FieldSpec; 128 FieldSpec.builder( in generateMultiMergerResultClass() 174 FieldSpec.builder(PROFILE_CLASSNAME, "profileId") in generateMultiMergerInputClass() 179 FieldSpec.builder( in generateMultiMergerInputClass() 261 FieldSpec.builder(CROSS_PROFILE_CALLBACK_CLASSNAME, "callback") in generateReceiverClass() 266 FieldSpec.builder(BUNDLER_CLASSNAME, "bundler") in generateReceiverClass() 367 FieldSpec.builder(ClassName.get(callbackInterface.interfaceElement()), "callback") in generateSenderClass() 372 FieldSpec.builder(EXCEPTION_CALLBACK_CLASSNAME, "exceptionCallback") in generateSenderClass() 377 FieldSpec.builder(BUNDLER_CLASSNAME, "bundler") in generateSenderClass()
|
D | FakeCrossProfileTypeGenerator.java | 35 import com.squareup.javapoet.FieldSpec; 93 FieldSpec.builder(fakeProfileConnectorClassName, "connector") in generateFakeCrossProfileType() 217 FieldSpec.builder(crossProfileType.className(), "personal") in addConstructor() 222 FieldSpec.builder(crossProfileType.className(), "work") in addConstructor() 321 FieldSpec.builder(fakeProfileConnectorClassName, "connector") in generateFakeCrossProfileTypeBuilder() 362 FieldSpec.builder(crossProfileType.className(), "personal") in setupNonStaticBuilder() 380 FieldSpec.builder(crossProfileType.className(), "work") in setupNonStaticBuilder()
|
D | ServiceGenerator.java | 30 import com.squareup.javapoet.FieldSpec; 107 FieldSpec.builder( in addBinder() 119 FieldSpec.builder(CROSSPROFILESERVICE_STUB_CLASSNAME, "binder", Modifier.PRIVATE) in addBinder()
|
/external/dagger2/java/dagger/hilt/android/processor/internal/customtestapplication/ |
D | CustomTestApplicationGenerator.java | 19 import com.squareup.javapoet.FieldSpec; 73 private static FieldSpec getComponentManagerField() { in getComponentManagerField() 74 return FieldSpec.builder(COMPONENT_MANAGER.type, COMPONENT_MANAGER.name, Modifier.PRIVATE) in getComponentManagerField()
|
/external/auto/value/src/main/java/com/google/auto/value/extension/memoized/processor/ |
D | MemoizeExtension.java | 60 import com.squareup.javapoet.FieldSpec; 399 private final FieldSpec cacheField; 400 private final ImmutableList.Builder<FieldSpec> fields = ImmutableList.builder(); 438 Iterable<FieldSpec> fields() { in fields() 504 private FieldSpec buildCacheField(TypeName type, String name) { in buildCacheField() 505 FieldSpec.Builder builder = FieldSpec.builder(type, name, PRIVATE, TRANSIENT, VOLATILE); in buildCacheField() 526 abstract Iterable<FieldSpec> additionalFields(); in additionalFields() 535 Iterable<FieldSpec> additionalFields() { in additionalFields() 558 private final FieldSpec field = 562 Iterable<FieldSpec> additionalFields() { in additionalFields()
|
/external/libxkbcommon/src/xkbcomp/ |
D | parser.y | 202 %type <atom> FieldSpec Ident Element String 591 FieldSpec : Ident { $$ = $1; } 671 | FieldSpec OPAREN OptExprList CPAREN %prec OPAREN 685 Action : FieldSpec OPAREN OptExprList CPAREN 689 Lhs : FieldSpec 691 | FieldSpec DOT FieldSpec 693 | FieldSpec OBRACKET Expr CBRACKET 695 | FieldSpec DOT FieldSpec OBRACKET Expr CBRACKET
|
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | FieldSpec.java | 32 public final class FieldSpec { class 40 private FieldSpec(Builder builder) { in FieldSpec() method in FieldSpec 171 public FieldSpec build() { in build() 172 return new FieldSpec(this); in build()
|
/external/dagger2/java/dagger/internal/codegen/componentgenerator/ |
D | ComponentCreatorImplementationFactory.java | 41 import com.squareup.javapoet.FieldSpec; 112 private ImmutableMap<ComponentRequirement, FieldSpec> fields; 186 private ImmutableMap<ComponentRequirement, FieldSpec> addFields() { in addFields() 189 ImmutableMap<ComponentRequirement, FieldSpec> result = in addFields() 193 FieldSpec.builder( in addFields() 297 FieldSpec field = fields.get(requirement); in factoryMethod() 312 ComponentRequirement requirement, FieldSpec field, MethodSpec.Builder factoryMethod) { in addNullHandlingForField()
|
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/processor/ |
D | SerializableAutoValueExtension.java | 36 import com.squareup.javapoet.FieldSpec; 237 private static FieldSpec serialVersionUid() { in serialVersionUid() 238 return FieldSpec.builder( in serialVersionUid() 245 private List<FieldSpec> properties() { in properties() 249 FieldSpec.builder( in properties()
|