AOP proxies the class with an extended class (say TimedProxy) and when we call CompConstructor.name we get "TimedProxy". In order to get the name of the original class it is best to call ComponentUtil.getComponentData(componentDefinition).componentName. This should be checked and changed in the whole code.
P.S. The error messages on decorator (and some other) errors dont need to do this as they are done before the post-processing
AOP proxies the class with an extended class (say TimedProxy) and when we call
CompConstructor.name
we get "TimedProxy". In order to get the name of the original class it is best to callComponentUtil.getComponentData(componentDefinition).componentName
. This should be checked and changed in the whole code.P.S. The error messages on decorator (and some other) errors dont need to do this as they are done before the post-processing