Skip to content

Commit

Permalink
improve javadoc of VoidType and MethodInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladicek committed Jan 24, 2024
1 parent 14591a4 commit d10e95d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions core/src/main/java/org/jboss/jandex/MethodInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@
* However, {@link #descriptorParameterTypes()} and {@link #descriptorParametersCount()}
* may be used to obtain information about all parameters, including mandated and synthetic.
* <p>
* As an exception to the rule above, in case of well known methods where no parameter
* is declared explicitly, the implicitly declared parameters are included. This currently
* applies to the implicitly declared parameters of:
* As an exception to the rule above, implicitly declared parameters are always included
* in case of methods that don't have an explicit parameter list. These are:
* <ul>
* <li>the implicitly declared {@code valueOf()} method in enums;</li>
* <li>the compact constructor in records.</li>
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/jboss/jandex/VoidType.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package org.jboss.jandex;

/**
* Specifies "void" in a method signature.
* Represents the {@code void} pseudo-type, which may appear in a method signature.
*
* @since 2.0
* @author Jason T. Greene
Expand Down

0 comments on commit d10e95d

Please sign in to comment.