protected List<Object> getFeatureArrayFromMethods(Object o)
	{

		List<Object> features = new ArrayList<Object>();
		Method[] methods = o.getClass().getMethods();
		for(Method m : methods)
		{
			Annotation annotation = m.getAnnotation(NumericFeature.class);
			if(annotation == null)
			{
				annotation = m.getAnnotation(TextFeature.class);
			}
			
			if (annotation != null)
			{
				m.setAccessible(true);
				try
				{
					features.add(m.invoke(o));
				}
				catch (NumberFormatException e)
				{
					LOG.error(e);
				}
				catch (IllegalArgumentException e)
				{
					LOG.error(e);
				}
				catch (IllegalAccessException e)
				{
					LOG.error(e);
				}
				catch (InvocationTargetException e)
				{
					LOG.error(e);
				}
			}
		}
		return features;
	}