Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for visitType (0.25 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

            return this;
        }
    
        @Override
        public void visitTypes(Action<TypeMetaData> action) {
            if (wildcard) {
                return;
            }
            if (upperBounds != null) {
                upperBounds.visitTypes(action);
                return;
            }
            if (lowerBounds != null) {
                lowerBounds.visitTypes(action);
                return;
            }
    
            action.execute(this);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

            then:
            1 * visitor.visitType('org.gradle.SomeType')
            0 * visitor._
        }
    
        def visitsSignatureForArrayType() {
            TypeMetaData.SignatureVisitor visitor = Mock()
            type.arrayDimensions = 2
    
            when:
            type.visitSignature(visitor)
    
            then:
            1 * visitor.visitType('org.gradle.SomeType')
            1 * visitor.visitText('[][]')
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

                @Override
                public void visitText(String text) {
                    linkElement.appendChild(document.createTextNode(text));
                }
    
                @Override
                public void visitType(String name) {
                    linkElement.appendChild(addType(name, listener));
                }
            });
    
            linkElement.normalize();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

            }
        }
    
        @Override
        public void visitTypes(Action<TypeMetaData> action) {
            for (PropertyMetaData propertyMetaData : declaredProperties.values()) {
                propertyMetaData.visitTypes(action);
            }
            for (MethodMetaData methodMetaData : declaredMethods) {
                methodMetaData.visitTypes(action);
            }
        }
    
        public static enum MetaType {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java

            }
            builder.append(')');
            return builder.toString();
        }
    
        @Override
        public void visitTypes(Action<TypeMetaData> action) {
            action.execute(returnType);
            for (ParameterMetaData parameter : parameters) {
                parameter.visitTypes(action);
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

                    String transform(String i) {
                        return resolver.resolve(i, classMetaData)
                    }
                })
                classMetaData.visitTypes(new Action<gradlebuild.docs.dsl.source.model.TypeMetaData>() {
                    void execute(gradlebuild.docs.dsl.source.model.TypeMetaData t) {
                        resolver.resolve(t, classMetaData)
                    }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeContainer.java

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model;
    
    import org.gradle.api.Action;
    
    public interface TypeContainer {
        void visitTypes(Action<TypeMetaData> action);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 776 bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaData.java

            }
            if (overriddenMethod != null) {
                return overriddenMethod.getOwnerClass().findDeclaredProperty(name);
            }
    
            return null;
        }
    
        @Override
        public void visitTypes(Action<TypeMetaData> action) {
            action.execute(type);
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ParameterMetaData.java

            builder.append(type.getSignature());
            builder.append(" ");
            builder.append(name);
            return builder.toString();
        }
    
        @Override
        public void visitTypes(Action<TypeMetaData> action) {
            action.execute(type);
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

            }
        }
    
        /**
         * Resolves the names in the given type into fully qualified names.
         */
        public void resolve(final TypeMetaData type, final ClassMetaData classMetaData) {
            type.visitTypes(new Action<TypeMetaData>() {
                @Override
                public void execute(TypeMetaData t) {
                    t.setName(resolve(t.getName(), classMetaData));
                }
            });
        }
    
        /**
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
Back to top