Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 167 for newInstance (0.38 seconds)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

        @Override
        void render(File htmlReportFile, RichReportData data) {
            super.render(htmlReportFile, enrichReport(data))
        }
    
        /**
         * This is super-hacky: this report is instantiated via {@code newInstance()}, within a different
         * classloader by {@link JApiCmpWorkerAction}, so there is no way to use a
         * normal property on the renderer instance and just set the location of the API file in it.
         *
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 7K bytes
    - Click Count (0)
  2. .teamcity/.mvn/wrapper/maven-wrapper.jar

    AbstractCommandLineC(); public Object convert(Iterable) throws CommandLineArgumentE; public Object convert(ParsedCommandLine) throws CommandLineArgumentE; public Object convert(Iterable, Object) throws CommandLineArgumentE; protected abstract Object newInstance(); } org/apache/maven/wrapper/cli/AbstractPropertiesCo.class package org.apache.maven.wrapper.cli; public abstract synchronized class AbstractPropertiesCo extends AbstractCommandLineC { public void AbstractPropertiesCo(); protected abstract String...
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 49.5K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

                return;
            }
    
            extension.getSourceRoots().getFiles()
                .forEach(
                    file -> {
                        DokkaSourceLinkSpec sourceLinkSpec = project.getObjects().newInstance(DokkaSourceLinkSpec.class);
                        sourceLinkSpec.getLocalDirectory().set(file);
                        URI uri = toUri(project.getRootDir(), file, commitId);
                        sourceLinkSpec.getRemoteUrl().set(uri);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 28 11:34:42 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            LocalRepository localRepo =
                    new LocalRepository(request.getLocalRepository().getBasedir());
            session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo));
            LegacySupport legacySupport = container.lookup(LegacySupport.class);
            DefaultMavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        // exercise some classes from the parallel ClassLoader.
        AtomicReference<Object> sepFrqA =
            new AtomicReference<Object>(sepFrqC.getDeclaredConstructor().newInstance());
        Class<?> sepFwrC = sepLoader.loadClass(MyFinalizableWeakReference.class.getName());
        Constructor<?> sepFwrCons = sepFwrC.getConstructor(Object.class, sepFrqC);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        Thread.currentThread().setContextClassLoader(classLoader);
        try {
          Class<?> test = classLoader.loadClass(FuturesTest.class.getName());
          Object testInstance = test.getDeclaredConstructor().newInstance();
          test.getMethod("setUp").invoke(testInstance);
          test.getMethod(getName()).invoke(testInstance);
          test.getMethod("tearDown").invoke(testInstance);
        } finally {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            // convert to a collection first then convert that into an array
            final Collection<?> collection = parseCollection(parser, toType);
            final Object array = Array.newInstance(toType.getRawType(), collection.size());
    
            int i = 0;
            for (final Object element : collection) {
                Array.set(array, i++, element);
            }
    
            return array;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

                IndexNumericFieldData ifd = (IndexNumericFieldData) lookup.getForField(type);
                return new ScoreScript.LeafFactory() {
                    @Override
                    public ScoreScript newInstance(DocReader docReader) throws IOException {
                        SortedNumericDocValues values = ifd.load(((DocValuesDocReader) docReader).getLeafReaderContext()).getLongValues();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        Thread.currentThread().setContextClassLoader(classLoader);
        try {
          Class<?> test = classLoader.loadClass(AbstractFutureTest.class.getName());
          test.getMethod(getName()).invoke(test.getDeclaredConstructor().newInstance());
        } finally {
          Thread.currentThread().setContextClassLoader(oldClassLoader);
        }
      }
    
      private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        UrlComponentEncodingTester
          .newInstance()
          .override(Encoding.IDENTITY, '?'.code, '`'.code)
          .override(Encoding.PERCENT, '\''.code)
          .override(Encoding.SKIP, '#'.code, '+'.code)
          .test(UrlComponentEncodingTester.Component.QUERY_VALUE)
      }
    
      @Test
      fun fragmentCharacters() {
        UrlComponentEncodingTester
          .newInstance()
          .override(
            Encoding.IDENTITY,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Aug 04 07:38:48 GMT 2025
    - 69.9K bytes
    - Click Count (0)
Back to Top