code: private static boolean isGetterMethod(Method method) {
  		return !Modifier.isStatic(method.getModifiers())
  			&& (method.getName().startsWith("get") || method.getName().startsWith("is"))
  			&& method.getParameterTypes().length == 0;
  	}
docs: Test whether method is a getter.