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

  • Home
  • SEARCH
  • 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 8036417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:36:51+00:00 2026-06-05T02:36:51+00:00

I am trying to write a program to analyze Java source code, for example,

  • 0

I am trying to write a program to analyze Java source code, for example, checking all the callers to some certain method. Since eclipse IDE provides this kind of feature, which is powerful and impressive, I am wondering if they provide some APIs so I can use those features in my program as well.

I checked some materials online. But nearly all of the documents I can find are related with eclipse plug-in development, which is not what I want. I want to use them in a stand-alone program (maybe as part of a compilation chain to do customized style checking).

Is this possible? If so, any link as entrypoint for me to start research would be very appreciated. If not, is there any alternative that I can try?
(I used to think about using ANTLR, but it is merely a parser that is quite a few steps away from a source code analyzer)

  • 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-06-05T02:36:54+00:00Added an answer on June 5, 2026 at 2:36 am

    I don’t know about Eclipse itself, but here are some alternatives:

    First, the relatively lightweight:

    • Findbugs. Relatively straightforward to write your own analyses if you’re a decent Java programmer.
    • PMD. I haven’t used it myself, but looks straightforward to write a Java analysis plus – added bonus – they support XPath-style queries of source-code ASTs.

    These might be overkill, but the heavy guns for Java analysis are Soot from McGill U. and WALA from IBM.

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

Sidebar

Related Questions

I am trying to write a program to check that some C source code
I'm trying to write a program in Java that uses osql to generate a
I'm trying to write a program to test student code against a good implementation.
I'm trying to write a program which, at some point, needs to invoke an
I am trying to write a program to analyze emotional expressions like tears. As
I am trying to write a program in Java Swing that outputs a 10
I'm trying to write a coin flip program where I can analyze the percentage
Im trying to write a program that forks and sends sort (linux) some words
Im trying to write a program that runs some shell commands wit emulated user
I am trying to write a program in java which can count number of

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.