Java class name same as the nested package name

后端 未结 5 846
悲哀的现实
悲哀的现实 2020-12-19 15:40

In my Java application, I use a third-party library.

However, I found something strange, there are some nested packages, and some classes whose name may be the same

5条回答
  •  抹茶落季
    2020-12-19 16:12

    The library is likely obfuscated (e.g. using proguard) to reduce size, prevent reverse engineering and "hide" stuff you're not supposed to use. Even if you manage to create an instance of this class, I would recommend against it, as you don't know what it will do or how it can/should be used.

提交回复
热议问题