Skip to main content
10-Marble
September 22, 2022
Question

How to find Deprecated API ?

  • September 22, 2022
  • 2 replies
  • 3383 views

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

2 replies

avillanueva
23-Emerald I
23-Emerald I
September 22, 2022

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

 

vlmadala10-MarbleAuthor
10-Marble
September 23, 2022

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 .

HelesicPetr
22-Sapphire II
22-Sapphire II
September 23, 2022

Hi @vlmadala 

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

PetrH.   

vlmadala10-MarbleAuthor
10-Marble
September 23, 2022

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

 

HelesicPetr
22-Sapphire II
22-Sapphire II
September 23, 2022

Hi @vlmadala 

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

PetrH