1.1 --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/ParamTaglet.java Fri May 03 15:08:47 2013 -0700 1.2 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/ParamTaglet.java Fri May 03 17:44:38 2013 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -101,14 +101,14 @@ 1.11 } 1.12 } 1.13 ParamTag[] tags = input.isTypeVariableParamTag ? 1.14 - input.method.typeParamTags() : input.method.paramTags(); 1.15 + ((MethodDoc)input.element).typeParamTags() : ((MethodDoc)input.element).paramTags(); 1.16 Map<String, String> rankMap = getRankMap(input.isTypeVariableParamTag ? 1.17 - (Object[]) input.method.typeParameters() : 1.18 - (Object[]) input.method.parameters()); 1.19 + (Object[]) ((MethodDoc)input.element).typeParameters() : 1.20 + (Object[]) ((MethodDoc)input.element).parameters()); 1.21 for (int i = 0; i < tags.length; i++) { 1.22 if (rankMap.containsKey(tags[i].parameterName()) && 1.23 rankMap.get(tags[i].parameterName()).equals((input.tagId))) { 1.24 - output.holder = input.method; 1.25 + output.holder = input.element; 1.26 output.holderTag = tags[i]; 1.27 output.inlineTags = input.isFirstSentence ? 1.28 tags[i].firstSentenceTags() : tags[i].inlineTags();