/** * This is used to remove a field from the map of processed fields. * A field is removed with the <code>Transient</code> annotation * is used to indicate that it should not be processed by the * scanner. This is required when default types are used. * * @param field this is the field to be removed from the map * @param label this is the label associated with the field */ private void remove(Field field, Annotation label) { done.remove(new FieldKey(field)); }
/** * This is used to remove a field from the map of processed fields. * A field is removed with the <code>Transient</code> annotation * is used to indicate that it should not be processed by the * scanner. This is required when default types are used. * * @param field this is the field to be removed from the map * @param label this is the label associated with the field */ private void remove(Field field, Annotation label) { done.remove(new FieldKey(field)); }
/** * This is used to remove a field from the map of processed fields. * A field is removed with the <code>Transient</code> annotation * is used to indicate that it should not be processed by the * scanner. This is required when default types are used. * * @param field this is the field to be removed from the map * @param label this is the label associated with the field */ private void remove(Field field, Annotation label) { done.remove(new FieldKey(field)); }
/** * This is used to insert a contact to this contact list. Here if * a <code>Text</code> annotation is declared on a field that * already has an annotation then the other annotation is given * the priority, this is to so text can be processes separately. * * @param key this is the key that uniquely identifies the field * @param contact this is the contact that is to be inserted */ private void insert(Object key, Contact contact) { Contact existing = done.remove(key); if(existing != null) { if(isText(contact)) { contact = existing; } } done.put(key, contact); }
/** * This is used to insert a contact to this contact list. Here if * a <code>Text</code> annotation is declared on a field that * already has an annotation then the other annotation is given * the priority, this is to so text can be processes separately. * * @param key this is the key that uniquely identifies the field * @param contact this is the contact that is to be inserted */ private void insert(Object key, Contact contact) { Contact existing = done.remove(key); if(existing != null) { if(isText(contact)) { contact = existing; } } done.put(key, contact); }
/** * This is used to insert a contact to this contact list. Here if * a <code>Text</code> annotation is declared on a field that * already has an annotation then the other annotation is given * the priority, this is to so text can be processes separately. * * @param key this is the key that uniquely identifies the field * @param contact this is the contact that is to be inserted */ private void insert(Object key, Contact contact) { Contact existing = done.remove(key); if(existing != null) { if(isText(contact)) { contact = existing; } } done.put(key, contact); }