Package com.esotericsoftware.kryo.util
Class Generics.GenericType
- java.lang.Object
-
- com.esotericsoftware.kryo.util.Generics.GenericType
-
-
Constructor Summary
Constructors Constructor Description GenericType(Class fromClass, Class toClass, Type context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Type
getType()
Generics.GenericType[]
getTypeParameters()
Class
resolve(Generics generics)
If this type is a type variable, resolve it to a class.String
toString()
-
-
-
Method Detail
-
resolve
public Class resolve(Generics generics)
If this type is a type variable, resolve it to a class.- Returns:
- May be null.
-
getType
public Type getType()
-
getTypeParameters
public Generics.GenericType[] getTypeParameters()
- Returns:
- May be null.
-
-