Esempio n. 1
0
 public static void main(String[] args) {
   Set<String> exploreMethods = analyze(Explore.class);
   Set<String> enumMethods = analyze(Enum.class);
   print("Explore.containsAll(Enum)? " + exploreMethods.containsAll(enumMethods));
   printnb("Explore.removeAll(Enum): ");
   exploreMethods.removeAll(enumMethods);
   print(exploreMethods);
   // Decompile the code for the enum:
   OSExecute.command("javap Explore");
 }
 public static void main(String[] args) throws Exception {
   OSExecute.command("java net.mindview.atunit.AtUnit AtUnitComposition");
 }