Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for annotationType (0.06 seconds)

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

      public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
        return getAnnotation(annotationType) != null;
      }
    
      @Override
      public <A extends Annotation> @Nullable A getAnnotation(Class<A> annotationType) {
        checkNotNull(annotationType);
        for (Annotation annotation : annotations) {
          if (annotationType.isInstance(annotation)) {
            return annotationType.cast(annotation);
          }
        }
        return null;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

        protected boolean isTypeAnnotation(Class<? extends Annotation> annotationType) {
            return "org.apache.maven.api.di.Typed".equals(annotationType.getName())
                    || "org.eclipse.sisu.Typed".equals(annotationType.getName())
                    || "javax.enterprise.inject.Typed".equals(annotationType.getName())
                    || "jakarta.enterprise.inject.Typed".equals(annotationType.getName());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. 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
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.9K bytes
    - Click Count (0)
  4. 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' }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.8K bytes
    - Click Count (0)
  5. 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);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  6. 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) {
        return member.isSynthetic()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (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) {
        return member.isSynthetic()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  8. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

    
    private
    fun List<AnnotationNode>?.hasNullableAnnotation() =
        has<org.jspecify.annotations.Nullable>()
    
    
    private
    inline fun <reified AnnotationType : Any> List<AnnotationNode>?.has() =
        has(Type.getDescriptor(AnnotationType::class.java))
    
    
    private
    fun List<AnnotationNode>?.has(annotationTypeDescriptor: String) =
        this?.any { it.desc == annotationTypeDescriptor } ?: false
    
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/AndroidIncompatible.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.primitives;
    
    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;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 15:54:11 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. android/guava-testlib/test/com/google/common/testing/AndroidIncompatible.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    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;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 25 15:54:11 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top