<commit_before>package com.arondor.common.reflection.bean.java;

import java.util.List;

import com.arondor.common.reflection.model.java.AccessibleField;

/**
 * Exposed object attribute information, used in MbeanObject to describe an
 * attribute
 * 
 * @author <NAME>
 * 
 */
public class AccessibleFieldBean implements AccessibleField
{

    /**
     * 
     */
    private static final long serialVersionUID = -5032370716705853844L;

    public AccessibleFieldBean()
    {

    }

    /**
     * Attribute name
     */
    protected String name;

    /**
     * Attribute description
     */
    protected String description;

    /**
     * Attribute class
     */
    protected String className;

    /**
     * Is this attribute readable : does it have a getter
     */
    protected boolean readable;

    /**
     * Is this attribute writable : does it have a setter
     */
    protected boolean writable;

    /**
     * If this attribute is a boolean, does its getter have a 'is' prefix
     * instead of a 'get' prefix
     */
    protected boolean is = false;

    /**
     * Attribute description constructor
     * 
     * @param name
     *            attribute name
     * @param description
     *            attribute description
     * @param clazz
     *            attribute class
     * @param readable
     *            is this attribute readable
     * @param writable
     *            is this attribute writable
     */
    public AccessibleFieldBean(String name, String description, Class<?> clazz, boolean readable, boolean writable)
    {
        this.name = name;
        this.description = description;
        this.className = clazz.getName();
        this.readable = readable;
        this.writable = writable;
    }

    public void setReadable()
    {
        this.readable = true;
    }

    public void setWritable()
    {
        this.writable = true;
    }

    public String getName()
    {
        return name;
    }

    public String getClassName()
    {
        return className;
    }

    public void setClassName(String className)
    {
        this.className = className;

    }

    public String getDescription()
    {
        return description;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public boolean isIs()
    {
        return is;
    }

    public void setIs(boolean is)
    {
        // this.is = is;
    }

    public boolean getReadable()
    {
        return readable;
    }<commit_msg>Set isIs() to real implementation<commit_after>package com.arondor.common.reflection.bean.java;

import java.util.List;

import com.arondor.common.reflection.model.java.AccessibleField;

/**
 * Exposed object attribute information, used in MbeanObject to describe an
 * attribute
 * 
 * @author <NAME>
 * 
 */
public class AccessibleFieldBean implements AccessibleField
{

    /**
     * 
     */
    private static final long serialVersionUID = -5032370716705853844L;

    public AccessibleFieldBean()
    {

    }

    /**
     * Attribute name
     */
    protected String name;

    /**
     * Attribute description
     */
    protected String description;

    /**
     * Attribute class
     */
    protected String className;

    /**
     * Is this attribute readable : does it have a getter
     */
    protected boolean readable;

    /**
     * Is this attribute writable : does it have a setter
     */
    protected boolean writable;

    /**
     * If this attribute is a boolean, does its getter have a 'is' prefix
     * instead of a 'get' prefix
     */
    protected boolean is = false;

    /**
     * Attribute description constructor
     * 
     * @param name
     *            attribute name
     * @param description
     *            attribute description
     * @param clazz
     *            attribute class
     * @param readable
     *            is this attribute readable
     * @param writable
     *            is this attribute writable
     */
    public AccessibleFieldBean(String name, String description, Class<?> clazz, boolean readable, boolean writable)
    {
        this.name = name;
        this.description = description;
        this.className = clazz.getName();
        this.readable = readable;
        this.writable = writable;
    }

    public void setReadable()
    {
        this.readable = true;
    }

    public void setWritable()
    {
        this.writable = true;
    }

    public String getName()
    {
        return name;
    }

    public String getClassName()
    {
        return className;
    }

    public void setClassName(String className)
    {
        this.className = className;

    }

    public String getDescription()
    {
        return description;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public boolean isIs()
    {
        return is;
    }

    public void setIs(boolean is)
    {
        this.is = is;
    }

    public boolean getReadable()
    {
        return readable;
    }
{'fraction_non_alphanumeric': 0.08341569480134414, 'fraction_numerical': 0.0075113658825854916, 'mean_word_length': 1.8914285714285715, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5837510', 'n_tokens_mistral': 1424, 'n_tokens_neox': 1336, 'n_words': 392}