return getter.getReturnType().equals(setter.getParameterTypes()[0]);
}
private static String getSchemaNameFromClass(Class clazz) {
String result = clazz.getSimpleName();
Element annotationElement = (Element)clazz.getAnnotation(Element.class);
if (annotationElement != null) {
if (!Element.USE_CLASS_SIMPLE_NAME.equals(annotationElement.name())) {
result = annotationElement.name();
}
}
return result;
}