Set<PropertyInfo> properties = info.getProperties();
if (properties != null && properties.isEmpty() == false)
{
for(PropertyInfo pi : properties)
{
FieldInfo field = pi.getFieldInfo();
if (field != null)
{
Signature sis = new FieldSignature(field);
MetaData cmdr = retrieval.getComponentMetaData(sis);
if (cmdr != null)
{
Annotation[] canns = cmdr.getAnnotations();
for (int i = 0 ; i < canns.length ; i++)
{
for(T plugin : getPlugins(ElementType.FIELD, canns[i], null, annotationClasses))
{
if (isApplyPhase)
applyPlugin(plugin, canns[i], field, cmdr, handle);
else
cleanPlugin(plugin, canns[i], field, cmdr, handle);
}
}
}
else if (trace)
log.trace("No annotations for field " + field.getName());
}
// apply setter and getter as well - if they exist
handleMethod(retrieval, handle, isApplyPhase, trace, visitedMethods, pi, pi.getSetter(), "setter", annotationClasses);
handleMethod(retrieval, handle, isApplyPhase, trace, visitedMethods, pi, pi.getGetter(), "getter", annotationClasses);
}