Package studio.mevera.imperat.util
Class TypeWrap<T>
java.lang.Object
studio.mevera.imperat.util.TypeWrap<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTypeWrap<?>Type[]getType()final booleanisArray()final booleanfinal booleanisSubtypeOf(Type supertype) final booleanisSubtypeOf(TypeWrap<?> type) final booleanisSupertypeOf(Type type) final booleanisSupertypeOf(TypeWrap<?> type) final booleanstatic <T> TypeWrap<T>static TypeWrap<?>static TypeWrap<?>ofParameterized(Type rawClass, List<ParameterType<S, ?>> genericParamTypes) TypeWrap<?>unwrap()TypeWrap<?>wrap()
-
Constructor Details
-
TypeWrap
protected TypeWrap()
-
-
Method Details
-
of
-
of
-
ofParameterized
public static <S extends Source> TypeWrap<?> ofParameterized(Type rawClass, List<ParameterType<S, ?>> genericParamTypes) -
ofArray
-
getParameterizedTypes
-
getType
-
getRawType
-
isPrimitive
public final boolean isPrimitive() -
isWrapped
public final boolean isWrapped() -
wrap
-
unwrap
-
isArray
public final boolean isArray() -
getComponentType
-
isSupertypeOf
-
isSupertypeOf
-
isSubtypeOf
-
isSubtypeOf
-