Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8f7c12a86faa768f3b762d848376015faeb0237f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*******************************************************************************
 * Copyright (c) 2004, 2009 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.swt.tools.internal;

public interface JNIMethod extends JNIItem {

	public static final String[] FLAGS = {FLAG_NO_GEN, FLAG_ADDRESS, FLAG_CONST, FLAG_DYNAMIC, FLAG_JNI, FLAG_CAST, FLAG_CPP, FLAG_NEW, FLAG_DELETE, FLAG_GCNEW, FLAG_OBJECT, FLAG_SETTER, FLAG_GETTER, FLAG_ADDER};
	
public String getName();

public int getModifiers();

public boolean isNativeUnique();

public JNIParameter[] getParameters();

public JNIType getReturnType();

public JNIType getReturnType64();

public JNIType[] getParameterTypes();

public JNIType[] getParameterTypes64();

public JNIClass getDeclaringClass();

public String getAccessor();

public String getExclude();

public void setAccessor(String str);

public void setExclude(String str);
}

Back to the top