HashSet<PropertyInfo> properties = new HashSet<PropertyInfo>();
if (methods != null && methods.isEmpty() == false)
{
for (MethodInfo method : methods)
{
TypeInfo returnType = method.getReturnType();
TypeInfo[] parameters = method.getParameterTypes();
if (parameters.length == 0 && PrimitiveInfo.VOID.equals(returnType) == false)
{
String name = method.getName();
properties.add(new DefaultPropertyInfo(name, name, returnType, method, null, method.getAnnotations()));