Reports non-public methods referenced in the factory-method attributes of <bean> elements.

Example:


public class MyFactory {
  private static FooBean createBean() {...}
  }
}


<beans> <bean class="MyFactory" factory-method="createBean"/> // reports "Factory method 'createBean' should be public" </beans>