Package io.activej.inject.util
Class TypeUtils
java.lang.Object
io.activej.inject.util.TypeUtils
This class contains reflection utilities to work with Java types.
Its main use is for method
Types.parameterized.
However, just like with ReflectionUtils, other type utility
methods are pretty clean too, so they are left public.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic Map<TypeVariable<?>,Type> extractMatchingGenerics(Type pattern, Type real) static booleanstatic booleanstatic TypesimplifyType(Type original)
-
Constructor Details
-
TypeUtils
public TypeUtils()
-
-
Method Details
-
isInheritedFrom
-
matches
-
contains
-
extractMatchingGenerics
-
simplifyType
-