1414import static org .apiguardian .api .API .Status .MAINTAINED ;
1515
1616import java .lang .reflect .Member ;
17+ import java .lang .reflect .Modifier ;
1718
1819import org .apiguardian .api .API ;
1920import org .junit .platform .commons .util .ReflectionUtils ;
@@ -47,7 +48,7 @@ private ModifierSupport() {
4748 *
4849 * @param clazz the class to check; never {@code null}
4950 * @return {@code true} if the class is {@code public}
50- * @see java.lang.reflect. Modifier#isPublic(int)
51+ * @see Modifier#isPublic(int)
5152 */
5253 public static boolean isPublic (Class <?> clazz ) {
5354 return ReflectionUtils .isPublic (clazz );
@@ -58,7 +59,7 @@ public static boolean isPublic(Class<?> clazz) {
5859 *
5960 * @param member the member to check; never {@code null}
6061 * @return {@code true} if the member is {@code public}
61- * @see java.lang.reflect. Modifier#isPublic(int)
62+ * @see Modifier#isPublic(int)
6263 */
6364 public static boolean isPublic (Member member ) {
6465 return ReflectionUtils .isPublic (member );
@@ -69,7 +70,7 @@ public static boolean isPublic(Member member) {
6970 *
7071 * @param clazz the class to check; never {@code null}
7172 * @return {@code true} if the class is {@code private}
72- * @see java.lang.reflect. Modifier#isPrivate(int)
73+ * @see Modifier#isPrivate(int)
7374 */
7475 public static boolean isPrivate (Class <?> clazz ) {
7576 return ReflectionUtils .isPrivate (clazz );
@@ -80,7 +81,7 @@ public static boolean isPrivate(Class<?> clazz) {
8081 *
8182 * @param member the member to check; never {@code null}
8283 * @return {@code true} if the member is {@code private}
83- * @see java.lang.reflect. Modifier#isPrivate(int)
84+ * @see Modifier#isPrivate(int)
8485 */
8586 public static boolean isPrivate (Member member ) {
8687 return ReflectionUtils .isPrivate (member );
@@ -96,9 +97,9 @@ public static boolean isPrivate(Member member) {
9697 *
9798 * @param clazz the class to check; never {@code null}
9899 * @return {@code true} if the class is not {@code private}
99- * @see java.lang.reflect. Modifier#isPublic(int)
100- * @see java.lang.reflect. Modifier#isProtected(int)
101- * @see java.lang.reflect. Modifier#isPrivate(int)
100+ * @see Modifier#isPublic(int)
101+ * @see Modifier#isProtected(int)
102+ * @see Modifier#isPrivate(int)
102103 */
103104 public static boolean isNotPrivate (Class <?> clazz ) {
104105 return ReflectionUtils .isNotPrivate (clazz );
@@ -114,9 +115,9 @@ public static boolean isNotPrivate(Class<?> clazz) {
114115 *
115116 * @param member the member to check; never {@code null}
116117 * @return {@code true} if the member is not {@code private}
117- * @see java.lang.reflect. Modifier#isPublic(int)
118- * @see java.lang.reflect. Modifier#isProtected(int)
119- * @see java.lang.reflect. Modifier#isPrivate(int)
118+ * @see Modifier#isPublic(int)
119+ * @see Modifier#isProtected(int)
120+ * @see Modifier#isPrivate(int)
120121 */
121122 public static boolean isNotPrivate (Member member ) {
122123 return ReflectionUtils .isNotPrivate (member );
@@ -127,7 +128,7 @@ public static boolean isNotPrivate(Member member) {
127128 *
128129 * @param clazz the class to check; never {@code null}
129130 * @return {@code true} if the class is {@code abstract}
130- * @see java.lang.reflect. Modifier#isAbstract(int)
131+ * @see Modifier#isAbstract(int)
131132 */
132133 public static boolean isAbstract (Class <?> clazz ) {
133134 return ReflectionUtils .isAbstract (clazz );
@@ -138,7 +139,7 @@ public static boolean isAbstract(Class<?> clazz) {
138139 *
139140 * @param member the class to check; never {@code null}
140141 * @return {@code true} if the member is {@code abstract}
141- * @see java.lang.reflect. Modifier#isAbstract(int)
142+ * @see Modifier#isAbstract(int)
142143 */
143144 public static boolean isAbstract (Member member ) {
144145 return ReflectionUtils .isAbstract (member );
@@ -150,7 +151,7 @@ public static boolean isAbstract(Member member) {
150151 * @param clazz the class to check; never {@code null}
151152 * @return {@code true} if the class is not {@code abstract}
152153 * @since 1.13
153- * @see java.lang.reflect. Modifier#isAbstract(int)
154+ * @see Modifier#isAbstract(int)
154155 */
155156 @ API (status = EXPERIMENTAL , since = "6.0" )
156157 public static boolean isNotAbstract (Class <?> clazz ) {
@@ -163,7 +164,7 @@ public static boolean isNotAbstract(Class<?> clazz) {
163164 * @param member the class to check; never {@code null}
164165 * @return {@code true} if the member is not {@code abstract}
165166 * @since 1.13
166- * @see java.lang.reflect. Modifier#isAbstract(int)
167+ * @see Modifier#isAbstract(int)
167168 */
168169 @ API (status = EXPERIMENTAL , since = "6.0" )
169170 public static boolean isNotAbstract (Member member ) {
@@ -175,7 +176,7 @@ public static boolean isNotAbstract(Member member) {
175176 *
176177 * @param clazz the class to check; never {@code null}
177178 * @return {@code true} if the class is {@code static}
178- * @see java.lang.reflect. Modifier#isStatic(int)
179+ * @see Modifier#isStatic(int)
179180 */
180181 public static boolean isStatic (Class <?> clazz ) {
181182 return ReflectionUtils .isStatic (clazz );
@@ -186,7 +187,7 @@ public static boolean isStatic(Class<?> clazz) {
186187 *
187188 * @param member the member to check; never {@code null}
188189 * @return {@code true} if the member is {@code static}
189- * @see java.lang.reflect. Modifier#isStatic(int)
190+ * @see Modifier#isStatic(int)
190191 */
191192 public static boolean isStatic (Member member ) {
192193 return ReflectionUtils .isStatic (member );
@@ -197,7 +198,7 @@ public static boolean isStatic(Member member) {
197198 *
198199 * @param clazz the class to check; never {@code null}
199200 * @return {@code true} if the class is not {@code static}
200- * @see java.lang.reflect. Modifier#isStatic(int)
201+ * @see Modifier#isStatic(int)
201202 */
202203 public static boolean isNotStatic (Class <?> clazz ) {
203204 return ReflectionUtils .isNotStatic (clazz );
@@ -208,7 +209,7 @@ public static boolean isNotStatic(Class<?> clazz) {
208209 *
209210 * @param member the member to check; never {@code null}
210211 * @return {@code true} if the member is not {@code static}
211- * @see java.lang.reflect. Modifier#isStatic(int)
212+ * @see Modifier#isStatic(int)
212213 */
213214 public static boolean isNotStatic (Member member ) {
214215 return ReflectionUtils .isNotStatic (member );
@@ -220,7 +221,7 @@ public static boolean isNotStatic(Member member) {
220221 * @param clazz the class to check; never {@code null}
221222 * @return {@code true} if the class is {@code final}
222223 * @since 1.5
223- * @see java.lang.reflect. Modifier#isFinal(int)
224+ * @see Modifier#isFinal(int)
224225 */
225226 @ API (status = MAINTAINED , since = "1.5" )
226227 public static boolean isFinal (Class <?> clazz ) {
@@ -233,7 +234,7 @@ public static boolean isFinal(Class<?> clazz) {
233234 * @param clazz the class to check; never {@code null}
234235 * @return {@code true} if the class is not {@code final}
235236 * @since 1.5
236- * @see java.lang.reflect. Modifier#isFinal(int)
237+ * @see Modifier#isFinal(int)
237238 */
238239 @ API (status = MAINTAINED , since = "1.5" )
239240 public static boolean isNotFinal (Class <?> clazz ) {
@@ -246,7 +247,7 @@ public static boolean isNotFinal(Class<?> clazz) {
246247 * @param member the member to check; never {@code null}
247248 * @return {@code true} if the member is {@code final}
248249 * @since 1.5
249- * @see java.lang.reflect. Modifier#isFinal(int)
250+ * @see Modifier#isFinal(int)
250251 */
251252 @ API (status = MAINTAINED , since = "1.5" )
252253 public static boolean isFinal (Member member ) {
@@ -259,7 +260,7 @@ public static boolean isFinal(Member member) {
259260 * @param member the member to check; never {@code null}
260261 * @return {@code true} if the member is not {@code final}
261262 * @since 1.5
262- * @see java.lang.reflect. Modifier#isFinal(int)
263+ * @see Modifier#isFinal(int)
263264 */
264265 @ API (status = MAINTAINED , since = "1.5" )
265266 public static boolean isNotFinal (Member member ) {
0 commit comments