// For each method, add the @Jpf.CommandHandler annotation.
MethodDeclaration[] methods = CompilerUtils.getClassMethods( publicClass, COMMAND_HANDLER_TAG_NAME );
for ( int i = 0; i < methods.length; i++ )
{
MethodDeclaration method = methods[i];
AnnotationInstance commandHandlerAnn = CompilerUtils.getAnnotation( method, COMMAND_HANDLER_TAG_NAME );
atx.include( method, commandHandlerAnn );
}
// Add @Jpf.SharedFlowField, @Jpf.PageFlowField, @Control.