Hi Harbs,

So I whipped up a little example using my enums and the strange thing is, that 
here
the getQualifiedClassName seems to work. However not the private constructor.

I've zipped up my example here:
https://drive.google.com/file/d/1SNMiH5xuUERbIiscuEH_JgcOLrBboj4j/view?usp=sharing

So not really sure what I should do differently. I would be happy to solve the 
private constructor problem and then try to tackle the next one.

Chris

Am 16.08.20, 00:05 schrieb "Harbs" <harbs.li...@gmail.com>:

    I’m not sure how you’re using private constructors.

    The only two cases I’ve used it was for:
    1. All static classes
    2. Singletons where the instance is generated in the class.

    It looks like you’re using casting with the Enums?

    > On Aug 14, 2020, at 7:03 PM, Christofer Dutz <christofer.d...@c-ware.de> 
wrote:
    > 
    > Any idea what could be causing this? As soon as I remove the "private" in 
front of the constructor, all is good again.


Reply via email to