@Test public void testSwingManipulationDetector() { SwingEventExecutionChecker checker = new SwingEventExecutionChecker(); List<String> errors = checker .check(SwingEventExecutionCheckerTest.class); Assert.assertArrayEquals( new String[] { "commons/swing/SwingEventExecutionCheckerTest testMethod ()V", "commons/swing/SwingEventExecutionCheckerTest testPrivateMethod ()V"}, errors.toArray()); }
public List<String> check(Class<?> class1) { List<String> errors = new ArrayList<String>(); internalDetect(class1, errors, 0); return errors; }
SwingEventExecutionChecker { public List<String> check(Class<?> class1) { List<String> errors = new ArrayList<String>(); internalDetect(class1, errors, 0); return errors; } }
SwingEventExecutionChecker { public List<String> check(Class<?> class1) { List<String> errors = new ArrayList<String>(); internalDetect(class1, errors, 0); return errors; }  }
SwingEventExecutionChecker { public List<String> check(Class<?> class1) { List<String> errors = new ArrayList<String>(); internalDetect(class1, errors, 0); return errors; }  List<String> check(Class<?> class1); }
SwingEventExecutionChecker { public List<String> check(Class<?> class1) { List<String> errors = new ArrayList<String>(); internalDetect(class1, errors, 0); return errors; }  List<String> check(Class<?> class1); public boolean inSwingClass; }