Package jnr.ffi.provider
Class SigType
- java.lang.Object
-
- jnr.ffi.provider.SigType
-
- All Implemented Interfaces:
SignatureType
- Direct Known Subclasses:
FromNativeType,ToNativeType
public abstract class SigType 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.ClassconvertedTypeprivate java.lang.ClassjavaTypeprivate NativeTypenativeType
-
Constructor Summary
Constructors Constructor Description SigType(java.lang.Class javaType, NativeType nativeType, java.util.Collection<java.lang.annotation.Annotation> annotations, java.lang.Class convertedType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.annotation.Annotation>annotations()java.lang.ClasseffectiveJavaType()java.util.Collection<java.lang.annotation.Annotation>getAnnotations()java.lang.ClassgetDeclaredType()java.lang.reflect.TypegetGenericType()NativeTypegetNativeType()java.lang.StringtoString()
-
-
-
Field Detail
-
javaType
private final java.lang.Class javaType
-
convertedType
private final java.lang.Class convertedType
-
annotations
private final java.util.Collection<java.lang.annotation.Annotation> annotations
-
nativeType
private final NativeType nativeType
-
-
Constructor Detail
-
SigType
public SigType(java.lang.Class javaType, NativeType nativeType, java.util.Collection<java.lang.annotation.Annotation> annotations, java.lang.Class convertedType)
-
-
Method Detail
-
getDeclaredType
public final java.lang.Class getDeclaredType()
- Specified by:
getDeclaredTypein interfaceSignatureType
-
effectiveJavaType
public final java.lang.Class effectiveJavaType()
-
annotations
public final java.util.Collection<java.lang.annotation.Annotation> annotations()
-
getAnnotations
public final java.util.Collection<java.lang.annotation.Annotation> getAnnotations()
- Specified by:
getAnnotationsin interfaceSignatureType
-
getGenericType
public java.lang.reflect.Type getGenericType()
- Specified by:
getGenericTypein interfaceSignatureType
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getNativeType
public NativeType getNativeType()
-
-