OptionalisRelevant: (languageNode: Specifics["LanguageType"]) => booleanProtectedcalculateCalculates a key for a class which encodes its unique properties, i.e. duplicate classes have the same key. This key is used to identify duplicated classes. Override this method to change the properties which make a class unique.
the current class type
a string key
Protectedreport
Predefined validation to produce errors, if the same class is declared more than once. This is often relevant for nominally typed classes.