private static AbstractField<?> createField(final String property) {
		if (StringUtils.containsIgnoreCase(property,HIDDEN_FIELD_NAME)) {
			return new PasswordField();
		} else {
			return new TextField();
		}
	}
private static AbstractField<?> createField(final String property) {
		if (StringUtils.containsIgnoreCase(property,HIDDEN_FIELD_NAME)) {
			return new PasswordField();
		} else {
			return new TextField();
		}
	}
private static AbstractField < ? > createField ( final String property ) { if ( StringUtils . containsIgnoreCase ( property , HIDDEN_FIELD_NAME ) ) { return new PasswordField ( ) ; } else { return new TextField ( ) ; } }
Creates the field.

@param property the property
@return the abstract field
Creates the field .