code: public static Class<?> getTypeByDescriptor(TypeDescriptor type) {
  		if (type == null)
  			throw new NullPointerException("Type descriptor cannot be null");
  
  		return getType(type.getName(), type.getLibrary());
  	}
docs: Gets object type by type descriptor.
  
  @param type a type descriptor that points to an object type
  @return the object type or null is the type wasn't found.
  
  @see #getType(String, String)
  @see TypeDescriptor