private static void processesJavaCompletionProposal(boolean settersOnly,
final Collection<ICompletionProposal> set,
ICompletionProposal o) {
if ( settersOnly ) {
JavaCompletionProposal jcp = (JavaCompletionProposal) o;
//TODO: FIXME: this is very fragile as it uses reflection to access the private completion field.
//Yet this is needed to do mvel filtering based on the method signtures, IF we use the richer JDT completion
// Object field = ReflectionUtils.getField( o,
// "fProposal" );
IJavaElement javaElement = jcp.getJavaElement();
if ( javaElement.getElementType() == IJavaElement.FIELD ) {
set.add( o );
}
} else {