Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Implementing Annotation Question  RSS feed

 
Ranch Hand
Posts: 115
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a question about the purpose of one of the features of Annotations.
If I have an annotation and create a class which implements this annotation what do I get from my class?

If I create an annotation such as:



What does it mean, or what is the purpose of:



I can't find any examples of why you might want to do this or even why its valid. I'm thinking this class could be created and cast as a MyAnnotation, perhaps to replace an existing annotation or add another annotation to an Element.

Any insight would be great! Cheers guys


Tom
 
Onion rings are vegetable donuts. Taste this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!