else if (!ignoreMethod(ident) && (parentStream instanceof SIRStream))
else if (ident.equals("initPath")) { if (!(parentStream instanceof SIRFeedbackLoop)) at.dms.util.Utils.fail("initPath declared for non-Feedbackloop"); ((SIRFeedbackLoop)parentStream).setInitPath(new JMethodDeclaration(null, modifiers, returnType, ident, parameters, exceptions, body, null, null)); } else if (!ignoreMethodDeclaration(ident) && (parentStream instanceof SIRStream))
    public Object visitMethodDeclaration(JMethodDeclaration self,                                       int modifiers,                                       CType returnType,                                       String ident,                                       JFormalParameter[] parameters,                                       CClassType[] exceptions,                                       JBlock body)    {        printMe("MethodDeclaration: " + ident);	if (parameters.length == 0)	    parameters = JFormalParameter.EMPTY;	for (int i = 0; i < parameters.length; i++)            trash = parameters[i].accept(this);        	body = (JBlock)body.accept(this);		if (exceptions.length == 0)	    exceptions = CClassType.EMPTY;	/*Install work functio*/	if (ident.equals("work")) {	    if (parentStream instanceof SIRFilter) {		((SIRFilter)parentStream).setWork(new JMethodDeclaration(null,									 modifiers,									 returnType,									 ident,									 parameters,									 exceptions,									 body,									 null,									 null));	    }	    else		at.dms.util.Utils.fail("Work Function Declared for Non-Filter");	}		/*Install init function for filter*/	else if (ident.equals("init") && (parentStream instanceof SIRFilter)) {	    ((SIRFilter)parentStream).setInit(new JMethodDeclaration(null,								     modifiers,								     returnType,								     ident,								     parameters,								     exceptions,								     body,								     null,								     null)); 	}	else if (!ignoreMethod(ident) && (parentStream instanceof SIRStream))	    ((SIRStream)parentStream).addMethod(new JMethodDeclaration(null,								     modifiers,								     returnType,								     ident,								     parameters,								     exceptions,								     body,								     null,								       null));	    	return self;    }