Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for TypeMetaData (0.12 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            MethodMetaData blockMethod = method('block', classMetaData, paramTypes: [Closure.class.name])
            PropertyMetaData compositeBlockProperty = property('listBlock', classMetaData, type: new TypeMetaData('java.util.List').addTypeArg(new TypeMetaData('BlockType')))
            MethodMetaData compositeBlockMethod = method('listBlock', classMetaData, paramTypes: [Closure.class.name])
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            PropertyMetaData property = Mock()
            _ * property.name >> name
            _ * property.ownerClass >> classMetaData
            def type = args.type instanceof TypeMetaData ? args.type : new TypeMetaData(args.type ?: 'org.gradle.Type')
            _ * property.type >> type
            _ * property.signature >> "$name-signature"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/BlockDoc.groovy

    import org.w3c.dom.Element
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    
    class BlockDoc implements DslElementDoc {
        private final MethodDoc blockMethod
        private final PropertyDoc blockProperty
        private final TypeMetaData type
        private boolean multiValued
    
        BlockDoc(MethodDoc blockMethod, PropertyDoc blockProperty, TypeMetaData type, boolean multiValued) {
            this.blockMethod = blockMethod
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaData.java

            return name;
        }
    
        @Override
        public String toString() {
            return String.format("%s.%s", ownerClass, name);
        }
    
        public TypeMetaData getType() {
            return type;
        }
    
        public void setType(TypeMetaData type) {
            this.type = type;
        }
    
        public boolean isWriteable() {
            return setter != null;
        }
    
        public boolean isReadable() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

            this(document, model, GroovySystem.getVersion(), "8");
        }
    
        Node link(TypeMetaData type, final GenerationListener listener) {
            final Element linkElement = document.createElement("classname");
    
            type.visitSignature(new TypeMetaData.SignatureVisitor() {
                @Override
                public void visitText(String text) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java

    import groovy.lang.Closure;
    import gradlebuild.docs.dsl.docbook.model.*;
    import gradlebuild.docs.dsl.source.model.MethodMetaData;
    import gradlebuild.docs.dsl.source.model.PropertyMetaData;
    import gradlebuild.docs.dsl.source.model.TypeMetaData;
    import org.gradle.internal.UncheckedException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  8. 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)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

                        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)
                    }
                })
            } catch (Exception e) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            PropertyMetaData property = Mock()
            _ * property.name >> name
            _ * property.ownerClass >> classMetaData
            def type = args.type instanceof TypeMetaData ? args.type : new TypeMetaData(args.type ?: 'org.gradle.Type')
            _ * property.type >> type
            _ * property.signature >> "$name-signature"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.6K bytes
    - Viewed (0)
Back to top