You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: Constructors Can Be Deprecated but Are Not Processed
The code currently only processes methods (Symbol.MethodSymbol) but does not check for constructors.
In Java, constructors can also be marked as @deprecated, and those should also log a warning when used.
This means any deprecated constructor is ignored by this processor, leading to incomplete tracking of deprecated usages.
To handle deprecated constructors:
Modify the process method to check if the element is a constructor (MethodSymbol with the same name as the class).
Ensure that AST transformation also works for constructors.
The text was updated successfully, but these errors were encountered:
Issue: Constructors Can Be Deprecated but Are Not Processed
The code currently only processes methods (Symbol.MethodSymbol) but does not check for constructors.
In Java, constructors can also be marked as @deprecated, and those should also log a warning when used.
This means any deprecated constructor is ignored by this processor, leading to incomplete tracking of deprecated usages.
To handle deprecated constructors:
Modify the process method to check if the element is a constructor (MethodSymbol with the same name as the class).
Ensure that AST transformation also works for constructors.
The text was updated successfully, but these errors were encountered: