001/*******************************************************************************
002 * Copyright (C) 2009-2011 FuseSource Corp.
003 * 
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the Eclipse Public License v1.0
006 * which accompanies this distribution, and is available at
007 * http://www.eclipse.org/legal/epl-v10.html
008 *******************************************************************************/
009package org.fusesource.hawtjni.runtime;
010
011import java.lang.annotation.Retention;
012import java.lang.annotation.RetentionPolicy;
013import java.lang.annotation.Target;
014
015import static java.lang.annotation.ElementType.*;
016
017import java.lang.annotation.Documented;
018
019/**
020 * 
021 * @author <a href="http://hiramchirino.com">Hiram Chirino</a>
022 */
023@Documented
024@Target({FIELD})
025@Retention(RetentionPolicy.RUNTIME)
026public @interface JniField {
027
028    String cast() default "";
029    String accessor() default "";
030    String getter() default "";
031    String setter() default "";
032    String conditional() default "";
033    FieldFlag[] flags() default {};
034
035}