code: @SuppressWarnings("unchecked")
  	public static <T extends ExtensionPoint<?>> T getExtensionPoint(Class<T> clazz) {
  		synchronized (points) {
  			for (ExtensionPoint<?> ep : points)
  				if (clazz.isAssignableFrom(ep.getClass()))
  					return (T)ep;
  		}
  		return null;
  	}
docs: Retrieve an extension point instance.