JavaMethod (int index) { if (myGetterMethods.length == 0) return null; final Collection<JavaMethod> methods = myGetterMethods[index]; return methods == null || methods.isEmpty() ? null : methods.iterator().next(); }