Skip to main content
Sep 22, 2022 2:29 PM UTC
Question

How to find Deprecated API ?

Is there a way I can find all the Deprecated API in Windchill 11 & Windchill 12 Programmatically ?

8 replies

Sep 22, 2022 3:12 PM UTC

Typically an IDE like Eclipse and Netbeans will note when you've used a deprecated API with some warning or indicator. Not every class/method is documented in the Windchill JavaDoc but there are some notes there too. 

avillanueva_0-1663859492093.png

 

vlmadalaAuthor
Sep 23, 2022 5:09 AM UTC

Yes .That's right . However, when the codebase is larger, going through it to identify the deprecations needs some time. If any utility that will scan the code and generate a report comparing to the required  target , will be helpful .

Sep 23, 2022 6:06 AM UTC

Hi @vlmadala 

Why? Many Windchill classes are marked as deprecated for ages but they are still there. From version 9 to 12.

PetrH.   

vlmadalaAuthor
Sep 23, 2022 6:35 AM UTC

@HelesicPetr  Windchill 12 has removed all the deprecated classed that were in use till WIndchill 11

 

Sep 23, 2022 6:38 AM UTC

Hi @vlmadala 

I don´t think so  May be some of them not all. 

PetrH