Home
last modified time | relevance | path

Searched refs:fieldSpec (Results 1 – 4 of 4) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/writing/
DFrameworkFieldInitializer.java79 private FieldSpec fieldSpec; field in FrameworkFieldInitializer
98 return MemberSelect.localField(componentImplementation.name(), checkNotNull(fieldSpec).name); in memberSelect()
113 "$T.setDelegate($N, $L);", delegateType(), fieldSpec, fieldInitialization); in initializeField()
140 if (fieldSpec != null) { in getOrCreateField()
141 return fieldSpec; in getOrCreateField()
172 fieldSpec = contributionField.build(); in getOrCreateField()
173 componentImplementation.addField(FRAMEWORK_FIELD, fieldSpec); in getOrCreateField()
175 return fieldSpec; in getOrCreateField()
DComponentImplementation.java302 public void addField(FieldSpecKind fieldKind, FieldSpec fieldSpec) { in addField() argument
303 fieldSpecsMap.put(fieldKind, fieldSpec); in addField()
/external/javapoet/src/main/java/com/squareup/javapoet/
DTypeSpec.java282 for (FieldSpec fieldSpec : fieldSpecs) { in emit()
283 if (!fieldSpec.hasModifier(Modifier.STATIC)) continue; in emit()
285 fieldSpec.emit(codeWriter, kind.implicitFieldModifiers); in emit()
296 for (FieldSpec fieldSpec : fieldSpecs) { in emit()
297 if (fieldSpec.hasModifier(Modifier.STATIC)) continue; in emit()
299 fieldSpec.emit(codeWriter, kind.implicitFieldModifiers); in emit()
591 for (FieldSpec fieldSpec : fieldSpecs) { in addFields()
592 addField(fieldSpec); in addFields()
597 public Builder addField(FieldSpec fieldSpec) { in addField() argument
598 fieldSpecs.add(fieldSpec); in addField()
[all …]
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java1212 for (StaticFieldSpec<?> fieldSpec : fields) { in testStaticInitializer()
1213 Field field = generated.getDeclaredField(fieldSpec.name); in testStaticInitializer()
1215 assertEquals(fieldSpec.value, field.get(null)); in testStaticInitializer()