1
/*******************************************************************************
2
* Copyright (c) 2009 Progress Software, Inc.
3
* Copyright (c) 2004, 2008 IBM Corporation and others.
5
* All rights reserved. This program and the accompanying materials
6
* are made available under the terms of the Eclipse Public License v1.0
7
* which accompanies this distribution, and is available at
8
* http://www.eclipse.org/legal/epl-v10.html
10
*******************************************************************************/
11
package org.fusesource.hawtjni.generator.model;
13
import java.util.List;
15
import org.fusesource.hawtjni.runtime.ArgFlag;
16
import org.fusesource.hawtjni.runtime.MethodFlag;
20
* @author <a href="http://hiramchirino.com">Hiram Chirino</a>
22
public interface JNIMethod {
24
public boolean getFlag(MethodFlag flag);
26
public String getName();
28
public int getModifiers();
30
public boolean isNativeUnique();
32
public JNIType getReturnType32();
34
public JNIType getReturnType64();
36
public List<JNIParameter> getParameters();
38
public List<JNIType> getParameterTypes();
40
public List<JNIType> getParameterTypes64();
42
public JNIClass getDeclaringClass();
44
public String getAccessor();
46
public String getConditional();
48
public String getCopy();
50
public String[] getCallbackTypes();
51
public ArgFlag[][] getCallbackFlags();
53
public String getCast();
55
public boolean isPointer();