org.fusesource.hawtjni.generator.model
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
ReflectType
public ReflectType(Class<?> clazz)
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
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.