Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for hasAnnotation (0.11 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

            }
        }
    
        private static boolean hasNullableAnnotation(CtField field) {
            return NULLABLE_ANNOTATIONS.any { field.hasAnnotation(it) }
        }
    
        private static boolean hasNullableAnnotation(CtMethod method) {
            return NULLABLE_ANNOTATIONS.any { method.hasAnnotation(it) }
        }
    
        private static boolean isNullableCtAnnotation(Object ann) {
            if (Proxy.isProxyClass(ann.class)) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/BridgeForBytecodeUpgradeAdapterClassFilter.groovy

        private static final BRIDGE_CLASS_PREFIX = "\$\$BridgeFor\$\$"
    
        @Override
        boolean matches(CtClass ctClass) {
            return ctClass.name.contains(BRIDGE_CLASS_PREFIX) && ctClass.hasAnnotation(Generated.class)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 11 09:56:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

    import javassist.bytecode.annotation.StringMemberValue
    import org.gradle.api.reflect.TypeOf
    import org.gradle.kotlin.dsl.*
    
    
    internal
    val CtClass.isKotlin: Boolean
        get() = hasAnnotation(Metadata::class.qualifiedName)
    
    
    internal
    val CtMethod.isSynthetic
        get() = methodInfo.getAttribute(SyntheticAttribute.tag) != null
    
    
    internal
    val MemberValue.intValue: Int
        get() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        for (Class<?> containedClass : classes) {
          if (containedClass.getSimpleName().equals("Require")) {
            if (containedClass.isAnnotation()) {
              assertGoodTesterAnnotation(asAnnotation(containedClass));
            } else {
              fail(
                  rootLocaleFormat(
                      "Feature enum %s contains a class named "
                          + "'Require' but it is not an annotation.",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        for (Class<?> containedClass : classes) {
          if (containedClass.getSimpleName().equals("Require")) {
            if (containedClass.isAnnotation()) {
              assertGoodTesterAnnotation(asAnnotation(containedClass));
            } else {
              fail(
                  rootLocaleFormat(
                      "Feature enum %s contains a class named "
                          + "'Require' but it is not an annotation.",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top