Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isProviderApi (0.23 sec)

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

            this.type = type;
        }
    
        public boolean isWriteable() {
            return setter != null;
        }
    
        public boolean isReadable() {
            return getter != null;
        }
    
        public boolean isProviderApi() {
            // TODO: Crude approximation
            return setter == null && (getType().getName().contains("Provider") || getType().getName().contains("Property"));
        }
    
        public ClassMetaData getOwnerClass() {
    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/PropertyDetailRenderer.java

            Element literal = document.createElement("literal");
            title.appendChild(literal);
            literal.appendChild(document.createTextNode(propertyDoc.getName()));
    
            if (!propertyDoc.getMetaData().isProviderApi()) {
                if (!propertyDoc.getMetaData().isWriteable()) {
                    title.appendChild(document.createTextNode(" (read-only)"));
                } else if (!propertyDoc.getMetaData().isReadable()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.5K bytes
    - Viewed (0)
Back to top