- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setUpperBounds (0.24 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy
def rawTypeForWildcardType() { type.setWildcard() expect: type.rawType.signature == 'java.lang.Object' } def rawTypeForWildcardWithUpperBound() { type.setUpperBounds(new TypeMetaData('OtherType')) expect: type.rawType.signature == 'OtherType' } def rawTypeForWildcardWithLowerBound() { type.setLowerBounds(new TypeMetaData('OtherType'))
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java
visitor.visitText(suffix); } } } public TypeMetaData setWildcard() { wildcard = true; return this; } public TypeMetaData setUpperBounds(TypeMetaData upperBounds) { this.upperBounds = upperBounds; return this; } public TypeMetaData setLowerBounds(TypeMetaData lowerBounds) { this.lowerBounds = lowerBounds;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
typeMetaData.setWildcard(); } else { wildcardType.getExtendedType().ifPresent(referenceType -> typeMetaData.setUpperBounds(extractTypeName(referenceType))); wildcardType.getSuperType().ifPresent(referenceType -> typeMetaData.setLowerBounds(extractTypeName(referenceType))); } });
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0)