List<Object> result = new ArrayList<Object>();
result.addAll(evaluateAnnotatedClasses(extension, DependedUpon.class));
if (ClassUtils.isAssignable(extension.getClass(), Sensor.class)) {
DefaultSensorDescriptor descriptor = new DefaultSensorDescriptor();
((Sensor) extension).describe(descriptor);
result.addAll(Arrays.asList(descriptor.provides()));
}
return result;
}
private void completePhaseDependencies(DirectAcyclicGraph dag, Object extension) {