void doComponent(Annotation a, Component c) { pids = a.containsKey("configurationPid") ? c.configurationPid() : null; if (pids != null) { pid = pids[0]; } if (pids == null || "$".equals(pid)) { pid = a.containsKey("name") ? c.name() : clazz.getClassName() .getFQN(); } }
void doComponent(Annotation a, Component c) { pids = a.containsKey("configurationPid") ? c.configurationPid() : null; if (pids != null) { pid = pids[0]; } if (pids == null || "$".equals(pid)) { pid = a.containsKey("name") ? c.name() : clazz.getClassName() .getFQN(); } }
if (a.containsKey("name")) { cap.append(';') .append(annotation.namespace()) if (a.containsKey("version")) { try { Version.parseVersion(annotation.version()); if (a.containsKey("uses")) { cap.append(a.stream("uses", TypeRef.class) // .map(TypeRef::getPackageRef) if (a.containsKey("effective")) { cap.append(";effective:="); escape(cap, annotation.effective());
if (a.containsKey("resolution")) { req.append(";resolution:=") .append(annotation.resolution()); if (a.containsKey("cardinality")) { req.append(";cardinality:=") .append(annotation.cardinality()); if (a.containsKey("effective")) { req.append(";effective:="); escape(req, annotation.effective());
if (a.containsKey("resolution")) { req.append(";resolution:=") .append(annotation.resolution()); if (a.containsKey("cardinality")) { req.append(";cardinality:=") .append(annotation.cardinality()); if (a.containsKey("effective")) { req.append(";effective:="); escape(req, annotation.effective());
if (a.containsKey("filter")) { filter.append(annotation.filter()); addAnd = true; if (a.containsKey("name")) { filter.append('(') .append(annotation.namespace()) if (a.containsKey("version")) { Version floor; try {
if (a.containsKey("filter")) { filter.append(annotation.filter()); addAnd = true; if (a.containsKey("name")) { filter.append('(') .append(annotation.namespace()) if (a.containsKey("version")) { Version floor; try {
if (a.containsKey("name")) { cap.append(';') .append(annotation.namespace()) if (a.containsKey("version")) { try { Version.parseVersion(annotation.version()); if (a.containsKey("uses")) { cap.append(a.stream("uses", TypeRef.class) // .map(TypeRef::getPackageRef) if (a.containsKey("effective")) { cap.append(";effective:="); escape(cap, annotation.effective());
String componentName = annotation.containsKey("name") ? comp.name() : className.getFQN();
String componentName = annotation.containsKey("name") ? comp.name() : className.getFQN();