PrimitiveTypeDefinitionBuilder implements TypeDefinitionBuilder<PrimitiveType> { @Override public boolean accept(ProcessingEnvironment processingEnv, TypeMirror type) { return isPrimitiveType(type); }  @Override boolean accept(ProcessingEnvironment processingEnv, TypeMirror type); @Override void build(ProcessingEnvironment processingEnv, PrimitiveType type, TypeDefinition typeDefinition); @Override int getPriority();  }
@Test public void testAccept() { assertTrue(builder.accept(processingEnv, zField.asType())); assertTrue(builder.accept(processingEnv, bField.asType())); assertTrue(builder.accept(processingEnv, cField.asType())); assertTrue(builder.accept(processingEnv, sField.asType())); assertTrue(builder.accept(processingEnv, iField.asType())); assertTrue(builder.accept(processingEnv, lField.asType())); assertTrue(builder.accept(processingEnv, fField.asType())); assertTrue(builder.accept(processingEnv, dField.asType())); }