1
/*******************************************************************************
2
* Copyright (c) 2009 Progress Software, Inc.
4
* All rights reserved. This program and the accompanying materials
5
* are made available under the terms of the Eclipse Public License v1.0
6
* which accompanies this distribution, and is available at
7
* http://www.eclipse.org/legal/epl-v10.html
8
*******************************************************************************/
9
package org.fusesource.hawtjni.runtime;
11
import java.lang.annotation.Retention;
12
import java.lang.annotation.RetentionPolicy;
13
import java.lang.annotation.Target;
15
import static java.lang.annotation.ElementType.*;
19
* @author <a href="http://hiramchirino.com">Hiram Chirino</a>
22
@Retention(RetentionPolicy.RUNTIME)
23
public @interface JniMethod {
25
String cast() default "";
26
// Pointer pointer() default Pointer.DETERMINE_FROM_CAST;
27
String accessor() default "";
28
MethodFlag[] flags() default {};
29
String copy() default "";
30
String conditional() default "";
32
JniArg[] callbackArgs() default {};