Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setUpperBounds (0.12 sec)

  1. 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)
  2. 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)
Back to top