@Test public void testBooleanGetterWithParameters() throws Exception { final ClassMethodInspector ext = new ClassMethodInspector(MyMap.class, new JavaTypeSystemTranslator()); for (String s : ext.getMethodNames()) { assertFalse("Method " + s + " is not allowed.", checkBlackList(s)); } }
public List<String> getMethodNames() { List<String> methodList = new ArrayList<String>(); for (MethodInfo info : methods) { methodList.add(info.getName()); } return methodList; }
ClassMethodInspector { public List<String> getMethodNames() { List<String> methodList = new ArrayList<String>(); for (MethodInfo info : methods) { methodList.add(info.getName()); } return methodList; } }
ClassMethodInspector { public List<String> getMethodNames() { List<String> methodList = new ArrayList<String>(); for (MethodInfo info : methods) { methodList.add(info.getName()); } return methodList; } ClassMethodInspector(final Class<?> clazz,
                                final ClassToGenericClassConverter converter); }
ClassMethodInspector { public List<String> getMethodNames() { List<String> methodList = new ArrayList<String>(); for (MethodInfo info : methods) { methodList.add(info.getName()); } return methodList; } ClassMethodInspector(final Class<?> clazz,
                                final ClassToGenericClassConverter converter); List<String> getMethodNames(); List<MethodInfo> getMethodInfos(); }
ClassMethodInspector { public List<String> getMethodNames() { List<String> methodList = new ArrayList<String>(); for (MethodInfo info : methods) { methodList.add(info.getName()); } return methodList; } ClassMethodInspector(final Class<?> clazz,
                                final ClassToGenericClassConverter converter); List<String> getMethodNames(); List<MethodInfo> getMethodInfos();  }