Package jnr.ffi.mapper
Class DefaultSignatureType
- java.lang.Object
-
- jnr.ffi.mapper.DefaultSignatureType
-
- All Implemented Interfaces:
SignatureType
public final class DefaultSignatureType extends java.lang.Object implements SignatureType
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<java.lang.annotation.Annotation>annotationsprivate java.lang.ClassdeclaredClassprivate java.lang.reflect.TypegenericType
-
Constructor Summary
Constructors Constructor Description DefaultSignatureType(java.lang.Class declaredClass, java.util.Collection<java.lang.annotation.Annotation> annotations, java.lang.reflect.Type genericType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultSignatureTypecreate(java.lang.Class type, FromNativeContext context)static DefaultSignatureTypecreate(java.lang.Class type, ToNativeContext context)booleanequals(java.lang.Object o)java.util.Collection<java.lang.annotation.Annotation>getAnnotations()java.lang.ClassgetDeclaredType()java.lang.reflect.TypegetGenericType()inthashCode()
-
-
-
Method Detail
-
getDeclaredType
public java.lang.Class getDeclaredType()
- Specified by:
getDeclaredTypein interfaceSignatureType
-
getAnnotations
public java.util.Collection<java.lang.annotation.Annotation> getAnnotations()
- Specified by:
getAnnotationsin interfaceSignatureType
-
getGenericType
public java.lang.reflect.Type getGenericType()
- Specified by:
getGenericTypein interfaceSignatureType
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
create
public static DefaultSignatureType create(java.lang.Class type, FromNativeContext context)
-
create
public static DefaultSignatureType create(java.lang.Class type, ToNativeContext context)
-
-