The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 The Open Road: Superpackages
Subject:  Why not annotations
Date:  2008-03-06 10:30:13
From:  lstroud


I haven't read the spec. So, this may be in there. However, this seems like it would be far better if done with annotations. Just add an @superpackage(name="blah", export="true") to the top of a class. It is not quite as centralized, but it would be easier to to maintain. You could then extend that to the method level by allowing methods to be exported or not. Am I missing something?


 Feed java.net RSS Feeds