Keep enum constants in transitive dependencies Enums can be used as annotation values, and keeping only constant fields caused compilation errors if an enum that was in scope of as a member of a transitive supertype was used as an annotation value. PiperOrigin-RevId: 759687277