All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.autores.repeat.RepeatableMessages Maven / Gradle / Ivy

There is a newer version: 11.0.35-beta
Show newest version
// Copyright 2023 https://github.com/autores-uk/autores/blob/main/LICENSE.txt
// SPDX-License-Identifier: Apache-2.0
package uk.autores.repeat;

import uk.autores.Messages;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Allows {@link Messages} to be used multiple times on a package or class.
 * API consumers do not need to reference this type - it is only used by the compiler and annotation processor.
 *
 * @see java.lang.annotation.Repeatable
 */
@Target({ElementType.PACKAGE, ElementType.TYPE})
@Retention(RetentionPolicy.SOURCE)
public @interface RepeatableMessages {

    /**
     * Repeating elements.
     *
     * @return the individual resource annotations
     */
    Messages[] value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy