move attributes from AbstractStatementAnalyzer to classes where they're actually used