Subtypes subtypes = AnalysisContext.currentAnalysisContext() .getSubtypes(); Set<JavaClass> allClasses; allClasses = subtypes.getAllClasses(); for(JavaClass c : allClasses) addAllDefinitions(c); System.out.println("# of all classes = " + allClasses.size());
Subtypes subtypes = AnalysisContext.currentAnalysisContext() .getSubtypes(); Set<JavaClass> allClasses; allClasses = subtypes.getAllClasses(); for (JavaClass c : allClasses) addAllDefinitions(c);
	private void compute() {		if (defined == null) {			defined = new HashSet<String>();		Subtypes subtypes = AnalysisContext.currentAnalysisContext()				.getSubtypes();		Set<JavaClass> allClasses;		allClasses = subtypes.getAllClasses();		for(JavaClass c : allClasses) 			addAllDefinitions(c);		System.out.println("# of all classes = " + allClasses.size());		}	}