简体   繁体   English

如何访问Java中导入的类的源代码?

[英]How to access the source code for an imported class in Java?

In some code I'm looking at, there was this import statement. 在我正在查看的某些代码中,有此import语句。 import husaynhakeem.io.facedetector.models.FaceBounds How do I find the code in this FaceBounds class? import husaynhakeem.io.facedetector.models.FaceBounds如何在此FaceBounds类中找到代码? I have tried looking on the user's github but I have not been able to find the actual class. 我曾尝试查看用户的github,但无法找到实际的类。 The only classes I find are Facing.kt , Orientation.kt and models.kt but not the Facebounds class. 我找到的唯一类是Facing.ktOrientation.ktmodels.kt但不是Facebounds类。 https://github.com/husaynhakeem/android-face-detector/tree/master/facedetector/src/main/java/husaynhakeem/io/facedetector/models https://github.com/husaynhakeem/android-face-detector/tree/master/facedetector/src/main/java/husaynhakeem/io/facedetector/models

data class FaceBounds(val id: Int, val box: Rect)

models.kt

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM