def wrap_java_property(property)
      pd = property.property_descriptor
      if pd.property_type == Java::JavaLang::String.java_class then
        wrap_java_string_property(property)
      elsif pd.property_type == Java::JavaUtil::Date.java_class then
        wrap_java_date_property(property)
      end
    end
def wrap_java_property(property)
      pd = property.property_descriptor
      if pd.property_type == Java::JavaLang::String.java_class then
        wrap_java_string_property(property)
      elsif pd.property_type == Java::JavaUtil::Date.java_class then
        wrap_java_date_property(property)
      end
    end
Adds a filter to the given property access methods if it is a String or Date.