private void addPropertyDescriptorToClassIntrospectionData(Map<Object, Object> introspData, PropertyDescriptor pd, Class<?> clazz, Map<MethodSignature, List<Method>> accessibleMethods) { Method readMethod = getMatchingAccessibleMethod(pd.getReadMethod(), accessibleMethods); if (readMethod != null && !isAllowedToExpose(readMethod)) { readMethod = null; } Method indexedReadMethod; if (pd instanceof IndexedPropertyDescriptor) { indexedReadMethod = getMatchingAccessibleMethod( ((IndexedPropertyDescriptor) pd).getIndexedReadMethod(), accessibleMethods); if (indexedReadMethod != null && !isAllowedToExpose(indexedReadMethod)) { indexedReadMethod = null; } if (indexedReadMethod != null) { getArgTypesByMethod(introspData).put( indexedReadMethod, indexedReadMethod.getParameterTypes()); } } else { indexedReadMethod = null; } if (readMethod != null || indexedReadMethod != null) { introspData.put(pd.getName(), new FastPropertyDescriptor(readMethod, indexedReadMethod)); } }
IdentityHashMap<Method, Void> argTypesUsedByIndexerPropReaders = null; for (int i = mdsSize - 1; i >= 0; --i) { final Method method = getMatchingAccessibleMethod(mds.get(i).getMethod(), accessibleMethods); if (method != null && isAllowedToExpose(method)) { decision.setDefaults(method);
private void addPropertyDescriptorToClassIntrospectionData(Map<Object, Object> introspData, PropertyDescriptor pd, Class<?> clazz, Map<MethodSignature, List<Method>> accessibleMethods) { Method readMethod = getMatchingAccessibleMethod(pd.getReadMethod(), accessibleMethods); if (readMethod != null && !isAllowedToExpose(readMethod)) { readMethod = null; } Method indexedReadMethod; if (pd instanceof IndexedPropertyDescriptor) { indexedReadMethod = getMatchingAccessibleMethod( ((IndexedPropertyDescriptor) pd).getIndexedReadMethod(), accessibleMethods); if (indexedReadMethod != null && !isAllowedToExpose(indexedReadMethod)) { indexedReadMethod = null; } if (indexedReadMethod != null) { getArgTypesByMethod(introspData).put( indexedReadMethod, indexedReadMethod.getParameterTypes()); } } else { indexedReadMethod = null; } if (readMethod != null || indexedReadMethod != null) { introspData.put(pd.getName(), new FastPropertyDescriptor(readMethod, indexedReadMethod)); } }
private void addPropertyDescriptorToClassIntrospectionData(Map<Object, Object> introspData, PropertyDescriptor pd, Class<?> clazz, Map<MethodSignature, List<Method>> accessibleMethods) { Method readMethod = getMatchingAccessibleMethod(pd.getReadMethod(), accessibleMethods); if (readMethod != null && !isAllowedToExpose(readMethod)) { readMethod = null; } Method indexedReadMethod; if (pd instanceof IndexedPropertyDescriptor) { indexedReadMethod = getMatchingAccessibleMethod( ((IndexedPropertyDescriptor) pd).getIndexedReadMethod(), accessibleMethods); if (indexedReadMethod != null && !isAllowedToExpose(indexedReadMethod)) { indexedReadMethod = null; } if (indexedReadMethod != null) { getArgTypesByMethod(introspData).put( indexedReadMethod, indexedReadMethod.getParameterTypes()); } } else { indexedReadMethod = null; } if (readMethod != null || indexedReadMethod != null) { introspData.put(pd.getName(), new FastPropertyDescriptor(readMethod, indexedReadMethod)); } }
IdentityHashMap<Method, Void> argTypesUsedByIndexerPropReaders = null; for (int i = mdsSize - 1; i >= 0; --i) { final Method method = getMatchingAccessibleMethod(mds.get(i).getMethod(), accessibleMethods); if (method != null && isAllowedToExpose(method)) { decision.setDefaults(method);
IdentityHashMap<Method, Void> argTypesUsedByIndexerPropReaders = null; for (int i = mdsSize - 1; i >= 0; --i) { final Method method = getMatchingAccessibleMethod(mds.get(i).getMethod(), accessibleMethods); if (method != null && isAllowedToExpose(method)) { decision.setDefaults(method);