in src/main/java/com/amazonaws/eclipse/simpleworkflow/asynchrony/annotationprocessor/ProcessorUtils.java [553:570]
public static List<com.amazonaws.eclipse.simpleworkflow.asynchrony.objectmodel.Workflow> getAllSuperWorkflows(
ProcessingEnvironment processingEnv, TypeElement workflow, DeclaredType workflowAnnotationType,
Set<DeclaredType> annotationsToExcludeFromCopying) {
List<com.amazonaws.eclipse.simpleworkflow.asynchrony.objectmodel.Workflow> superWorkflows = new ArrayList<com.amazonaws.eclipse.simpleworkflow.asynchrony.objectmodel.Workflow>();
for (TypeMirror superInterfaceType : workflow.getInterfaces()) {
Element superInterfaceDeclaration = processingEnv.getTypeUtils().asElement(superInterfaceType);
Workflow annotation = superInterfaceDeclaration != null ? superInterfaceDeclaration.getAnnotation(Workflow.class) : null;
if (annotation != null) {
superWorkflows.add(getWorkflowModel(processingEnv, (TypeElement) superInterfaceDeclaration,
workflowAnnotationType, annotationsToExcludeFromCopying));
}
}
return superWorkflows;
}