Add export annotation to mark methods for export

This commit is contained in:
Volker Berlin 2017-03-31 20:39:31 +02:00
parent 3e87ca8d6b
commit ec1fc643c2

View File

@ -0,0 +1,13 @@
package org.webassembly.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.METHOD)
public @interface Export {
String name() default "";
}