public static void verifyGetterMethods(Class<?> clazz,MappedField... fields){
  for (  MappedField field : fields) {
    String fieldName=field.getName();
    Class<?> fieldType=field.getType();
    String customGet=field.getMethod();
    if (!isNull(customGet) && !customGet.equals(Constants.DEFAULT_ACCESSOR_VALUE))     try {
      clazz.getMethod(customGet);
      continue;
    }
 catch (    Exception e) {
      Error.customMethod("get",customGet,clazz);
    }
    String methodName=getMethod(fieldType,fieldName);
    try {
      clazz.getMethod(methodName);
    }
 catch (    Exception e) {
      if (!isBoolean(fieldType))       Error.method(methodName,fieldName,clazz);
      try {
        methodName=(mGet(fieldName));
        clazz.getMethod(methodName);
      }
 catch (      Exception e1) {
        Error.method(methodName,fieldName,clazz);
      }
    }
    field.getMethod(methodName);
  }
}

public static void verifyGetterMethods ( Class < ? > clazz , MappedField ... fields ) { for ( MappedField field : fields ) { String fieldName = field . getName ( ) ; Class < ? > fieldType = field . getType ( ) ; String customGet = field . getMethod ( ) ; if ( ! isNull ( customGet ) && ! customGet . equals ( Constants . DEFAULT_ACCESSOR_VALUE ) ) try { clazz . getMethod ( customGet ) ; continue ; } catch ( Exception e ) { Error . customMethod ( "get" , customGet , clazz ) ; } String methodName = getMethod ( fieldType , fieldName ) ; try { clazz . getMethod ( methodName ) ; } catch ( Exception e ) { if ( ! isBoolean ( fieldType ) ) Error . method ( methodName , fieldName , clazz ) ; try { methodName = ( mGet ( fieldName ) ) ; clazz . getMethod ( methodName ) ; } catch ( Exception e1 ) { Error . method ( methodName , fieldName , clazz ) ; } } field . getMethod ( methodName ) ; } }
verifies that the getter methods are compliant with the naming convention .
