Results 1 to 4 of 4
- 05-29-2008, 07:29 AM #1
Member
- Join Date
- Apr 2008
- Posts
- 13
- Rep Power
- 0
- 05-29-2008, 07:58 AM #2
Member
- Join Date
- May 2008
- Posts
- 1
- Rep Power
- 0
When you compile the code using -Xlint:deprecation it will list out the deprecated APIs.
- 05-29-2008, 08:17 AM #3
Member
- Join Date
- Apr 2008
- Posts
- 13
- Rep Power
- 0
but this option can be checked from command prompt right? but in case I want to check it in the code itself, something like, I have a code snippet which takes input as a .java file and gives the output as "no of deprecated api's used in this file are: ", how can this be done?
- 05-29-2008, 09:12 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
The way I know is compile the class using above command given on post #2. Can't we pass them as arguments to the application and process it.
Similar Threads
-
getYear deprecated method
By ravian in forum New To JavaReplies: 5Last Post: 01-05-2011, 08:50 AM -
I need help with a deprecated program
By mikau in forum New To JavaReplies: 0Last Post: 02-13-2008, 09:34 AM -
Using Deprecated Methods
By ravian in forum New To JavaReplies: 3Last Post: 11-23-2007, 07:58 PM -
method size is deprecated
By oregon in forum New To JavaReplies: 4Last Post: 08-05-2007, 05:59 PM -
Generating Code Automatically Using Custom code Template In Eclipse
By JavaForums in forum EclipseReplies: 1Last Post: 04-26-2007, 03:52 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks