Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for invokable (0.1 sec)

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

        Invokable<?, Object> invokable = A.method("publicFinalMethod");
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isPrivate());
        assertTrue(invokable.isFinal());
        assertTrue(invokable.isPublic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testNativeMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("nativeMethod");
    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. guava-tests/test/com/google/common/reflect/InvokableTest.java

        Invokable<?, Object> invokable = A.method("publicFinalMethod");
        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isPrivate());
        assertTrue(invokable.isFinal());
        assertTrue(invokable.isPublic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testNativeMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("nativeMethod");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import com.google.common.primitives.UnsignedInteger;
    import com.google.common.primitives.UnsignedLong;
    import com.google.common.reflect.AbstractInvocationHandler;
    import com.google.common.reflect.Invokable;
    import com.google.common.reflect.Parameter;
    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.InputStream;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import com.google.common.primitives.UnsignedInteger;
    import com.google.common.primitives.UnsignedLong;
    import com.google.common.reflect.AbstractInvocationHandler;
    import com.google.common.reflect.Invokable;
    import com.google.common.reflect.Parameter;
    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.InputStream;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top