com.sun.xml.bind.annotation.OverrideAnnotationOf Maven / Gradle / Ivy
/*
* Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package com.sun.xml.bind.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Designates an annotation from base class which shall be overriden by annotation placed together with this.
*
* @author Martin Grebac
*/
@Retention(RUNTIME)
@Target({FIELD})
public @interface OverrideAnnotationOf {
String value() default "content";
}