void (@NonNls String name, String className, boolean isBoolean) { final PsiClass psiClass = doTestHandler(name, className); final String propName = name.substring(0, 1).toUpperCase() + name.substring(1); assertMethodExists(psiClass, (isBoolean ? "is" : "get") + propName); assertMethodExists(psiClass, "set" + propName); assertMethodExists(psiClass, name + "Property"); assertFieldExists(psiClass, name); }