~ubuntu-branches/ubuntu/quantal/hawtjni/quantal

« back to all changes in this revision

Viewing changes to hawtjni-generator/src/main/java/org/fusesource/hawtjni/generator/model/JNIMethod.java

  • Committer: Bazaar Package Importer
  • Author(s): Miguel Landaeta
  • Date: 2010-08-05 19:40:25 UTC
  • Revision ID: james.westby@ubuntu.com-20100805194025-3004hn889accwu2i
Tags: upstream-1.0~+git0c502e20c4
ImportĀ upstreamĀ versionĀ 1.0~+git0c502e20c4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*******************************************************************************
 
2
 * Copyright (c) 2009 Progress Software, Inc.
 
3
 * Copyright (c) 2004, 2008 IBM Corporation and others.
 
4
 *
 
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
 
9
 *
 
10
 *******************************************************************************/
 
11
package org.fusesource.hawtjni.generator.model;
 
12
 
 
13
import java.util.List;
 
14
 
 
15
import org.fusesource.hawtjni.runtime.ArgFlag;
 
16
import org.fusesource.hawtjni.runtime.MethodFlag;
 
17
 
 
18
/**
 
19
 * 
 
20
 * @author <a href="http://hiramchirino.com">Hiram Chirino</a>
 
21
 */
 
22
public interface JNIMethod {
 
23
 
 
24
    public boolean getFlag(MethodFlag flag);
 
25
 
 
26
    public String getName();
 
27
 
 
28
    public int getModifiers();
 
29
 
 
30
    public boolean isNativeUnique();
 
31
 
 
32
    public JNIType getReturnType32();
 
33
 
 
34
    public JNIType getReturnType64();
 
35
 
 
36
    public List<JNIParameter> getParameters();
 
37
 
 
38
    public List<JNIType> getParameterTypes();
 
39
 
 
40
    public List<JNIType> getParameterTypes64();
 
41
 
 
42
    public JNIClass getDeclaringClass();
 
43
 
 
44
    public String getAccessor();
 
45
 
 
46
    public String getConditional();
 
47
 
 
48
    public String getCopy();
 
49
 
 
50
    public String[] getCallbackTypes();
 
51
    public ArgFlag[][] getCallbackFlags();
 
52
 
 
53
    public String getCast();
 
54
    
 
55
    public boolean isPointer();
 
56
}