Java – how do I get a fully qualified class name in eclipse?
•
Java
Is there a quick way to click on a Java class in eclipse and get its fully qualified name, or copy it to the clipboard?
Solution
Try this:
>Hover the mouse pointer in the editor window over the name of the class, which can be anywhere in the code > in the pop-up window that appears, double-click the fully qualified name > press Ctrl C to copy
Or:
>In the Project Explorer (usually the left window), click a class name > Press ALT enter to display the Properties Window > select and copy the path of the class However, you need to replace / characters manually
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码