59606162636465
/** * Create a new {@link AddonDependencyEntry} with the given attributes. */ public static AddonDependencyEntry create(String name) { return create(name, new EmptyVersionRange(), false, false); }
67686970717273
/** * Create a new {@link AddonDependencyEntry} with the given attributes. */ public static AddonDependencyEntry create(String name, boolean exported) { return create(name, new EmptyVersionRange(), exported, false); }
75767778798081
/** * Create a new {@link AddonDependencyEntry} with the given attributes. */ public static AddonDependencyEntry create(String name, boolean exported, boolean optional) { return create(name, new EmptyVersionRange(), exported, optional); }
4748495051525354555657
AddonVertex localSource = getOrCreateVertex(source.getName(), EmptyVersion.getInstance()); try { graph.addEdge(localSource, localVertex, new AddonDependencyEdge(new EmptyVersionRange(), incomingEdge.isExported())); } catch (Exception e) { e.printStackTrace(); }
4142434445464748495051