Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for isDeprecated (0.28 sec)

  1. src/cmd/api/main_test.go

    		f := typ.Field(i)
    		if !f.Exported() {
    			continue
    		}
    		typ := f.Type()
    		if f.Anonymous() {
    			if w.isDeprecated(f) {
    				w.emitf("embedded %s //deprecated", w.typeString(typ))
    			}
    			w.emitf("embedded %s", w.typeString(typ))
    			continue
    		}
    		if w.isDeprecated(f) {
    			w.emitf("%s //deprecated", f.Name())
    		}
    		w.emitf("%s %s", f.Name(), w.typeString(typ))
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java

            return annotationNames;
        }
    
        public void addAnnotationTypeName(String annotationType) {
            annotationNames.add(annotationType);
        }
    
        @Override
        public boolean isDeprecated() {
            return annotationNames.contains(Deprecated.class.getName());
        }
    
        @Override
        public boolean isIncubating() {
            return annotationNames.contains("org.gradle.api.Incubating");
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/LanguageElement.java

     */
    package gradlebuild.docs.dsl.source.model;
    
    import java.util.List;
    
    public interface LanguageElement {
        String getRawCommentText();
    
        List<String> getAnnotationTypeNames();
    
        boolean isDeprecated();
    
        boolean isIncubating();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 855 bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodTableRenderer.java

                signature.append(")");
                literal.appendChild(document.createTextNode(signature.toString()));
    
                td = document.createElement("td");
                tr.appendChild(td);
                if (methodDoc.isDeprecated()) {
                    Element caution = document.createElement("caution");
                    td.appendChild(caution);
                    caution.appendChild(document.createTextNode("Deprecated"));
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/DslElementDoc.java

    import org.w3c.dom.Element;
    
    import java.util.List;
    
    public interface DslElementDoc {
        String getId();
    
        Element getDescription();
    
        List<Element> getComment();
    
        boolean isDeprecated();
    
        boolean isIncubating();
    
        boolean isReplaced();
    
        String getReplacement();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 949 bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/MethodDoc.groovy

        String getId() {
            return id
        }
    
        String getName() {
            return metaData.name
        }
    
        MethodMetaData getMetaData() {
            return metaData
        }
    
        boolean isDeprecated() {
            return metaData.deprecated && !referringClass.deprecated
        }
    
        boolean isIncubating() {
            return metaData.incubating || metaData.ownerClass.incubating
        }
    
        boolean isReplaced() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockTableRenderer.java

                link.appendChild(literal);
                literal.appendChild(document.createTextNode(blockDoc.getName()));
    
                td = document.createElement("td");
                tr.appendChild(td);
                if (blockDoc.isDeprecated()) {
                    Element caution = document.createElement("caution");
                    td.appendChild(caution);
                    caution.appendChild(document.createTextNode("Deprecated"));
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyTableRenderer.java

                link.appendChild(literal);
                literal.appendChild(document.createTextNode(propDoc.getName()));
    
                td = document.createElement("td");
                tr.appendChild(td);
                if (propDoc.isDeprecated()) {
                    Element caution = document.createElement("caution");
                    td.appendChild(caution);
                    caution.appendChild(document.createTextNode("Deprecated"));
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy

        }
    
        String getId() {
            return id
        }
    
        String getName() {
            return name
        }
    
        PropertyMetaData getMetaData() {
            return metaData
        }
    
        boolean isDeprecated() {
            return metaData.deprecated && !referringClass.deprecated
        }
    
        boolean isIncubating() {
            return metaData.incubating || metaData.ownerClass.incubating
        }
    
        boolean isReplaced() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/BlockDoc.groovy

            return type
        }
    
        Element getDescription() {
            return blockMethod.description;
        }
    
        List<Element> getComment() {
            return blockMethod.comment
        }
    
        boolean isDeprecated() {
            return blockProperty.deprecated || blockMethod.deprecated
        }
    
        boolean isIncubating() {
            return blockProperty.incubating || blockMethod.incubating
        }
    
        boolean isReplaced() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
Back to top