@Nonnull
	public static String classToPrimitive(@Nonnull String name) {
		for (Type prim : PRIMITIVES) {
			String className = prim.getClassName();
			if (className.equals(name))
				return prim.getInternalName();
		}
		throw new IllegalArgumentException("Descriptor was not a primitive class name!");
	}
@Test
	void testClassToPrimitive() {
		assertEquals("V", Types.classToPrimitive("void"));
		assertEquals("Z", Types.classToPrimitive("boolean"));
		assertEquals("B", Types.classToPrimitive("byte"));
		assertEquals("C", Types.classToPrimitive("char"));
		assertEquals("S", Types.classToPrimitive("short"));
		assertEquals("I", Types.classToPrimitive("int"));
		assertEquals("F", Types.classToPrimitive("float"));
		assertEquals("D", Types.classToPrimitive("double"));
		assertEquals("J", Types.classToPrimitive("long"));
		assertThrows(IllegalArgumentException.class, () -> Types.classToPrimitive("foo"));
	}