001 /******************************************************************************* 002 * Copyright (c) 2009 Progress Software, Inc. 003 * Copyright (c) 2004, 2008 IBM Corporation and others. 004 * 005 * All rights reserved. This program and the accompanying materials 006 * are made available under the terms of the Eclipse Public License v1.0 007 * which accompanies this distribution, and is available at 008 * http://www.eclipse.org/legal/epl-v10.html 009 * 010 *******************************************************************************/ 011 package org.fusesource.hawtjni.generator.model; 012 013 import org.fusesource.hawtjni.runtime.ArgFlag; 014 015 /** 016 * 017 * @author <a href="http://hiramchirino.com">Hiram Chirino</a> 018 */ 019 public interface JNIParameter { 020 021 public boolean getFlag(ArgFlag flag); 022 public String getCast(); 023 public boolean isPointer(); 024 025 public JNIMethod getMethod(); 026 public int getParameter(); 027 public JNIClass getTypeClass(); 028 public JNIType getType32(); 029 public JNIType getType64(); 030 031 }