Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isAbstract (0.11 sec)

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

        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isStatic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testAbstractMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("abstractMethod");
        assertTrue(invokable.isPackagePrivate());
        assertTrue(invokable.isAbstract());
        assertFalse(invokable.isFinal());
    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

        assertFalse(invokable.isAbstract());
        assertFalse(invokable.isStatic());
        assertTrue(invokable.isAnnotationPresent(Tested.class));
      }
    
      public void testAbstractMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("abstractMethod");
        assertTrue(invokable.isPackagePrivate());
        assertTrue(invokable.isAbstract());
        assertFalse(invokable.isFinal());
    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. guava/src/com/google/common/reflect/Invokable.java

       */
      public final boolean isFinal() {
        return Modifier.isFinal(getModifiers());
      }
    
      /** Returns true if the method is abstract. */
      public final boolean isAbstract() {
        return Modifier.isAbstract(getModifiers());
      }
    
      /** Returns true if the element is native. */
      public final boolean isNative() {
        return Modifier.isNative(getModifiers());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/MethodUtil.java

         *
         * @param method
         *            メソッド。{@literal null}であってはいけません
         * @return <code>abstract</code>かどうか
         */
        public static boolean isAbstract(final Method method) {
            return Modifier.isAbstract(method.getModifiers());
        }
    
        /**
         * <code>public</code>かどうかを返します。
         *
         * @param method
         *            メソッド。{@literal null}であってはいけません
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      void doTestNulls(Class<?> cls, Visibility visibility)
          throws ParameterNotInstantiableException, IllegalAccessException, InvocationTargetException,
              FactoryMethodReturnsNullException {
        if (!Modifier.isAbstract(cls.getModifiers())) {
          nullPointerTester.testConstructors(cls, visibility);
        }
        nullPointerTester.testStaticMethods(cls, visibility);
        if (hasInstanceMethodToTestNulls(cls, visibility)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          return createEmptyArray(type);
        }
        T jvmDefault = Defaults.defaultValue(Primitives.unwrap(type));
        if (jvmDefault != null) {
          return jvmDefault;
        }
        if (Modifier.isAbstract(type.getModifiers()) || !Modifier.isPublic(type.getModifiers())) {
          return arbitraryConstantInstanceOrNull(type);
        }
        final Constructor<T> constructor;
        try {
          constructor = type.getConstructor();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          return createEmptyArray(type);
        }
        T jvmDefault = Defaults.defaultValue(Primitives.unwrap(type));
        if (jvmDefault != null) {
          return jvmDefault;
        }
        if (Modifier.isAbstract(type.getModifiers()) || !Modifier.isPublic(type.getModifiers())) {
          return arbitraryConstantInstanceOrNull(type);
        }
        final Constructor<T> constructor;
        try {
          constructor = type.getConstructor();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top