Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.7.0
-
None
-
None
Description
When defining a class with internal classes and enums, if no explicit InterfaceAudience is applied to internal classes it would be useful if the inner classes and enums had the same InterfaceAudience as the parent class.
Example:
@InterfaceAudience.Public public class MyClass { ... public enum MyEnum { ... } ... }
For now every internal class/enum needs to be defined:
@InterfaceAudience.Public public class MyClass { ... @InterfaceAudience.Public public enum MyEnum { ... } ... }
This would also be useful for InterfaceStability.