ASTNode (int role) { LOG.assertTrue(ChildRole.isUnique(role)); switch(role){ default: return null; case ChildRole.LPARENTH: return findChildByType(LPARENTH); case ChildRole.TYPE: return findChildByType(TYPE); case ChildRole.RPARENTH: return findChildByType(RPARENTH); case ChildRole.OPERAND: return findChildByType(EXPRESSION_BIT_SET); } }