public Object getDomain(int index) { if (auxillary != null) return auxillary.getDomain(index); if (index < 0 || index >= numProperties()) return null; try { if (domMethods.get(index) == null) return null; return ((Method) (domMethods.get(index))).invoke(object, new Object[0]); } catch (Exception e) { e.printStackTrace(); return null; } }