code: protected JvmType findKnownTopLevelType(Class<?> rawType, Notifier context) {
  		if (rawType.isArray()) {
  			throw new IllegalArgumentException(rawType.getCanonicalName());
  		}
  		if (rawType.isPrimitive()) {
  			throw new IllegalArgumentException(rawType.getName());
  		}
  		ResourceSet resourceSet = EcoreUtil2.getResourceSet(context);
  		if (resourceSet == null) {
  			return null;
  		}
  		Resource typeResource = resourceSet.getResource(URIHelperConstants.OBJECTS_URI.appendSegment(rawType.getName()), true);
  		List<EObject> resourceContents = typeResource.getContents();
  		if (resourceContents.isEmpty())
  			return null;
  		JvmType type = (JvmType) resourceContents.get(0);
  		return type;
  	}
docs: /* @Nullable