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 *******************************************************************************/ 009 package org.fusesource.hawtjni.runtime; 010 011 /** 012 * 013 */ 014 import java.lang.annotation.Retention; 015 import java.lang.annotation.RetentionPolicy; 016 import java.lang.annotation.Target; 017 018 import static java.lang.annotation.ElementType.*; 019 020 @Target({PARAMETER}) 021 @Retention(RetentionPolicy.RUNTIME) 022 public @interface JniArg { 023 024 ArgFlag[] flags() default {}; 025 String cast() default ""; 026 027 }