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?
Jump to Post
Are you asking for the information that would be shown in a variable cross reference listing if the compiler were to generate such a thing?
You'd need a java language parser to scan the source and generate a cross reference.
All 6 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.