/** * Create a new mock instance of WildcardType. * * @param bound the bound (lower or upper) * @param isExtends true if lower, false if upper (super) * @return thew new mock instance * * @since 2.1 */ public static WildcardType create(Type bound, boolean isExtends) { return new WildcardType(bound, isExtends); }
@Override Type copyType(AnnotationInstance[] newAnnotations) { return new WildcardType(bound, isExtends, newAnnotations); }
Type copyType(Type bound) { return new WildcardType(bound, isExtends, annotationArray()); }
private Type parseWildCard(boolean isExtends) { Type bound = parseReferenceType(); return new WildcardType(bound, isExtends); }
Type bound = typeTable[stream.readPackedU32()]; AnnotationInstance[] annotations = readAnnotations(stream, null); return new WildcardType(bound, isExtends, annotations);