Home
last modified time | relevance | path

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

/external/dagger2/java/dagger/internal/codegen/javapoet/
DTypeSpecs.java34 public static TypeSpec.Builder addSupertype(TypeSpec.Builder typeBuilder, TypeElement supertype) { in addSupertype() argument
37 return typeBuilder.superclass(ClassName.get(supertype)); in addSupertype()
39 return typeBuilder.addSuperinterface(ClassName.get(supertype)); in addSupertype()
/external/javapoet/src/test/java/com/squareup/javapoet/
DAnnotationSpecTest.java161 TypeSpec.Builder typeBuilder = TypeSpec.classBuilder(IsAnnotated.class.getSimpleName()); in defaultAnnotationWithImport() local
162 typeBuilder.addAnnotation(annotation); in defaultAnnotationWithImport()
163 JavaFile file = JavaFile.builder("com.squareup.javapoet", typeBuilder.build()).build(); in defaultAnnotationWithImport()
/external/dagger2/java/dagger/internal/codegen/writing/
DProducerFactoryGenerator.java256 TypeSpec.Builder typeBuilder, in addFieldAndConstructorParameter() argument
261 typeBuilder.addField(field); in addFieldAndConstructorParameter()
/external/llvm-project/mlir/tools/mlir-tblgen/
DOpFormatGen.cpp1140 if (Optional<StringRef> typeBuilder = attr->getTypeBuilder()) { in genElementParser() local
1142 os << ", " << tgfmt(*typeBuilder, &attrTypeCtx); in genElementParser()