<commit_before>package org.javamoney.midas.javaee7.validator;

import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import javax.validation.Constraint;
import javax.validation.Payload;

@Target( { METHOD, FIELD, ANNOTATION_TYPE })
@Retention(RUNTIME)
@Constraint(validatedBy = {CurrencyAcceptedValidator.class, MonetaryAmountAcceptedValidator.class})
@Documented
public @interface CurrencyAccepted {

	String message() default "{org.javamoney.midas.constraints.currencyAccepted}";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};

    /**
     * Informs the currency code.<commit_msg>Adds documentations to CurrencyAccepted<commit_after>package org.javamoney.midas.javaee7.validator;

import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import javax.validation.Constraint;
import javax.validation.Payload;

@Target( { METHOD, FIELD, ANNOTATION_TYPE })
@Retention(RUNTIME)
@Constraint(validatedBy = {CurrencyAcceptedValidator.class, MonetaryAmountAcceptedValidator.class})
@Documented
/**
 *Informs the currencies that are allowed on validation.
 *This annotation works with MonetaryAmount and CurrencyUnit.
 * @author <NAME>
 */
public @interface CurrencyAccepted {

	String message() default "{org.javamoney.midas.constraints.currencyAccepted}";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};

    /**
     * Informs the currency code.
{'fraction_non_alphanumeric': 0.10956866633614279, 'fraction_numerical': 0.0009915716410510659, 'mean_word_length': 6.105633802816901, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '3024158', 'n_tokens_mistral': 576, 'n_tokens_neox': 566, 'n_words': 123}