public void processClass(final ClassDoc clazz)
{
final String name = clazz.qualifiedName();
//lookup for a YComponent under current class
final YCmpXsdElement xcmp = componentMap.get(name);
//when component is available...
if (xcmp != null)
{
xcmp.setComment(clazz.commentText());
for (MethodDoc md : clazz.methods())
{
if (md.name().startsWith("set"))
{
String property = md.name().substring(3).toLowerCase();
YCmpXsdAttribute xsdprop = xcmp.getAttribute(property);
if (xsdprop != null)
{
String descr = md.commentText();
xsdprop.setDescription(descr);
xsdprop.setType(md.signature().substring(1, md.signature().length() - 1));