in src/main/java/com/amazonaws/eclipse/simpleworkflow/asynchrony/annotationprocessor/ProcessorUtils.java [77:86]
public static boolean isPromiseType(TypeMirror typeMirror) {
if (typeMirror != null && !isVoidType(typeMirror)) {
String fullName = typeMirror.toString();
if (fullName != null && !fullName.isEmpty()) {
return fullName.startsWith(Promise.class.getName());
}
}
return false;
}