private void checkForFailedJavaBean ( ExecutableElement rejectedSetter ) { ImmutableSet < ExecutableElement > allGetters = getterToPropertyName . keySet ( ) ; ImmutableSet < ExecutableElement > prefixedGetters = AutoValueProcessor . prefixedGettersIn ( allGetters ) ; if ( prefixedGetters . size ( ) < allGetters . size ( ) && prefixedGetters . size ( ) >= allGetters . size ( ) / 2 ) { String note = "This might be because you are using the getFoo() convention" + " for some but not all methods. These methods don't follow the convention: " + difference ( allGetters , prefixedGetters ) ; errorReporter . reportNote ( note , rejectedSetter ) ; } }
setGetFoo ) .