Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isAbstract (0.56 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/MethodUtil.java

         *
         * @param method
         *            The method. Cannot be {@literal null}
         * @return <code>abstract</code> if the method is abstract
         */
        public static boolean isAbstract(final Method method) {
            return Modifier.isAbstract(method.getModifiers());
        }
    
        /**
         * Returns whether the method is <code>public</code>.
         *
         * @param method
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        internal
        val isIncubating: Boolean
            get() = delegate.visibleAnnotations.has(incubatingAnnotationTypeDescriptor)
    
        val isSAM: Boolean by unsafeLazy {
            delegate.access.isAbstract && singleAbstractMethodOf(delegate)?.access?.isPublic == true
        }
    
        val typeParameters: List<ApiTypeUsage> by unsafeLazy {
            context.apiTypeParametersFor(visitedSignature)
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Mar 12 15:56:18 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  4. android/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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          throws ParameterNotInstantiableException,
              IllegalAccessException,
              InvocationTargetException,
              FactoryMethodReturnsNullException {
        if (!Modifier.isAbstract(cls.getModifiers())) {
          nullPointerTester.testConstructors(cls, visibility);
        }
        nullPointerTester.testStaticMethods(cls, visibility);
        if (hasInstanceMethodToTestNulls(cls, visibility)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. 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);
        }
        Constructor<T> constructor;
        try {
          constructor = type.getConstructor();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. 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);
        }
        Constructor<T> constructor;
        try {
          constructor = type.getConstructor();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 21.4K bytes
    - Viewed (0)
Back to top