if (startMethods != null && !startMethods.isEmpty()) {
this.startMethods = new PrioritizedMethodMetadata[startMethods.size()];
int i=0;
for (Method m : startMethods) {
Start s = m.getAnnotation(Start.class);
this.startMethods[i++] = new PrioritizedMethodMetadata(m.getName(), s.priority());
}
}
if (stopMethods != null && !stopMethods.isEmpty()) {
this.stopMethods = new PrioritizedMethodMetadata[stopMethods.size()];