// $ANTLR start "ruleContained"
  // PsiInternalBug289524TestLanguage.g:211:1: ruleContained returns [Boolean current=false] :
  // (otherlv_0= 'containment' ( (lv_name_1_0= RULE_ID ) ) ) ;
  public final Boolean ruleContained() throws RecognitionException {
    Boolean current = false;

    Token otherlv_0 = null;
    Token lv_name_1_0 = null;

    try {
      // PsiInternalBug289524TestLanguage.g:212:1: ( (otherlv_0= 'containment' ( (lv_name_1_0=
      // RULE_ID ) ) ) )
      // PsiInternalBug289524TestLanguage.g:213:2: (otherlv_0= 'containment' ( (lv_name_1_0= RULE_ID
      // ) ) )
      {
        // PsiInternalBug289524TestLanguage.g:213:2: (otherlv_0= 'containment' ( (lv_name_1_0=
        // RULE_ID ) ) )
        // PsiInternalBug289524TestLanguage.g:214:3: otherlv_0= 'containment' ( (lv_name_1_0=
        // RULE_ID ) )
        {
          if (state.backtracking == 0) {

            markLeaf(elementTypeProvider.getContained_ContainmentKeyword_0ElementType());
          }
          otherlv_0 = (Token) match(input, 14, FollowSets000.FOLLOW_4);
          if (state.failed) return current;
          if (state.backtracking == 0) {

            doneLeaf(otherlv_0);
          }
          // PsiInternalBug289524TestLanguage.g:221:3: ( (lv_name_1_0= RULE_ID ) )
          // PsiInternalBug289524TestLanguage.g:222:4: (lv_name_1_0= RULE_ID )
          {
            // PsiInternalBug289524TestLanguage.g:222:4: (lv_name_1_0= RULE_ID )
            // PsiInternalBug289524TestLanguage.g:223:5: lv_name_1_0= RULE_ID
            {
              if (state.backtracking == 0) {

                markLeaf(elementTypeProvider.getContained_NameIDTerminalRuleCall_1_0ElementType());
              }
              lv_name_1_0 = (Token) match(input, RULE_ID, FollowSets000.FOLLOW_2);
              if (state.failed) return current;
              if (state.backtracking == 0) {

                if (!current) {
                  associateWithSemanticElement();
                  current = true;
                }
              }
              if (state.backtracking == 0) {

                doneLeaf(lv_name_1_0);
              }
            }
          }
        }
      }

    } catch (RecognitionException re) {
      reportError(re);
      recover(input, re);
    } finally {
    }
    return current;
  }