hi , i want to ask if some one know how can i calculate number of variables or used variables in a java file?
is there any way to do it?
ateeq90 0 Newbie Poster
Recommended Answers
Jump to Postor, if you mean you want to know how many instances are made from a certain object, use a static counter.
Jump to Postscanner won't help you detect that. if that is what you were looking at, NormR1 is right and you'll have to parse your java code.
what exactly do you need this for?
All 6 Replies
NormR1 563 Posting Sage Team Colleague
stultuske 1,116 Posting Maven Featured Poster
ateeq90 0 Newbie Poster
stultuske 1,116 Posting Maven Featured Poster
ateeq90 0 Newbie Poster
NormR1 563 Posting Sage Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.