code: public static AddonDependencyEntry create(String name, VersionRange range, boolean exported, boolean optional)
     {
        Assert.notNull(name, "Addon name must not be null.");
        Assert.notNull(range, "Addon version must not be null.");
  
        AddonDependencyEntry entry = new AddonDependencyEntry();
        entry.name = name;
        entry.version = range;
        entry.exported = exported;
        entry.optional = optional;
        return entry;
     }
docs: Create a new {@link AddonDependencyEntry} with the given attributes.