<commit_before>package com.wordnik.jaxrs;

import javax.ws.rs.HeaderParam;

import io.swagger.annotations.ApiParam;

/**
 * Represents a {@code @BeanParam} target that is nested within another bean.
 */
public class MyNestedBean {
    
    @ApiParam(value = "Header from nested bean", required = false)
    @HeaderParam("myNestedBeanHeader")
    private String myNestedBeanHeader;

    public String getMyNestedBeanHeader() {
        return myNestedBeanHeader;
    }
    
    public void setMyNestedBeanHeader(String myNestedBeanHeader) {
        this.myNestedBeanHeader = myNestedBeanHeader;<commit_msg>Added test field to prove that bean param extension avoids infinite cycles.<commit_after>package com.wordnik.jaxrs;

import javax.ws.rs.BeanParam;
import javax.ws.rs.HeaderParam;

import io.swagger.annotations.ApiParam;

/**
 * Represents a {@code @BeanParam} target that is nested within another bean.
 */
public class MyNestedBean {
    
    @ApiParam(value = "Header from nested bean", required = false)
    @HeaderParam("myNestedBeanHeader")
    private String myNestedBeanHeader;
    
    /**
     * This bean param should be ignored because otherwise we would cycle
     * endlessly until stack overflow.
     */
    @BeanParam
    private MyBean evilNestedBeanParamCycle;

    public String getMyNestedBeanHeader() {
        return myNestedBeanHeader;
    }
    
    public void setMyNestedBeanHeader(String myNestedBeanHeader) {
        this.myNestedBeanHeader = myNestedBeanHeader;
{'fraction_non_alphanumeric': 0.0783132530120482, 'fraction_numerical': 0.0, 'mean_word_length': 3.761146496815287, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5994316', 'n_tokens_mistral': 429, 'n_tokens_neox': 424, 'n_words': 115}