Lines Matching defs:getters
116 * getters using one of various heuristics.</p>
462 final Method[] getters = new Method[nitems];
469 getters[i] = getter;
485 getters,
807 Method[] getters,
811 assert(itemNames.length == getters.length);
814 this.getters = getters;
815 this.getterMappings = new MXBeanMapping[getters.length];
816 for (int i = 0; i < getters.length; i++) {
817 Type retType = getters[i].getGenericReturnType();
831 Object[] values = new Object[getters.length];
832 for (int i = 0; i < getters.length; i++) {
834 Object got = MethodUtil.invoke(getters[i], value, (Object[]) null);
881 String whyNot = builder.applicable(getters);
924 private final Method[] getters;
949 abstract String applicable(Method[] getters)
980 String applicable(Method[] getters) throws InvalidObjectException {
1035 If all the getters are OK, then the "applicable" method will return
1044 String applicable(Method[] getters) {
1045 for (int i = 0; i < getters.length; i++) {
1050 return "method " + getters[i].getName() + " returns type " +
1079 String applicable(Method[] getters) {
1086 Method[] setters = new Method[getters.length];
1087 for (int i = 0; i < getters.length; i++) {
1088 Method getter = getters[i];
1098 return "not all getters have corresponding setters " +
1135 to getters. */
1143 String applicable(Method[] getters) throws InvalidObjectException {
1194 int[] paramIndexes = new int[getters.length];
1195 for (int i = 0; i < getters.length; i++)
1223 Method getter = getters[getterIndex];
1361 no methods other than getters. Then we can make an instance
1362 using a dynamic proxy that forwards the getters to the source
1371 String applicable(Method[] getters) {
1377 methods.removeAll(Arrays.asList(getters));
1398 return "contains methods other than getters (" + bad + ")";