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
-
-
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 DefaultSignatureType
create(java.lang.Class type, FromNativeContext context)
static DefaultSignatureType
create(java.lang.Class type, ToNativeContext context)
boolean
equals(java.lang.Object o)
java.util.Collection<java.lang.annotation.Annotation>
getAnnotations()
java.lang.Class
getDeclaredType()
java.lang.reflect.Type
getGenericType()
int
hashCode()
-
-
-
Method Detail
-
getDeclaredType
public java.lang.Class getDeclaredType()
- Specified by:
getDeclaredType
in interfaceSignatureType
-
getAnnotations
public java.util.Collection<java.lang.annotation.Annotation> getAnnotations()
- Specified by:
getAnnotations
in interfaceSignatureType
-
getGenericType
public java.lang.reflect.Type getGenericType()
- Specified by:
getGenericType
in interfaceSignatureType
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in 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)
-
-