Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for PropertyMetaData (0.14 sec)

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

     */
    public class PropertyMetaData extends AbstractLanguageElement implements Serializable, TypeContainer {
        private TypeMetaData type;
        private final String name;
        private final ClassMetaData ownerClass;
        private MethodMetaData setter;
        private MethodMetaData getter;
    
        public PropertyMetaData(String name, ClassMetaData ownerClass) {
            this.name = name;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy

        PropertyDoc(PropertyMetaData propertyMetaData, List<Element> comment, List<ExtraAttributeDoc> additionalValues) {
            this(propertyMetaData.ownerClass, propertyMetaData, comment, additionalValues)
        }
    
        PropertyDoc(ClassMetaData referringClass, PropertyMetaData propertyMetaData, List<Element> comment, List<ExtraAttributeDoc> additionalValues) {
            name = propertyMetaData.name
            this.referringClass = referringClass
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaDataTest.groovy

    class PropertyMetaDataTest extends Specification {
        final ClassMetaData classMetaData = Mock()
        final PropertyMetaData propertyMetaData = new PropertyMetaData('prop', classMetaData)
    
        def formatsSignature() {
            def type = new TypeMetaData('org.gradle.SomeClass')
            propertyMetaData.type = type
    
            expect:
            propertyMetaData.signature == 'org.gradle.SomeClass prop'
        }
    
        def usesGetterToLocateOverriddenProperty() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java

                PropertyMetaData propertyMetaData = new PropertyMetaData(id, extensionDoc.getTargetClass().getClassMetaData());
                propertyMetaData.setType(new TypeMetaData(type.getName()));
    
                Element para = doc.createElement("para");
                para.appendChild(doc.createTextNode("The "));
                para.appendChild(linkRenderer.link(propertyMetaData.getType(), listener));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

        def buildsPropertiesForClass() {
            ClassMetaData classMetaData = classMetaData()
            PropertyMetaData propertyA = property('a', classMetaData, comment: 'prop a')
            PropertyMetaData propertyB = property('b', classMetaData, comment: 'prop b')
            ClassDoc superDoc = classDoc('org.gradle.SuperClass')
            PropertyDoc propertyDocA = propertyDoc('a')
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

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

    import gradlebuild.docs.dsl.docbook.model.ClassDoc;
    import gradlebuild.docs.dsl.docbook.model.ExtraAttributeDoc;
    import gradlebuild.docs.dsl.docbook.model.PropertyDoc;
    import gradlebuild.docs.dsl.source.model.PropertyMetaData;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.Text;
    import org.gradle.api.logging.Logger;
    import org.gradle.api.logging.Logging;
    
    import java.util.*;
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.dsl.source.model.MethodMetaData
    import gradlebuild.docs.dsl.source.model.ParameterMetaData
    import gradlebuild.docs.dsl.source.model.PropertyMetaData
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    import gradlebuild.docs.dsl.docbook.model.ClassExtensionMetaData
    import gradlebuild.docs.dsl.docbook.model.PropertyDoc
    import gradlebuild.docs.dsl.docbook.model.MethodDoc
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.5K bytes
    - Viewed (0)
Back to top