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 *******************************************************************************/
011package org.fusesource.hawtjni.generator.model;
012
013/**
014 * 
015 * @author <a href="http://hiramchirino.com">Hiram Chirino</a>
016 */
017public interface JNIType {
018
019    public boolean isPrimitive();
020    public boolean isArray();
021    public JNIType getComponentType();
022    public boolean isType(String type);
023    public String getName();
024    public String getSimpleName();
025    public String getNativeName();
026    public String getTypeSignature(boolean define);
027    public String getTypeSignature1(boolean define);
028    public String getTypeSignature2(boolean define);
029    public String getTypeSignature3(boolean define);
030    public String getTypeSignature4(boolean define, boolean struct);
031
032}