mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
[java-psi-api] IJ-CR-172416 Undeprecate ClassUtil#getJVMClassName
Instead, we simply document the differences between ClassUtil#getJVMClassName and ClassUtil#getBinaryClassName. GitOrigin-RevId: 36e51c5ad57eba54bfa365b0473eb71e634d5d2d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
31141dd417
commit
2cbcb44c79
@@ -217,10 +217,9 @@ public final class ClassUtil {
|
||||
|
||||
/**
|
||||
* Returns the binary class name for top-level and nested classes.
|
||||
*
|
||||
* @deprecated Does not work for anonymous classes and local classes. Use {@link #getBinaryClassName} instead.
|
||||
* <p>
|
||||
* Does not work for anonymous classes and local classes – if you need this, use {@link #getBinaryClassName} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public static @Nullable @NlsSafe String getJVMClassName(@NotNull PsiClass aClass) {
|
||||
final PsiClass containingClass = aClass.getContainingClass();
|
||||
if (containingClass != null) {
|
||||
|
||||
Reference in New Issue
Block a user