getTypeByDescriptor static method
Gets object type by type descriptor.
descriptor
a type descriptor that points to an object type Returns the object type or null is the type wasn't found.
See getType See TypeDescriptor
Implementation
static Type? getTypeByDescriptor(TypeDescriptor descriptor) {
return TypeReflector.getType(descriptor.getName(), descriptor.getLibrary());
}