Home
last modified time | relevance | path

Searched refs:upperBounds (Results 1 – 7 of 7) sorted by relevance

/cts/tools/signature-tools/src/signature/model/impl/
DSigTypeVariableDefinition.java33 private List<ITypeReference> upperBounds = Uninitialized.unset(); field in SigTypeVariableDefinition
50 return upperBounds; in getUpperBounds()
53 public void setUpperBounds(List<ITypeReference> upperBounds) { in setUpperBounds() argument
54 this.upperBounds = upperBounds; in setUpperBounds()
DSigWildcardType.java29 private List<ITypeReference> upperBounds; field in SigWildcardType
32 List<ITypeReference> upperBounds) { in SigWildcardType() argument
34 this.upperBounds = upperBounds; in SigWildcardType()
42 return upperBounds; in getUpperBounds()
/cts/tools/signature-tools/templates/model/
Dmodel.stg104 $element.name$$if(!element.upperBounds.empty)$ extends $element.upperBounds:{$ElementType(element=i…
114 $if(!element.upperBounds.empty)$ extends $element.upperBounds:{$ElementType(element=it)$}; separato…
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletToSigConverter.java392 List<ITypeReference> upperBounds = new LinkedList<ITypeReference>(); in convertTypeReference() local
399 upperBounds.add(convertTypeReference(upperBound)); in convertTypeReference()
402 if (upperBounds.size() == 0) { in convertTypeReference()
404 upperBounds.add(pool.getClassReference("java.lang", "Object")); in convertTypeReference()
406 typeVariable.setUpperBounds(upperBounds); in convertTypeReference()
418 List<ITypeReference> upperBounds = new LinkedList<ITypeReference>(); in convertTypeReference() local
420 upperBounds.add(convertTypeReference(upperBound)); in convertTypeReference()
422 if (upperBounds.size() == 0) { in convertTypeReference()
424 upperBounds.add(pool.getClassReference("java.lang", "Object")); in convertTypeReference()
427 return pool.getWildcardType(lowerBound, upperBounds); in convertTypeReference()
[all …]
/cts/tools/signature-tools/src/signature/model/util/
DTypePool.java142 List<ITypeReference> upperBounds) { in getWildcardType() argument
143 assert upperBounds != null; in getWildcardType()
146 upperBounds); in getWildcardType()
DITypeFactory.java101 List<ITypeReference> upperBounds); in getWildcardType() argument
/cts/tools/signature-tools/test/signature/converter/
DConvertClassTest.java574 List<ITypeReference> upperBounds = typeVariable.getUpperBounds(); in convertTypeVariableMultipleUpperBound() local
575 assertEquals(2, upperBounds.size()); in convertTypeVariableMultipleUpperBound()
576 ITypeReference firstBound = upperBounds.get(0); in convertTypeVariableMultipleUpperBound()
577 ITypeReference secondBound = upperBounds.get(1); in convertTypeVariableMultipleUpperBound()