Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for annotatedTypes (0.22 sec)

  1. guava/src/com/google/common/reflect/Invokable.java

      @SuppressWarnings("Java7ApiChecker")
      abstract AnnotatedType[] getAnnotatedParameterTypes();
    
      /** This should never return a type that's not a subtype of Throwable. */
      abstract Type[] getGenericExceptionTypes();
    
      abstract Annotation[][] getParameterAnnotations();
    
      abstract Type getGenericReturnType();
    
      /**
       * Returns the {@link AnnotatedType} for the return type.
       *
       * @since 14.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/Parameter.java

        A[] cast = (A[]) result;
        return cast;
      }
    
      /**
       * Returns the {@link AnnotatedType} of the parameter.
       *
       * @since 25.1 for guava-jre
       */
      @SuppressWarnings("Java7ApiChecker")
      public AnnotatedType getAnnotatedType() {
        return requireNonNull((AnnotatedType) annotatedType);
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.annotation.Annotation;
    import java.lang.reflect.AnnotatedType;
    import java.lang.reflect.Constructor;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Member;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/Types.java

       *
       * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}
       * interface, whose return type {@code AnnotatedType[]} is also new in Java 8. That means that we
       * cannot implement that interface in source code in a way that will compile on both Java 7 and
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          }
        };
    
        public abstract boolean isExpectedType(Throwable cause);
      }
    
      private static boolean annotatedTypeExists() {
        try {
          Class.forName("java.lang.reflect.AnnotatedType");
        } catch (ClassNotFoundException e) {
          return false;
        }
        return true;
      }
    
      private static final NullnessAnnotationReader NULLNESS_ANNOTATION_READER =
          annotatedTypeExists()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top