GrIfStatement (GrIfStatement ifStatement) { final GrStatement elseBranch = ifStatement.getElseBranch(); if (elseBranch == null) return null; if (elseBranch instanceof GrIfStatement) { return (GrIfStatement)elseBranch; } else { return null; } }