The following document contains the results of PMD's CPD 4.3.
File | Line |
---|---|
org/apache/maven/shared/utils/introspection/ReflectionValueExtractor.java | 146 |
org/apache/maven/shared/utils/introspection/ReflectionValueExtractor.java | 209 |
Matcher matcher = INDEXED_PROPS.matcher( token ); if ( matcher.find() ) { String methodBase = StringUtils.capitalizeFirstLetter( matcher.group( 1 ) ); String methodName = "get" + methodBase; try { method = classMap.findMethod( methodName, CLASS_ARGS ); } catch ( AmbiguousException e ) { throw new IntrospectionException( e ); } try { value = method.invoke( value, OBJECT_ARGS ); } catch ( IllegalArgumentException e ) { throw new IntrospectionException( e ); } catch ( IllegalAccessException e ) { throw new IntrospectionException( e ); } catch ( InvocationTargetException e ) { throw new IntrospectionException( e ); } classMap = getClassMap( value.getClass() ); if ( classMap.getCachedClass().isArray() ) |