Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for getDeclaringClass (0.18 sec)

  1. guava-tests/test/com/google/common/reflect/InvokableTest.java

          Invokable<A, A> invokable = Invokable.from(constructor);
          assertEquals(constructor.getName(), invokable.getName());
          assertEquals(A.class, invokable.getDeclaringClass());
          return invokable;
        }
    
        static Invokable<?, Object> method(String name, Class<?>... parameterTypes) throws Exception {
          Invokable<?, Object> invokable =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/MethodUtil.java

                if (t instanceof Error) {
                    throw (Error) t;
                }
                throw new InvocationTargetRuntimeException(method.getDeclaringClass(), ex);
            } catch (final IllegalAccessException ex) {
                throw new IllegalAccessRuntimeException(method.getDeclaringClass(), ex);
            }
        }
    
        /**
         * {@link Method}オブジェクトによって表される基本となる{@code static}メソッドを、指定したパラメータで呼び出します。
         *
         * @param <T>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          Object featureAsObject = feature; // to work around bogus JDK warning
          if (featureAsObject instanceof Enum) {
            Enum<?> f = (Enum<?>) featureAsObject;
            temp.add(f.getDeclaringClass().getSimpleName() + "." + feature);
          } else {
            temp.add(feature.toString());
          }
        }
        return temp.toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          throws ConflictingRequirementsException {
        TesterRequirements clonedClassRequirements =
            new TesterRequirements(getTesterRequirements(testerMethod.getDeclaringClass()));
        TesterRequirements declaredRequirements = buildDeclaredTesterRequirements(testerMethod);
        return incorporateRequirements(clonedClassRequirements, declaredRequirements, testerMethod);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          Object featureAsObject = feature; // to work around bogus JDK warning
          if (featureAsObject instanceof Enum) {
            Enum<?> f = (Enum<?>) featureAsObject;
            temp.add(f.getDeclaringClass().getSimpleName() + "." + feature);
          } else {
            temp.add(feature.toString());
          }
        }
        return temp.toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         *         method is itself declared by a public class, this method is an identity
         *         function.
         */
        private static Method getPublicMethod(Method method) {
            Class<?> clazz = method.getDeclaringClass();
    
            // Short circuit for (hopefully the majority of) cases where the declaring
            // class is public.
            if ((clazz.getModifiers() & Modifier.PUBLIC) != 0) {
                return method;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/Types.java

        static {
          ImmutableMap.Builder<String, Method> builder = ImmutableMap.builder();
          for (Method method : TypeVariableImpl.class.getMethods()) {
            if (method.getDeclaringClass().equals(TypeVariableImpl.class)) {
              try {
                method.setAccessible(true);
              } catch (AccessControlException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (Method method : RateLimiter.class.getMethods()) {
          if (!isStatic(method.getModifiers())
              && !NOT_WORKING_ON_MOCKS.contains(method.getName())
              && !method.getDeclaringClass().equals(Object.class)) {
            method.invoke(mock, arbitraryParameters(method));
          }
        }
      }
    
      private static Object[] arbitraryParameters(Method method) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (Method method : RateLimiter.class.getMethods()) {
          if (!isStatic(method.getModifiers())
              && !NOT_WORKING_ON_MOCKS.contains(method.getName())
              && !method.getDeclaringClass().equals(Object.class)) {
            method.invoke(mock, arbitraryParameters(method));
          }
        }
      }
    
      private static Object[] arbitraryParameters(Method method) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        private boolean isExceptPrivateAccessible(Field field) {
            // to avoid warning of JDK-internal access at Java11
            // Lasta Di does not need private access to the classes
            final String fqcn = field.getDeclaringClass().getName();
            return fqcn.startsWith("java.") || fqcn.startsWith("jdk.") || fqcn.startsWith("com.sun.") || fqcn.startsWith("sun.");
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top