// if help for this command is found - add GoGo descriptor for this shell command
if (help.containsKey(shellCommandName)) {
AnnotationsAttribute annotationsAttribute = new AnnotationsAttribute(constPool, AnnotationsAttribute.visibleTag);
Annotation annotation = new Annotation(Descriptor.class.getName(), constPool);
annotation.addMemberValue("value", new StringMemberValue(help.get(shellCommandName), constPool)); //todo: add help
annotationsAttribute.addAnnotation(annotation);
ctMethod.getMethodInfo().addAttribute(annotationsAttribute);
}
// add method to class
ctClass.addMethod(ctMethod);