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

Method usedInGenericType

output/java_guava/1.4.19/Types.java:562–572  ·  view source on GitHub ↗
(Type type)

Source from the content-addressed store, hash-verified

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