public final class DefaultSignatureType extends java.lang.Object implements SignatureType
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<java.lang.annotation.Annotation> |
annotations |
private java.lang.Class |
declaredClass |
private java.lang.reflect.Type |
genericType |
Constructor and Description |
---|
DefaultSignatureType(java.lang.Class declaredClass,
java.util.Collection<java.lang.annotation.Annotation> annotations,
java.lang.reflect.Type genericType) |
Modifier and Type | Method and 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() |
private final java.lang.Class declaredClass
private final java.util.Collection<java.lang.annotation.Annotation> annotations
private final java.lang.reflect.Type genericType
public DefaultSignatureType(java.lang.Class declaredClass, java.util.Collection<java.lang.annotation.Annotation> annotations, java.lang.reflect.Type genericType)
public java.lang.Class getDeclaredType()
getDeclaredType
in interface SignatureType
public java.util.Collection<java.lang.annotation.Annotation> getAnnotations()
getAnnotations
in interface SignatureType
public java.lang.reflect.Type getGenericType()
getGenericType
in interface SignatureType
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static DefaultSignatureType create(java.lang.Class type, FromNativeContext context)
public static DefaultSignatureType create(java.lang.Class type, ToNativeContext context)