Home
last modified time | relevance | path

Searched refs:firstBound (Results 1 – 3 of 3) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DGenericMetadataSupport.java96 return extractRawTypeOf(((BoundedType) type).firstBound()); in extractRawTypeOf()
166 if (wildCardBoundedType.firstBound() instanceof TypeVariable) { in boundsOf()
167 return boundsOf((TypeVariable<?>) wildCardBoundedType.firstBound()); in boundsOf()
455 … Type actualFirstBound = extractActualBoundedTypeOf(((BoundedType) type).firstBound()); in extractActualBoundedTypeOf()
521 Type firstBound(); in firstBound() method
556 public Type firstBound() { in firstBound() method in GenericMetadataSupport.TypeVarBoundedType
589 …return "{firstBound=" + firstBound() + ", interfaceBounds=" + Arrays.deepToString(interfaceBounds(… in toString()
616 public Type firstBound() { in firstBound() method in GenericMetadataSupport.WildCardBoundedType
646 return "{firstBound=" + firstBound() + ", interfaceBounds=[]}"; in toString()
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DGenericMetadataSupportTest.java148 …rt.TypeVarBoundedType) typeVariableValue(genericMetadata.actualTypeArguments(), "E")).firstBound(); in paramType_with_type_parameters_return_type_of____paramType_with_type_params____resolved_to_Collection_and_type_argument_to_Parameterized_Set()
177 assertThat(boundedType.firstBound()).isEqualTo(Integer.class); in paramType_with_wildcard_return_type_of____returning_wildcard_with_class_lower_bound____resolved_to_List_and_type_argument_to_Integer()
188 assertThat(inferFrom(boundedType.firstBound()).rawType()).isEqualTo(Comparable.class); in paramType_with_wildcard_return_type_of____returning_wildcard_with_typeVar_lower_bound____resolved_to_List_and_type_argument_to_Integer()
198 assertThat(inferFrom(boundedType.firstBound()).rawType()).isEqualTo(Comparable.class); in paramType_with_wildcard_return_type_of____returning_wildcard_with_typeVar_upper_bound____resolved_to_List_and_type_argument_to_Integer()
/external/javapoet/src/main/java/com/squareup/javapoet/
DCodeWriter.java196 boolean firstBound = true; in emitTypeVariables()
198 emit(firstBound ? " extends $T" : " & $T", bound); in emitTypeVariables()
199 firstBound = false; in emitTypeVariables()