You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Grant Henke (JIRA)" <ji...@apache.org> on 2018/04/13 15:19:00 UTC
[jira] [Created] (YETUS-628) Class level InterfaceAudience is not
applied to internal classes/enums
Grant Henke created YETUS-628:
---------------------------------
Summary: Class level InterfaceAudience is not applied to internal classes/enums
Key: YETUS-628
URL: https://issues.apache.org/jira/browse/YETUS-628
Project: Yetus
Issue Type: Improvement
Components: Audience Annotations
Affects Versions: 0.7.0
Reporter: Grant Henke
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:
{code:java}
@InterfaceAudience.Public
public class MyClass {
...
public enum MyEnum {
...
}
...
}{code}
For now every internal class/enum needs to be defined:
{code:java}
@InterfaceAudience.Public
public class MyClass {
...
@InterfaceAudience.Public
public enum MyEnum {
...
}
...
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)