Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

IllegalInstantiationExtended for custom factories #156

isopov opened this Issue Nov 15, 2013 · 0 comments


None yet
2 participants

isopov commented Nov 15, 2013

IllegalInstantiation check is not really suited for custom classes and factories since the only option to ignore it on the legitimate instantiation of the class in factory is suppression filter. Possible options are:

  • Provide classname of the factories
  • boolean option allowing "self-instantiation" for "Integer.valueof()" like static methods

Original request:

@daniilyar daniilyar added moderate and removed enhancement labels Aug 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment