- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for PropertyMetaData (0.24 sec)
-
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) -
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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java
* @param name The property name. * @return The property, or null if no such property exists. */ public PropertyMetaData findProperty(String name) { PropertyMetaData propertyMetaData = declaredProperties.get(name); if (propertyMetaData != null) { return propertyMetaData; } ClassMetaData superClass = getSuperClass(); if (superClass != null) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 10.1K bytes - Viewed (0) -
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) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy
PropertyMetaData propertyMetaData = Mock() _ * propertyMetaData.rawCommentText >> 'sets the name of the thing.' when: def result = parser.parse(propertyMetaData, listener) then: format(result.docbook) == '''<para>The name of the thing.</para>''' } def convertsInheritDocTag() { PropertyMetaData propertyMetaData = Mock()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 14.2K bytes - Viewed (0) -
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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
private class InheritedPropertyCommentSource implements CommentSource { private final PropertyMetaData propertyMetaData; private final GenerationListener listener; public InheritedPropertyCommentSource(PropertyMetaData propertyMetaData, GenerationListener listener) { this.propertyMetaData = propertyMetaData; this.listener = listener; } @Override
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 29.3K bytes - Viewed (0) -
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) -
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) -
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)