Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for invokable (0.05 sec)

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

        assertTrue(invokable.isAbstract());
        assertFalse(invokable.isFinal());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testOverridableMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("overridableMethod");
        assertTrue(invokable.isPackagePrivate());
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isFinal());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder();
        for (Method method : cls.getDeclaredMethods()) {
          Invokable<?, ?> invokable = Invokable.from(method);
          invokable.setAccessible(true);
          if (invokable.isPublic() && invokable.isStatic() && !invokable.isSynthetic()) {
            builder.add(invokable);
          }
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        if (isPrimitiveOrNullable(invokable.getParameters().get(paramIndex))) {
          return; // there's nothing to test
        }
        @Nullable Object[] params = buildParamList(invokable, paramIndex);
        try {
          @SuppressWarnings("unchecked") // We'll get a runtime exception if the type is wrong.
          Invokable<Object, ?> unsafe = (Invokable<Object, ?>) invokable;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          @Override
          boolean isNullable(Invokable<?, ?> invokable) {
            return containsNullable(invokable.getAnnotations());
          }
    
          @Override
          boolean isNullable(Parameter param) {
            return containsNullable(param.getAnnotations());
          }
        };
    
        abstract boolean isNullable(Invokable<?, ?> invokable);
    
        abstract boolean isNullable(Parameter param);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

        }
    
        @Override
        protected @Nullable Object handleInvocation(
            Object proxy, Method method, @Nullable Object[] args) {
          Invokable<?, ?> invokable = interfaceType.method(method);
          ImmutableList<Parameter> params = invokable.getParameters();
          for (int i = 0; i < args.length; i++) {
            Parameter param = params.get(i);
            if (!isNullable(param)) {
              checkNotNull(args[i]);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

          throws NoSuchMethodException {
        Method getMethod = List.class.getMethod("get", int.class);
        Invokable<T, String> invokable =
            new TypeToken<T>(getClass()) {}.method(getMethod).returning(String.class);
        assertEquals(TypeToken.of(String.class), invokable.getReturnType());
      }
    
      public <T extends List<String>> void testMethod_parameterTypes() throws NoSuchMethodException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 89K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

         */
        int identityHashCode(Object object) {
          return System.identityHashCode(object);
        }
      }
    
      // Constructor
    
      /**
       * Constructs a new instance of this class (only invokable by the subclass constructor, typically
       * implicit).
       */
      protected Ordering() {}
    
      // Instance-based factories (and any static equivalents)
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top