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)); } }
getArgTypesByMethod(introspData).remove(previous); Class<?>[] replaced = getArgTypesByMethod(introspData).put(method, method.getParameterTypes()); if (replaced != null) {
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)); } }
getArgTypesByMethod(introspData).remove(previous); Class<?>[] replaced = getArgTypesByMethod(introspData).put(method, method.getParameterTypes()); if (replaced != null) {
getArgTypesByMethod(introspData).remove(previous); Class<?>[] replaced = getArgTypesByMethod(introspData).put(method, method.getParameterTypes()); if (replaced != null) {