Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 76 for clazz2 (0.11 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy

        def "method for property getter is for nearest declaration"() {
            expect:
            def details = ClassInspector.inspect(clazz)
            def getters = details.getProperty('inputs').getGetters()
            getters[0].getDeclaringClass() == declaringClass
    
            where:
            clazz                                                        | declaringClass
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

            // class that wouldn't fail default rule set but does fail custom rule set
            file("src/main/java/org/gradle/Class2.java") <<
                "package org.gradle; public class Class2 { public void doit() { boolean x = true; if (x) x = false; } }" // missing braces
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          Class<E> clazz) {
        Map<E, LockGraphNode> existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.get(clazz);
        if (existing != null) {
          return existing;
        }
        Map<E, LockGraphNode> created = createNodes(clazz);
        existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.putIfAbsent(clazz, created);
        return MoreObjects.firstNonNull(existing, created);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          Class<E> clazz) {
        Map<E, LockGraphNode> existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.get(clazz);
        if (existing != null) {
          return existing;
        }
        Map<E, LockGraphNode> created = createNodes(clazz);
        existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.putIfAbsent(clazz, created);
        return MoreObjects.firstNonNull(existing, created);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  5. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginAuxclasspathIntegrationTest.groovy

            file("rule-using/src/test/java/org/gradle/ruleusing/Class2.java") << testClass()
    
            expect:
            fails ":rule-using:pmdTest"
    
            file("rule-using/build/reports/pmd/test.xml").
                assertContents(containsClass("org.gradle.ruleusing.Class2")).
                assertContents(containsText("auxclasspath configured"))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/FieldUtil.java

                throw new ClIllegalArgumentException("field", "ECL0094",
                        asArray(clazz.getName(), clazz.getClassLoader(), fieldClass.getName(), fieldClass.getClassLoader(), field.getName(),
                                valueClass == null ? null : valueClass.getName(), valueClass == null ? null : valueClass.getClassLoader(),
                                value, targetClass == null ? null : targetClass.getName(),
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

            }
    
            Thing() {
                this(null)
            }
        }
    
        def "default toString methods"() {
            expect:
            hasDefaultToString(clazz)
    
            where:
            clazz << [new Object(), new Root()]
        }
    
        def "should not have a default toString"() {
            expect:
            !hasDefaultToString(new ClassWithToString())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            for (Resolution resolution : mojoDescriptor.getMojoDescriptorV4().getResolutions()) {
                Field field = null;
                for (Class<?> clazz = mojo.getClass(); clazz != Object.class; clazz = clazz.getSuperclass()) {
                    try {
                        field = clazz.getDeclaredField(resolution.getField());
                        break;
                    } catch (NoSuchFieldException e) {
                        // continue
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

                        Class<?>[] classes = ((ToolingModelContract) annotation).subTypes();
                        for (Class<?> clazz : classes) {
                            result.put(clazz.getName(), clazz);
                            getPotentialModelContractSubInterfaces(clazz, visited, result);
                        }
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

            }
        }
    
        private ModelSchema<?> extract(ModelType<?> modelType) {
            store.getSchema(modelType)
        }
    
        private ModelSchema<?> extract(Class<?> clazz) {
            extract(ModelType.of(clazz))
        }
    
        def "can extract a simple managed type with a property of #type"() {
            when:
            Class<?> generatedClass = managedClass(type)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
Back to top