/**
  * @param ignoredProperties (optional) names of properties to ignore; any fields that would be
  *     recognized as one of these properties is ignored.
  * @param forSerialization If true, will collect serializable property fields; if false,
  *     deserializable
  * @return Ordered Map with logical property name as key, and matching field as value.
  */
 public LinkedHashMap<String, AnnotatedField> _findPropertyFields(
     Collection<String> ignoredProperties, boolean forSerialization) {
   LinkedHashMap<String, AnnotatedField> results = new LinkedHashMap<String, AnnotatedField>();
   for (BeanPropertyDefinition property : _properties) {
     AnnotatedField f = property.getField();
     if (f != null) {
       String name = property.getName();
       if (ignoredProperties != null) {
         if (ignoredProperties.contains(name)) {
           continue;
         }
       }
       results.put(name, f);
     }
   }
   return results;
 }
 @SuppressWarnings("deprecation")
 @Override
 public LinkedHashMap<String, AnnotatedMethod> findGetters(
     VisibilityChecker<?> visibilityChecker, Collection<String> ignoredProperties) {
   LinkedHashMap<String, AnnotatedMethod> results = new LinkedHashMap<String, AnnotatedMethod>();
   for (BeanPropertyDefinition property : _properties) {
     AnnotatedMethod m = property.getGetter();
     if (m != null) {
       String name = property.getName();
       if (ignoredProperties != null) {
         if (ignoredProperties.contains(name)) {
           continue;
         }
       }
       results.put(name, m);
     }
   }
   return results;
 }