static Optional < BuilderMethodClassifier > classify ( Iterable < ExecutableElement > methods , ErrorReporter errorReporter , ProcessingEnvironment processingEnv , TypeElement autoValueClass , TypeElement builderType , ImmutableBiMap < ExecutableElement , String > getterToPropertyName , ImmutableMap < ExecutableElement , TypeMirror > getterToPropertyType , boolean autoValueHasToBuilder ) { BuilderMethodClassifier classifier = new BuilderMethodClassifier ( errorReporter , processingEnv , autoValueClass , builderType , getterToPropertyName , getterToPropertyType ) ; if ( classifier . classifyMethods ( methods , autoValueHasToBuilder ) ) { return Optional . of ( classifier ) ; } else { return Optional . empty ( ) ; } }
Classifies the given methods from a builder type and its ancestors .