Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NullableFieldVisitor (0.96 sec)

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

            }
        }
    
        private static boolean nullabilityOf(CtField field) {
            NullableFieldVisitor visitor = new NullableFieldVisitor(field.getName())
            new ClassReader(byteCodeFrom(field.getDeclaringClass())).accept(visitor, 0)
            return visitor.nullable
        }
    
        static class NullableFieldVisitor extends ClassVisitor {
    
            boolean nullable = false
            private final String fieldName
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Oct 27 09:26:32 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top