org.zodiac.injection.graal.annotation.ExposeAllMethods Maven / Gradle / Ivy
package org.zodiac.injection.graal.annotation;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Generates Graal metadata instructing that all declared and public
* methods of the class in question should be exposed. Note that this
* does not expose fields - if you want that, use @Expose.
*
*/
@Retention(RetentionPolicy.SOURCE)
@Target({METHOD, FIELD, TYPE, ANNOTATION_TYPE, CONSTRUCTOR})
public @interface ExposeAllMethods {
Class>[] value();
}