use hasConstructors property #456
set constructors property on the class #456