Searched refs:componentWriter (Results 1 – 3 of 3) sorted by relevance
55 ClassWriter componentWriter = javaWriter.addClass(name.simpleName()); in createComponentClass() local56 componentWriter.annotate(Generated.class).setValue(ComponentProcessor.class.getCanonicalName()); in createComponentClass()57 componentWriter.addModifiers(PUBLIC, FINAL); in createComponentClass()58 componentWriter.setSupertype(componentDefinitionType()); in createComponentClass()59 return componentWriter; in createComponentClass()64 ClassWriter builderWriter = componentWriter.addNestedClass("Builder"); in createBuilder()71 ? componentWriter.addMethod( in createBuilder()79 : componentWriter.addMethod(builderWriter, "builder"); in createBuilder()89 componentWriter.addMethod(componentDefinitionTypeName(), "create"); in addFactoryMethods()
110 ClassWriter componentWriter = parent.componentWriter.addNestedClass(name.simpleName()); in createComponentClass() local111 componentWriter.addModifiers(PRIVATE, FINAL); in createComponentClass()112 componentWriter.setSupertype( in createComponentClass()121 return componentWriter; in createComponentClass()136 return parent.componentWriter.addNestedClass( in createBuilder()146 parent.componentWriter.addMethod( in addFactoryMethods()153 parent.componentWriter.addMethod( in addFactoryMethods()175 componentWriter.addField(moduleTypeElement, preferredModuleName); in writeSubcomponentWithoutBuilder()197 FieldWriter contributionField = componentWriter.addField(moduleType, preferredModuleName); in writeSubcomponentWithoutBuilder()
134 protected ClassWriter componentWriter; field in AbstractComponentWriter204 componentWriter.addField(contributionType, simpleVariableName(contributionType)); in getOrCreateComponentContributionFieldSnippet()261 componentWriter = createComponentClass(); in writeComponent()277 constructorWriter = componentWriter.addConstructor(); in addConstructor()524 componentWriter.addField( in addFrameworkField()597 ? componentWriter.addMethod( in implementInterfaceMethods()599 : componentWriter.addMethod( in implementInterfaceMethods()688 componentWriter.addMethod(VoidName.VOID, "initialize" + ((i == 0) ? "" : i)); in initializeFrameworkTypes()