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

de.hilling.lang.annotations.tests.Deprecated__Literal Maven / Gradle / Ivy

The newest version!
package de.hilling.lang.annotations.tests;

import javax.annotation.processing.Generated;
import javax.enterprise.util.AnnotationLiteral;

/**
 * Implementation of {@link Deprecated}.
 */
@Generated("de.hilling.lang.annotations.AnnotationLiteralGenerator")
public class Deprecated__Literal extends AnnotationLiteral implements Deprecated {
    private final String since;

    private final boolean forRemoval;

    /**
     * @param since (documentation missing from annotation.)
     * @param forRemoval (documentation missing from annotation.)
     */
    public Deprecated__Literal(String since, boolean forRemoval) {
        this.since = since;
        this.forRemoval = forRemoval;
    }

    @Override
    public String since() {
        return since;
    }

    @Override
    public boolean forRemoval() {
        return forRemoval;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy