org.fusesource.hawtjni.generator.model
Class ReflectType
java.lang.Object
org.fusesource.hawtjni.generator.model.ReflectType
- All Implemented Interfaces:
- JNIType
public class ReflectType
- extends java.lang.Object
- implements JNIType
- Author:
- Hiram Chirino
Constructor Summary |
ReflectType(java.lang.Class<?> clazz)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ReflectType
public ReflectType(java.lang.Class<?> clazz)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getWrappedClass
public java.lang.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 java.lang.String getName()
- Specified by:
getName
in interface JNIType
getSimpleName
public java.lang.String getSimpleName()
- Specified by:
getSimpleName
in interface JNIType
getTypeSignature
public java.lang.String getTypeSignature(boolean define)
- Specified by:
getTypeSignature
in interface JNIType
getTypeSignature1
public java.lang.String getTypeSignature1(boolean define)
- Specified by:
getTypeSignature1
in interface JNIType
getTypeSignature2
public java.lang.String getTypeSignature2(boolean define)
- Specified by:
getTypeSignature2
in interface JNIType
getTypeSignature3
public java.lang.String getTypeSignature3(boolean define)
- Specified by:
getTypeSignature3
in interface JNIType
getTypeSignature4
public java.lang.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(java.lang.String type)
- Specified by:
isType
in interface JNIType
Copyright © 2009-2011 FuseSource, Corp.. All Rights Reserved.