glue by constructor
count static inner classes into container, exclude non-static inner class
throw exception if constructor is not public
throw exception if class has more than one glued constructor