MCPcopy Create free account
hub / github.com/antlr/codebuff / WildcardTypeImpl

Method WildcardTypeImpl

output/java_guava/1.4.19/Types.java:479–484  ·  view source on GitHub ↗
(Type[] lowerBounds, Type[] upperBounds)

Source from the content-addressed store, hash-verified

477 private final ImmutableList<Type> upperBounds;
478
479 WildcardTypeImpl(Type[] lowerBounds, Type[] upperBounds) {
480 disallowPrimitiveType(lowerBounds, "lower bound for wildcard");
481 disallowPrimitiveType(upperBounds, "upper bound for wildcard");
482 this.lowerBounds = JavaVersion.CURRENT.usedInGenericType(lowerBounds);
483 this.upperBounds = JavaVersion.CURRENT.usedInGenericType(upperBounds);
484 }
485
486 @Override
487 public Type[] getLowerBounds() {

Callers

nothing calls this directly

Calls 2

disallowPrimitiveTypeMethod · 0.45
usedInGenericTypeMethod · 0.45

Tested by

no test coverage detected