Skip to content

Instantly share code, notes, and snippets.

@Folyd

Folyd/NativeCalled.java

Last active Sep 9, 2015
Embed
What would you like to do?
A annotation which to indicate the method is called by native code.
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* A annotation which to indicate the method is called by native code.
*
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.SOURCE)
@Inherited
public @interface NativeCalled {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment