You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a common use case of checking if a TypeInfo instance is equal to a given class C, or if C.isAssignableFrom(typeInfo.toClass()) but this is a bit troublesome because TypeInfo.toClass() can be null.
Introduce a method equalTo(Class)
Introduce a method isAssignableFrom(Class)
The text was updated successfully, but these errors were encountered:
I have a common use case of checking if a TypeInfo instance is equal to a given class
C
, or ifC.isAssignableFrom(typeInfo.toClass())
but this is a bit troublesome becauseTypeInfo.toClass()
can be null.equalTo(Class)
isAssignableFrom(Class)
The text was updated successfully, but these errors were encountered: