Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for getParameterTypes (0.15 sec)

  1. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
              && method.getParameterTypes()[0] == Object.class) {
            continue;
          }
          if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) {
            continue;
          }
          if (method.getName().equals("toString") && method.getParameterTypes().length == 0) {
            continue;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
              && method.getParameterTypes()[0] == Object.class) {
            continue;
          }
          if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) {
            continue;
          }
          if (method.getName().equals("toString") && method.getParameterTypes().length == 0) {
            continue;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            assertThat(foo.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(foo.getMethod(), is(MyBean.class.getMethod("foo")));
            assertThat(foo.getMethodName(), is("foo"));
            assertThat(foo.getParameterTypes().length, is(0));
            assertThat(foo.isPublic(), is(true));
            assertThat(foo.isStatic(), is(not(true)));
            assertThat(foo.isFinal(), is(not(true)));
            assertThat(foo.isAbstract(), is(not(true)));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

            assertThat(ctor.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(ctor.getConstructor(), is((Constructor) MyBean.class.getConstructor()));
            assertThat(ctor.getParameterTypes().length, is(0));
            assertThat(ctor.isPublic(), is(true));
            final MyBean myBean = ctor.newInstance();
            assertThat(myBean, is(notNullValue()));
            assertThat(myBean.s, is(nullValue()));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

            assertArgumentNotNull("constructor", constructor);
    
            this.beanDesc = beanDesc;
            this.constructor = constructor;
            parameterTypes = constructor.getParameterTypes();
            parameterizedClassDescs = new ParameterizedClassDesc[parameterTypes.length];
            final Map<TypeVariable<?>, Type> typeVariables = beanDesc.getTypeVariables();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

            assertArgumentNotNull("method", method);
    
            this.beanDesc = beanDesc;
            this.method = method;
            methodName = method.getName();
            parameterTypes = method.getParameterTypes();
            returnType = method.getReturnType();
            parameterizedClassDescs = new ParameterizedClassDesc[parameterTypes.length];
            for (int i = 0; i < parameterTypes.length; ++i) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                        String baseName = m.getName().substring(5 /* merge */);
                        String entity = baseName.substring(baseName.indexOf('_') + 1);
                        try {
                            Type returnType = m.getParameterTypes()[0]
                                    .getMethod("get" + entity)
                                    .getGenericReturnType();
                            if (returnType instanceof ParameterizedType) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

                  .transformAndConcat(c -> asList(c.getDeclaredMethods()))
                  .firstMatch(
                      m ->
                          m.getName().equals("writeReplace")
                              && m.getParameterTypes().length == 0
                              // Only package-private methods are a problem.
                              && (m.getModifiers() & (PUBLIC | PROTECTED | PRIVATE)) == 0)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        }
        if (args.length == 0 && method.getName().equals("hashCode")) {
          return hashCode();
        }
        if (args.length == 1
            && method.getName().equals("equals")
            && method.getParameterTypes()[0] == Object.class) {
          Object arg = args[0];
          if (arg == null) {
            return false;
          }
          if (proxy == arg) {
            return true;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
          }
        }
        return ImmutableList.copyOf(result);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top