Skip to content

Commit

Permalink
Improve WildcardType javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladicek committed Sep 16, 2024
1 parent b9f1432 commit 1fa8250
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/src/main/java/org/jboss/jandex/WildcardType.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class WildcardType extends Type {
* Creates a new wildcard type.
*
* @param bound the bound (lower or upper)
* @param isExtends true if the bound is an upper (extends) bound, false if lower (super)
* @param isExtends true if the bound is an upper ({@code extends}) bound, false if lower ({@code super})
* @return the new instance
*
* @since 2.1
Expand All @@ -50,7 +50,7 @@ public static WildcardType create(Type bound, boolean isExtends) {
}

/**
* Create a new wildcard type with an upper bound.
* Create a new wildcard type with an upper ({@code extends}) bound.
*
* @param upperBound the upper bound
* @return the new instance
Expand All @@ -61,7 +61,7 @@ public static WildcardType createUpperBound(Type upperBound) {
}

/**
* Create a new wildcard type with an upper bound.
* Create a new wildcard type with an upper ({@code extends}) bound.
*
* @param upperBound the upper bound
* @return the new instance
Expand All @@ -72,7 +72,7 @@ public static WildcardType createUpperBound(Class<?> upperBound) {
}

/**
* Create a new wildcard type with a lower bound.
* Create a new wildcard type with a lower ({@code super}) bound.
*
* @param lowerBound the lower bound
* @return the new instance
Expand All @@ -83,7 +83,7 @@ public static WildcardType createLowerBound(Type lowerBound) {
}

/**
* Create a new wildcard type with a lower bound.
* Create a new wildcard type with a lower ({@code super}) bound.
*
* @param lowerBound the lower bound
* @return the new instance
Expand Down

0 comments on commit 1fa8250

Please sign in to comment.