Home
last modified time | relevance | path

Searched refs:BoundedType (Results 1 – 2 of 2) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DGenericMetadataSupport.java95 if (type instanceof BoundedType) { in extractRawTypeOf()
96 return extractRawTypeOf(((BoundedType) type).firstBound()); in extractRawTypeOf()
146 private BoundedType boundsOf(TypeVariable<?> typeParameter) { in boundsOf()
158 private BoundedType boundsOf(WildcardType wildCard) { in boundsOf()
417 if (type instanceof BoundedType) { in extraInterfaces()
418 return Arrays.asList(((BoundedType) type).interfaceBounds()); in extraInterfaces()
454 if (type instanceof BoundedType) { in extractActualBoundedTypeOf()
455 … Type actualFirstBound = extractActualBoundedTypeOf(((BoundedType) type).firstBound()); in extractActualBoundedTypeOf()
456 if (!(actualFirstBound instanceof BoundedType)) { in extractActualBoundedTypeOf()
520 public interface BoundedType extends Type { interface in GenericMetadataSupport
[all …]
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DGenericMetadataSupportTest.java176 …GenericMetadataSupport.BoundedType boundedType = (GenericMetadataSupport.BoundedType) typeVariable… in paramType_with_wildcard_return_type_of____returning_wildcard_with_class_lower_bound____resolved_to_List_and_type_argument_to_Integer()
186 …GenericMetadataSupport.BoundedType boundedType = (GenericMetadataSupport.BoundedType) typeVariable… in paramType_with_wildcard_return_type_of____returning_wildcard_with_typeVar_lower_bound____resolved_to_List_and_type_argument_to_Integer()
196 …GenericMetadataSupport.BoundedType boundedType = (GenericMetadataSupport.BoundedType) typeVariable… in paramType_with_wildcard_return_type_of____returning_wildcard_with_typeVar_upper_bound____resolved_to_List_and_type_argument_to_Integer()