public static String getComponentBasePathForComponentClass(CtClass componentClass, String componentPathBase)
throws ClassNotFoundException {
Component componentAnnotation = (Component) componentClass.getAnnotation(Component.class);
String toReturnBasePath = componentPathBase;
if (componentAnnotation != null) {
String basePath = componentAnnotation.basePath();
if (StringUtils.isNotEmpty(basePath)) {
toReturnBasePath = basePath;
}
}