@Test void constructor_is_not_accessor() { assertThat(isAccessor("class getA {private int a; public getA() {} }")).isFalse(); }
public static boolean isAccessor(ClassTree classTree, MethodTree methodTree) { return isPublicMethod(methodTree) && methodTree.block() != null && (isGetter(classTree, methodTree) || isSetter(classTree, methodTree)); }
AccessorsUtils { public static boolean isAccessor(ClassTree classTree, MethodTree methodTree) { return isPublicMethod(methodTree) && methodTree.block() != null && (isGetter(classTree, methodTree) || isSetter(classTree, methodTree)); } }
AccessorsUtils { public static boolean isAccessor(ClassTree classTree, MethodTree methodTree) { return isPublicMethod(methodTree) && methodTree.block() != null && (isGetter(classTree, methodTree) || isSetter(classTree, methodTree)); } private  AccessorsUtils(); }
AccessorsUtils { public static boolean isAccessor(ClassTree classTree, MethodTree methodTree) { return isPublicMethod(methodTree) && methodTree.block() != null && (isGetter(classTree, methodTree) || isSetter(classTree, methodTree)); } private  AccessorsUtils(); static boolean isAccessor(ClassTree classTree, MethodTree methodTree); }
AccessorsUtils { public static boolean isAccessor(ClassTree classTree, MethodTree methodTree) { return isPublicMethod(methodTree) && methodTree.block() != null && (isGetter(classTree, methodTree) || isSetter(classTree, methodTree)); } private  AccessorsUtils(); static boolean isAccessor(ClassTree classTree, MethodTree methodTree);  }