Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for clazz1 (0.25 sec)

  1. maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            public <T extends Service> T getService(Class<T> clazz) throws NoSuchElementException {
                if (clazz == ArtifactCoordinateFactory.class) {
                    return (T) new DefaultArtifactCoordinateFactory();
                } else if (clazz == VersionParser.class) {
                    return (T) new DefaultVersionParser(new DefaultModelVersionParser(new GenericVersionScheme()));
                } else if (clazz == VersionRangeResolver.class) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 12 07:49:10 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

        public <U> Injector bindInstance(Class<U> clazz, U instance) {
            Key<?> key = Key.of(clazz, ReflectionUtils.qualifierOf(clazz));
            Binding<U> binding = Binding.toInstance(instance);
            return doBind(key, binding);
        }
    
        @Override
        public Injector bindImplicit(Class<?> clazz) {
            Key<?> key = Key.of(clazz, ReflectionUtils.qualifierOf(clazz));
            if (clazz.isInterface()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

            }
        }
    
        def "remaps old-style string class literals"() {
            given:
            def clazz = IvySettings
            byte[] classData = clazz.getClassLoader().getResourceAsStream("${clazz.name.replace('.', '/')}.class").bytes
    
            when:
            def remapped = relocatedJarCreator.remapClass(clazz.name, classData)
            def cr = new ClassReader(remapped)
            def writer = new StringWriter()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    					withCDIDevices("vendor1.com/class1=device1", "vendor2.com/class2=device2"),
    				),
    			},
    			expected: &DeviceRunContainerOptions{
    				Annotations: []kubecontainer.Annotation{
    					{Name: "cdi.k8s.io/devicemanager_pod-container", Value: "vendor1.com/class1=device1,vendor2.com/class2=device2"},
    				},
    				CDIDevices: []kubecontainer.CDIDevice{
    					{Name: "vendor1.com/class1=device1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/isolated/IsolationScheme.java

                    }
                }
            }
            return type;
        }
    
        private static boolean isAssignableFromType(Class<?> clazz, Type type) {
            return (type instanceof Class && clazz.isAssignableFrom((Class<?>) type))
                || (type instanceof ParameterizedType && clazz.isAssignableFrom((Class<?>) ((ParameterizedType) type).getRawType()));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/testUtils.kt

            is CallableId -> toString()
            is KaCallableSignature<*> -> stringRepresentation(this)
            else -> buildString {
                val clazz = this@with::class
                val className = clazz.simpleName
                append(className)
                clazz.memberProperties.filter { it.name != "token" && it.visibility == KVisibility.PUBLIC }.ifNotEmpty {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go

    	}
    
    	// List them
    	verifyListPVs(t, cache, pvs1, "class1")
    	verifyListPVs(t, cache, pvs2, "class2")
    
    	// Update a PV
    	updatedPV := makePV("test-pv3", "class1").withVersion("2").PersistentVolume
    	pvs1[updatedPV.Name] = updatedPV
    	assumecache.UpdateTestObject(cache.AssumeCache, updatedPV)
    
    	// List them
    	verifyListPVs(t, cache, pvs1, "class1")
    	verifyListPVs(t, cache, pvs2, "class2")
    
    	// Delete a PV
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

                return isIncubatingConstructor((JApiConstructor) member)
            }
            return isAnnotatedWithIncubating(member)
        }
    
        private static boolean isIncubatingClass(JApiClass clazz) {
            return isAnnotatedWithIncubating(clazz)
        }
    
        private boolean isIncubatingOrOverrideMethod(JApiMethod method) {
            return isAnnotatedWithIncubating(method) || isAnnotatedWithIncubating(method.jApiClass) || isOverride(method)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

                }
            }
    
            try {
                // try to reconstruct the exception
                Class<?> clazz = classNameTransformer.transform(type);
                if (clazz != null && causes.size() <= 1) {
                    Constructor<?> constructor = clazz.getConstructor(String.class);
                    Throwable reconstructed = (Throwable) constructor.newInstance(message);
                    if (!causes.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. 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)
Back to top