Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setLowerBounds (0.1 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

            type.setUpperBounds(new TypeMetaData('OtherType'))
    
            expect:
            type.rawType.signature == 'OtherType'
        }
    
        def rawTypeForWildcardWithLowerBound() {
            type.setLowerBounds(new TypeMetaData('OtherType'))
    
            expect:
            type.rawType.signature == 'java.lang.Object'
        }
    
        def formatsSignature() {
            expect:
            type.signature == 'org.gradle.SomeType'
    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

            return this;
        }
    
        public TypeMetaData setUpperBounds(TypeMetaData upperBounds) {
            this.upperBounds = upperBounds;
            return this;
        }
    
        public TypeMetaData setLowerBounds(TypeMetaData lowerBounds) {
            this.lowerBounds = lowerBounds;
            return this;
        }
    
        public interface SignatureVisitor {
            void visitText(String text);
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

                    wildcardType.getExtendedType().ifPresent(referenceType -> typeMetaData.setUpperBounds(extractTypeName(referenceType)));
                    wildcardType.getSuperType().ifPresent(referenceType -> typeMetaData.setLowerBounds(extractTypeName(referenceType)));
                }
            });
            elementType.ifClassOrInterfaceType(classOrInterfaceType -> {
                typeMetaData.setName(extractName(classOrInterfaceType));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top