Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 292 for GetMethod (0.23 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

       * the other. Thus, we say the bug is in set(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSetNullSupportedMethod() {
        return Helpers.getMethod(ListSetTester.class, "testSet_null");
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InvalidManagedModelRuleIntegrationTest.groovy

                    @Model
                    void createPerson(Person person) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
                        Method setter = person.getClass().getMethod("setName", String.class);
                        setter.invoke(person, 123);
                    }
    
                    @Mutate
                    void addDependencyOnPerson(ModelMap<Task> tasks, Person person) {
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/JavaMethod.java

                throw new GradleException(String.format("Could not call %s.%s() on %s", method.getDeclaringClass().getSimpleName(), method.getName(), target), e);
            }
        }
    
        public Method getMethod() {
            return method;
        }
    
        public Class<?>[] getParameterTypes() {
            return method.getParameterTypes();
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 20 11:07:38 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

        // Maybe we should just run this test in its own VM.
        ForkJoinPool.commonPool()
            .execute(
                () -> {
                  try {
                    settableFutureClass.getMethod("create").invoke(null);
                    latch.countDown();
                  } catch (Exception e) {
                    throw new RuntimeException(e);
                  }
                });
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                        throws java.io.IOException, ServletException {
    
                    if (!isMultipartRequest(request) || !request.getMethod().equals(HttpMethods.POST)) {
                        response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
                        response.getWriter().println(HttpServletResponse.SC_BAD_REQUEST);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getCreateWithNullKeyUnsupportedMethod() {
        return Helpers.getMethod(MapCreationTester.class, "testCreateWithNullKeyUnsupported");
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java

            ConstantExpression modelPathArgument = new ConstantExpression(modelPath);
            ArgumentListExpression replacedArgumentList = new ArgumentListExpression(modelPathArgument, typeExpression, closureExpression);
            call.setMethod(new ConstantExpression("create"));
            call.setArguments(replacedArgumentList);
    
            // Call directly on the delegate to avoid some dynamic dispatch
            call.setImplicitThis(true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

                        final UrlQueue<?> uq = crawlerContainer.getComponent("urlQueue");
                        uq.setCreateTime(SystemUtil.currentTimeMillis());
                        uq.setDepth(depth);
                        uq.setMethod(d.getMethod().name());
                        uq.setEncoding(encoding);
                        uq.setParentUrl(url);
                        uq.setSessionId(crawlerContext.getSessionId());
                        uq.setUrl(d.getUrl());
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test(expected = EmptyArgumentException.class)
        public void testGetMethod_EmptyName() throws Exception {
            ClassUtil.getMethod(getClass(), "");
        }
    
        /**
         *
         */
        @Test
        public void testGetPrimitiveClass() {
            assertThat(ClassUtil.getPrimitiveClass(Integer.class), is(sameClass(int.class)));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return Helpers.getMethod(ListAddAtIndexTester.class, "testAddAtIndex_nullSupported");
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top