Class ReflectType
- java.lang.Object
-
- org.fusesource.hawtjni.generator.model.ReflectType
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<?>
clazz
-
Constructor Summary
Constructors Constructor Description ReflectType(java.lang.Class<?> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReflectType
asType32(boolean allowConversion)
ReflectType
asType64(boolean allowConversion)
boolean
equals(java.lang.Object obj)
JNIType
getComponentType()
java.lang.String
getName()
java.lang.String
getNativeName()
java.lang.String
getSimpleName()
java.lang.String
getTypeSignature(boolean define)
java.lang.String
getTypeSignature1(boolean define)
java.lang.String
getTypeSignature2(boolean define)
java.lang.String
getTypeSignature3(boolean define)
java.lang.String
getTypeSignature4(boolean define, boolean struct)
java.lang.Class<?>
getWrappedClass()
int
hashCode()
boolean
isArray()
boolean
isPrimitive()
boolean
isType(java.lang.String type)
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.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 interfaceJNIType
-
getSimpleName
public java.lang.String getSimpleName()
- Specified by:
getSimpleName
in interfaceJNIType
-
getNativeName
public java.lang.String getNativeName()
- Specified by:
getNativeName
in interfaceJNIType
-
getTypeSignature
public java.lang.String getTypeSignature(boolean define)
- Specified by:
getTypeSignature
in interfaceJNIType
-
getTypeSignature1
public java.lang.String getTypeSignature1(boolean define)
- Specified by:
getTypeSignature1
in interfaceJNIType
-
getTypeSignature2
public java.lang.String getTypeSignature2(boolean define)
- Specified by:
getTypeSignature2
in interfaceJNIType
-
getTypeSignature3
public java.lang.String getTypeSignature3(boolean define)
- Specified by:
getTypeSignature3
in interfaceJNIType
-
getTypeSignature4
public java.lang.String getTypeSignature4(boolean define, boolean struct)
- Specified by:
getTypeSignature4
in interfaceJNIType
-
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive
in interfaceJNIType
-
-