ArrayTypeDefinitionBuilder implements TypeDefinitionBuilder<ArrayType> { @Override public boolean accept(ProcessingEnvironment processingEnv, TypeMirror type) { return isArrayType(type); }  @Override boolean accept(ProcessingEnvironment processingEnv, TypeMirror type); @Override void build(ProcessingEnvironment processingEnv, ArrayType type, TypeDefinition typeDefinition); @Override int getPriority();  }
@Test public void testAccept() { assertTrue(builder.accept(processingEnv, integersField.asType())); assertTrue(builder.accept(processingEnv, stringsField.asType())); assertTrue(builder.accept(processingEnv, primitiveTypeModelsField.asType())); assertTrue(builder.accept(processingEnv, modelsField.asType())); assertTrue(builder.accept(processingEnv, colorsField.asType())); }