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

Method usedInGenericType

output/java_guava/1.4.18/Types.java:563–573  ·  view source on GitHub ↗
(Type type)

Source from the content-addressed store, hash-verified

561 }
562
563 @Override
564 Type usedInGenericType(Type type) {
565 checkNotNull(type);
566 if (type instanceof Class) {
567 Class<?> cls = (Class<?>) type;
568 if (cls.isArray()) {
569 return new GenericArrayTypeImpl(cls.getComponentType());
570 }
571 }
572 return type;
573 }
574 },
575
576 JAVA7 {

Callers 3

GenericArrayTypeImplMethod · 0.45
ParameterizedTypeImplMethod · 0.45
WildcardTypeImplMethod · 0.45

Calls 6

builderMethod · 0.95
addMethod · 0.65
checkNotNullMethod · 0.45
isArrayMethod · 0.45
getComponentTypeMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected