in src/main/java/com/amazonaws/eclipse/simpleworkflow/asynchrony/annotationprocessor/ProcessorUtils.java [63:71]
public static boolean isTypePackage(TypeMirror typeMirror, String packageName) {
if (typeMirror != null && !isVoidType(typeMirror)) {
String fullName = typeMirror.toString();
if (fullName.startsWith(packageName)) {
return !fullName.substring(packageName.length()).contains(".");
}
}
return false;
}