private boolean isTypeVisited(JClassType type) { if (visitedTypes.contains(type)) { return true; } else { return previousBundle != null && previousBundle.isTypeVisited(type); } }