private static List<String> generateGetMethodNames(final Field field){
  final List<String> prefix=new LinkedList<String>();
  prefix.add("get" + AttributeHelper.getAttributeName(field));
  if (field.getType() == boolean.class || field.getType() == Boolean.class) {
    prefix.add("is" + AttributeHelper.getAttributeName(field));
    String fieldName=field.getName();
    if (fieldName.length() > 2 && fieldName.startsWith("is") && Character.isUpperCase(fieldName.charAt(2)))     prefix.add(fieldName);
  }
  return prefix;
}

private static List < String > generateGetMethodNames ( final Field field ) { final List < String > prefix = new LinkedList < String > ( ) ; prefix . add ( "get" + AttributeHelper . getAttributeName ( field ) ) ; if ( field . getType ( ) == boolean . class || field . getType ( ) == Boolean . class ) { prefix . add ( "is" + AttributeHelper . getAttributeName ( field ) ) ; String fieldName = field . getName ( ) ; if ( fieldName . length ( ) > 2 && fieldName . startsWith ( "is" ) && Character . isUpperCase ( fieldName . charAt ( 2 ) ) ) prefix . add ( fieldName ) ; } return prefix ; }
returns a list for candidate getter names .
