Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6774029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:44:18+00:00 2026-05-26T15:44:18+00:00

Hi guys: Is there an open source way to associate java @annotations to functional

  • 0

Hi guys: Is there an open source way to associate java @annotations to functional requirements, or for example, TRAC tickets, etc? I want to do something like this:

I’m thinking along the lines of an eclipse plugin which somehow links up with another FOSS project tracking tool, wiki, or maybe even a CSV file.

A somewhat silly but exemplary illustration of what I desire is below:

@Requirement WalkDogTwiceADay
public void walkTheDog()
{

}

@Requirement WalkDogTwiceADay
public void dogWalkerThread()
{
   walkTheDog(); //in the morning.
   Thread.sleep(36000000);
   walkTheDog(); //at night
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:44:19+00:00Added an answer on May 26, 2026 at 3:44 pm

    Annotations are metadata, they simply add information to your code for other tools to use or to be inspected at runtime via reflection.

    One thing you can do is write an annotation processor that will generate the necessary artefacts. Those could be configuration files, scripts, code…

    Another thing you can do is write some tool that knows how to interpret your annotations and uses reflection to find them and take the appropriate actions. For this you’d need to make sure that the annotation type is set to have runtime retention, as opposed to only source or class.

    Perhaps some of the stuff found in the answers to this question might prove of use. If that’s the case, go ahead and use it. But writing custom annotation processors or code for handling them is not all that terribly hard. The difficult part is getting to know the Java model API that’s used by annotation processors, which is like reflection but at compile time (before you have fully-formed classes).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hi guys I wanted to know, is there a way to not display my
Can you guys tell me the difference between them? By the way, is there
I am building my own web app, and there are open source code out
Is there an open-source streaming media framework similar to IIS Media Services ? I'm
What are some of the open source projects out there that you would hold
In short: Is there an existing open-source Python interface for the Apache scoreboard IPC
I want to display google maps (mutliple markers etc) and just found that there
I had recently stabilised developments of a major open source library written in Java.
I’m looking for XML Diff class or library. There are my requirements: - open
Is there Anyone that has experience with any open source, or relatively cheap voice

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.