Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getAnnotatedType (0.08 sec)

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

        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) {
        if (obj instanceof Parameter) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          }
    
          @Override
          boolean isNullable(Parameter param) {
            return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(param)
                || containsNullable(param.getAnnotatedType().getAnnotations())
                || isNullableTypeVariable(param.getAnnotatedType().getType());
          }
    
          boolean isNullableTypeVariable(Type type) {
            if (!(type instanceof TypeVariable)) {
              return false;
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top