001 /******************************************************************************* 002 * Copyright (C) 2009-2011 FuseSource Corp. 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.FieldFlag; 014 015 /** 016 * 017 * @author <a href="http://hiramchirino.com">Hiram Chirino</a> 018 */ 019 public interface JNIField { 020 021 public boolean getFlag(FieldFlag flag); 022 023 public String getName(); 024 public int getModifiers(); 025 026 public JNIType getType(); 027 public JNIType getType64(); 028 029 public JNIClass getDeclaringClass(); 030 public String getAccessor(); 031 public String getCast(); 032 public String getConditional(); 033 public boolean ignore(); 034 035 public boolean isPointer(); 036 }