[ 
https://issues.apache.org/jira/browse/HADOOP-5073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jakob Homan updated HADOOP-5073:
--------------------------------

    Attachment: Nested.png

This works fine. The javadoc is as readable as any of the others (attached 
image). 
{code}
@Documented 
@Inherited
public @interface Audience {
  @Documented
  public @interface Public {}
  
  @Documented
  public @interface LimitedPrivate {
    String target();
  }
  
  @Documented
  public @interface Private {}
}
I don't believe this is an abuse of Annotations, rather it's a creative use of 
Java's rather cumbersome implementation.  +1
{code}

> Hadoop 1.0 Interface Classification - scope (visibility - public/private) and 
> stability
> ---------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5073
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5073
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: 5073_demo.png, c5073_20090825.patch, c5073_20090825.png, 
> HADOOP-5073.patch, Nested.png
>
>
> This jira proposes an interface classification for hadoop interfaces.
> The discussion was started in email alias core-...@hadoop.apache.org in Nov 
> 2008.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to