public static WildcardArgument forType(java.lang.reflect.Type type) {
if (!(type instanceof java.lang.reflect.WildcardType)) {
throw new IllegalArgumentException("Must be a wildcard type " + type);
}
java.lang.reflect.WildcardType wildcardType = (java.lang.reflect.WildcardType) type;
<BUG>return new WildcardArgument(WildcardType.forType(wildcardType));
}</BUG>
@Override
public boolean equals(Object obj) {
if (!(obj instanceof WildcardArgument)) {

public static WildcardArgument forType(java.lang.reflect.Type type) {
if (!(type instanceof java.lang.reflect.WildcardType)) {
throw new IllegalArgumentException("Must be a wildcard type " + type);
}
java.lang.reflect.WildcardType wildcardType = (java.lang.reflect.WildcardType) type;
return new WildcardArgument(WildcardType.forType(wildcardType));
}
public static WildcardArgument forType(ReferenceType argumentType) {
assert argumentType instanceof WildcardType : "argument type must be wildcard type";
return new WildcardArgument((WildcardType) argumentType);
}
@Override
public boolean equals(Object obj) {
if (!(obj instanceof WildcardArgument)) {
