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

Method WildcardTypeImpl

output/java_guava/1.4.18/Types.java:480–485  ·  view source on GitHub ↗
(Type[] lowerBounds, Type[] upperBounds)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

disallowPrimitiveTypeMethod · 0.45
usedInGenericTypeMethod · 0.45

Tested by

no test coverage detected