org.fusesource.hawtjni.generator.model
Class ReflectType

java.lang.Object
  extended by org.fusesource.hawtjni.generator.model.ReflectType
All Implemented Interfaces:
JNIType

public class ReflectType
extends Object
implements JNIType

Author:
Hiram Chirino

Constructor Summary
ReflectType(Class<?> clazz)
           
 
Method Summary
 ReflectType asType32(boolean allowConversion)
           
 ReflectType asType64(boolean allowConversion)
           
 boolean equals(Object obj)
           
 JNIType getComponentType()
           
 String getName()
           
 String getNativeName()
           
 String getSimpleName()
           
 String getTypeSignature(boolean define)
           
 String getTypeSignature1(boolean define)
           
 String getTypeSignature2(boolean define)
           
 String getTypeSignature3(boolean define)
           
 String getTypeSignature4(boolean define, boolean struct)
           
 Class<?> getWrappedClass()
           
 int hashCode()
           
 boolean isArray()
           
 boolean isPrimitive()
           
 boolean isType(String type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectType

public ReflectType(Class<?> clazz)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedClass

public Class<?> getWrappedClass()

asType32

public ReflectType asType32(boolean allowConversion)

asType64

public ReflectType asType64(boolean allowConversion)

getComponentType

public JNIType getComponentType()
Specified by:
getComponentType in interface JNIType

getName

public String getName()
Specified by:
getName in interface JNIType

getSimpleName

public String getSimpleName()
Specified by:
getSimpleName in interface JNIType

getNativeName

public String getNativeName()
Specified by:
getNativeName in interface JNIType

getTypeSignature

public String getTypeSignature(boolean define)
Specified by:
getTypeSignature in interface JNIType

getTypeSignature1

public String getTypeSignature1(boolean define)
Specified by:
getTypeSignature1 in interface JNIType

getTypeSignature2

public String getTypeSignature2(boolean define)
Specified by:
getTypeSignature2 in interface JNIType

getTypeSignature3

public String getTypeSignature3(boolean define)
Specified by:
getTypeSignature3 in interface JNIType

getTypeSignature4

public String getTypeSignature4(boolean define,
                                boolean struct)
Specified by:
getTypeSignature4 in interface JNIType

isArray

public boolean isArray()
Specified by:
isArray in interface JNIType

isPrimitive

public boolean isPrimitive()
Specified by:
isPrimitive in interface JNIType

isType

public boolean isType(String type)
Specified by:
isType in interface JNIType


Copyright © 2009-2011 FuseSource, Corp.. All Rights Reserved.