Class ReflectType
- java.lang.Object
-
- org.fusesource.hawtjni.generator.model.ReflectType
-
- All Implemented Interfaces:
JNIType
public class ReflectType extends Object implements JNIType
- Author:
- Hiram Chirino
-
-
Constructor Summary
Constructors Constructor Description ReflectType(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(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)
-
-
-
Constructor Detail
-
ReflectType
public ReflectType(Class<?> clazz)
-
-
Method Detail
-
getWrappedClass
public 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 String getSimpleName()
- Specified by:
getSimpleName
in interfaceJNIType
-
getNativeName
public String getNativeName()
- Specified by:
getNativeName
in interfaceJNIType
-
getTypeSignature
public String getTypeSignature(boolean define)
- Specified by:
getTypeSignature
in interfaceJNIType
-
getTypeSignature1
public String getTypeSignature1(boolean define)
- Specified by:
getTypeSignature1
in interfaceJNIType
-
getTypeSignature2
public String getTypeSignature2(boolean define)
- Specified by:
getTypeSignature2
in interfaceJNIType
-
getTypeSignature3
public String getTypeSignature3(boolean define)
- Specified by:
getTypeSignature3
in interfaceJNIType
-
getTypeSignature4
public String getTypeSignature4(boolean define, boolean struct)
- Specified by:
getTypeSignature4
in interfaceJNIType
-
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive
in interfaceJNIType
-
-