code: private void visitModuleDefs(List<PDefinition> defs, INode module)
  			throws AnalysisException
  	{
  		DefinitionInfo defInfo = getStateDefs(defs, module);
  
  		if (defInfo != null)
  		{
  			addLocalDefs(defInfo);
  			handleExecutables(defs);
  			removeLocalDefs(defInfo);
  		} else
  		{
  			handleExecutables(defs);
  		}
  	}
docs: Note that this methods is intended to work both for SL modules and PP/RT classes