1 package com.puppycrawl.tools.checkstyle.checks.javadoc.javadoctype; 2 3 /** 4 * Some explanation. 5 * @param <A> A type param 6 * @param <B1> Another type param 7 * @param <D123> The wrong type param 8 * @author Nobody 9 * @version 1.0 10 */ 11 public class InputJavadocTypeTypeParamsTags<A,B1,C456 extends Comparable> 12 { 13 /** 14 * Some explanation. 15 * @param <X> A type param 16 * @param <Y1> Another type param 17 * @return a string 18 */ 19 public <X, Y1> String doSomething() 20 { 21 return null; 22 } 23 24 /** 25 * Some explanation. 26 * @param <BB> The wrong type param 27 */ 28 public <Z> void doSomethingElse() 29 { 30 } 31 32 /** 33 * Some explanation. 34 * @param aAnEl A parameter 35 * @param <L> A type parameter 36 */ 37 public <L> void doSomethingElse2(L aAnEl) 38 { 39 } 40 41 /** 42 * Example inner class. 43 * @param <A> documented parameter 44 * @param <C> extra parameter 45 */ 46 47 public static class InnerClass<A,B> 48 { 49 } 50 51 /** 52 * Some explanation. 53 * @param <Z The wrong type param 54 */ 55 public <Z> void unclosedGenericParam() 56 { 57 } 58 } 59 60 /** @param x */ 61 class Test {}