ASTNode (int role) { LOG.assertTrue(ChildRole.isUnique(role)); switch (role) { default: return null; case ChildRole.LBRACE: return findChildByType(JavaTokenType.LBRACE); case ChildRole.RBRACE: return findChildByType(JavaTokenType.RBRACE); } }