for (int k = 0; k < annotations.length; k++)
{
Annotation annotation = annotations[k];
if (annotation.annotationType().equals(org.boco.seamwebappgen.annotations.LocalSearchOnRelationship.class))
{
String attributesName[] = ((org.boco.seamwebappgen.annotations.LocalSearchOnRelationship) annotation).attributes();
String relationshipName = methods[j].getName();
Relationship relationship = null;