com.vaadin.annotations.InternalContainerAnnotationForJS Maven / Gradle / Ivy
/*
* Copyright (C) 2000-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See for the full
* license.
*/
package com.vaadin.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation enabling using multiple {@link JavaScript @JavaScript}
* annotations.
*
* NOT meant to be used, for multiple JavaScript dependencies,
* {@link JavaScript @JavaScript} should be used instead.
*
* @author Vaadin Ltd
* @since 8.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
public @interface InternalContainerAnnotationForJS {
/**
* Not to be used, instead multiple {@link JavaScript @JavaScript}
* annotations should be used.
*
* @return an array of the JavaScript annotations
*/
JavaScript[] value();
}