Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for isDeprecated (0.2 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))
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedCoreExpressionValidator.java

            mojoDescriptor.getParameters().stream()
                    .filter(this::isDeprecated)
                    .map(this::formatParameter)
                    .forEach(m -> pluginValidationManager.reportPluginMojoValidationIssue(
                            PluginValidationManager.IssueLocality.EXTERNAL, mavenSession, mojoDescriptor, mojoClass, m));
        }
    
        private boolean isDeprecated(Parameter parameter) {
            return Objects.equals(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri May 26 16:22:12 GMT 2023
    - 3.5K 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();
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 855 bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

                        since = sinceSupplier(function.binarySignature),
                        isIncubating = function.isIncubating,
                        isDeprecated = function.isDeprecated,
                        typeParameters = extensionTypeParameters,
                        targetType = type,
                        name = function.name,
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

    ) {
        val name: String =
            delegate.name
    
        internal
        val isPublic: Boolean =
            delegate.access.isPublic
    
        internal
        val isDeprecated: Boolean
            get() = owner.isDeprecated || delegate.visibleAnnotations.has<java.lang.Deprecated>()
    
        internal
        val isIncubating: Boolean
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. 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();
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 949 bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ElementWarningsRenderer.java

    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class ElementWarningsRenderer {
        public void renderTo(DslElementDoc elementDoc, String type, Element parent) {
            if (elementDoc.isDeprecated()) {
                Document document = parent.getOwnerDocument();
                Element caution = document.createElement("caution");
                parent.appendChild(caution);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  8. 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() {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

            methodsSection = methodsTable.parentNode
        }
    
        String getId() { return id }
    
        String getName() { return className }
    
        String getSimpleName() { return simpleName }
    
        boolean isDeprecated() {
            return classMetaData.deprecated
        }
    
        boolean isIncubating() {
            return classMetaData.incubating
        }
    
        boolean isReplaced() {
            return classMetaData.replaced
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  10. 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");
        }
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.9K bytes
    - Viewed (0)
Back to top