Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for annotationType (0.12 sec)

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

        return getAnnotation(annotationType) != null;
      }
    
      @Override
      @CheckForNull
      public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
        checkNotNull(annotationType);
        for (Annotation annotation : annotations) {
          if (annotationType.isInstance(annotation)) {
            return annotationType.cast(annotation);
          }
        }
    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. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java

        }
    
        @Override
        public List<String> getAnnotationTypeNames() {
            return annotationNames;
        }
    
        public void addAnnotationTypeName(String annotationType) {
            annotationNames.add(annotationType);
        }
    
        @Override
        public boolean isDeprecated() {
            return annotationNames.contains(Deprecated.class.getName());
        }
    
        @Override
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

            assertArgumentNotNull("annotation", annotation);
    
            final Map<String, Object> map = newHashMap();
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(annotation.annotationType());
            for (final String name : beanDesc.getMethodNames()) {
                final Object v = getProperty(beanDesc, annotation, name);
                if (v != null) {
                    map.put(name, v);
                }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      private static TesterRequirements buildTesterRequirements(Annotation testerAnnotation)
          throws ConflictingRequirementsException {
        Class<? extends Annotation> annotationClass = testerAnnotation.annotationType();
        Feature<?>[] presentFeatures;
        Feature<?>[] absentFeatures;
        try {
          presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

            return (isIncubating(interf) && !isIncubating(c)) || isInternal(interf)
        }
    
        private boolean isIncubating(CtClass c) {
            return c.annotations.any { it.annotationType().name == 'org.gradle.api.Incubating' }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      private static TesterRequirements buildTesterRequirements(Annotation testerAnnotation)
          throws ConflictingRequirementsException {
        Class<? extends Annotation> annotationClass = testerAnnotation.annotationType();
        Feature<?>[] presentFeatures;
        Feature<?>[] absentFeatures;
        try {
          presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

      }
    
      private static boolean containsNullable(Annotation[] annotations) {
        for (Annotation annotation : annotations) {
          if (NULLABLE_ANNOTATION_SIMPLE_NAMES.contains(annotation.annotationType().getSimpleName())) {
            return true;
          }
        }
        return false;
      }
    
      private boolean isIgnored(Member member) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/NullPointerTester.java

      }
    
      private static boolean containsNullable(Annotation[] annotations) {
        for (Annotation annotation : annotations) {
          if (NULLABLE_ANNOTATION_SIMPLE_NAMES.contains(annotation.annotationType().getSimpleName())) {
            return true;
          }
        }
        return false;
      }
    
      private boolean isIgnored(Member member) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. api/maven-api-di/src/main/java/org/apache/maven/api/di/Qualifier.java

    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    @Documented
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Feb 05 09:45:47 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/AndroidIncompatible.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.6K bytes
    - Viewed (0)
Back to top