Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,109 for Element (0.23 sec)

  1. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/Element.java

    /**
     * Described model element.
     *
     * @since 1.0-milestone-5
     */
    public interface Element extends Model {
    
        /**
         * Returns the name of the element. Note that the name is not a unique identifier.
         *
         * @return The name of the element.
         * @since 1.0-milestone-5
         */
        String getName();
    
        /**
         * Returns the description of the element, or {@code null} if it has no description.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/Element.java

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app;
    
    import org.gradle.integtests.fixtures.SourceFile;
    
    public class Element {
        protected SourceFile sourceFile(String path, String name, String content) {
            return new SourceFile(path, name, content);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 880 bytes
    - Viewed (0)
  3. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/configurer/HierarchicalElementDeduplicatorTest.groovy

        }
    
        def "handles calculated name matches existing element name"() {
            given:
            element("root") {
                element("root-foo-bar") {}
                element("foo-bar") {}
                element("foo") {
                    element("bar") {}
                }
                element("baz") {
                    element("bar") {}
                }
            }
    
            when:
            deduplicateNames()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

        public void push(Element element) {
            stack.getFirst().appendChild(element);
            stack.addFirst(element);
        }
    
        public Element pop() {
            Element element = stack.removeFirst();
            if (emptyPara(element)) {
                element.getParentNode().removeChild(element);
            }
            return element;
        }
    
        private boolean emptyPara(Element element) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

    package gradlebuild.docs
    
    import groovy.xml.dom.DOMCategory
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class BuildableDOMCategory extends DOMCategory {
        public static void setText(Element element, String value) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            element.appendChild(element.ownerDocument.createTextNode(value))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multiset.java

       * #add(Object, int) add}{@code (element, 1)} instead.
       *
       * @param element the element to add one occurrence of; may be null only if explicitly allowed by
       *     the implementation
       * @return {@code true} always, since this call is required to modify the multiset, unlike other
       *     {@link Collection} types
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Multiset.java

       * #add(Object, int) add}{@code (element, 1)} instead.
       *
       * @param element the element to add one occurrence of; may be null only if explicitly allowed by
       *     the implementation
       * @return {@code true} always, since this call is required to modify the multiset, unlike other
       *     {@link Collection} types
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSource.java

        public void realizePending() {
            for (Element<T> element : inserted) {
                if (!element.isRealized()) {
                    modCount++;
                    element.realize();
                }
            }
        }
    
        @Override
        public void realizePending(Class<?> type) {
            for (Element<T> element : inserted) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 20:04:06 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/AnnotationUtils.java

     */
    
    package org.gradle.internal.instrumentation.processor.modelreader.impl;
    
    import javax.lang.model.element.AnnotationMirror;
    import javax.lang.model.element.AnnotationValue;
    import javax.lang.model.element.Element;
    import javax.lang.model.element.TypeElement;
    import javax.lang.model.util.Elements;
    import java.lang.annotation.Annotation;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Optional;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 08:22:43 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. platforms/jvm/java-compiler-plugin/src/main/java/org/gradle/internal/compiler/java/listeners/constants/ConstantsTreeVisitor.java

    import com.sun.source.util.TreePathScanner;
    import com.sun.source.util.Trees;
    
    import javax.lang.model.element.Element;
    import javax.lang.model.element.Modifier;
    import javax.lang.model.element.PackageElement;
    import javax.lang.model.element.TypeElement;
    import javax.lang.model.element.VariableElement;
    import javax.lang.model.util.Elements;
    import java.util.Set;
    
    import static com.sun.source.tree.Tree.Kind.METHOD_INVOCATION;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top