Lines 592-600
Link Here
|
592 |
* and match the name of the main (public) class or interface declared in the source.</p> |
592 |
* and match the name of the main (public) class or interface declared in the source.</p> |
593 |
* |
593 |
* |
594 |
* <p>This name must represent the full path of the unit inside the given project. For example, if the source |
594 |
* <p>This name must represent the full path of the unit inside the given project. For example, if the source |
595 |
* declares a public class named "Foo" in a project "P", the name of the compilation unit must be |
595 |
* declares a public class named "Foo" in a project "P" where the source folder is the project itself, the name |
596 |
* "/P/Foo.java". If the source declares a public class name "Bar" in a package "p1.p2" in a project "P", |
596 |
* of the compilation unit must be "/P/Foo.java". |
597 |
* the name of the compilation unit must be "/P/p1/p2/Bar.java".</p> |
597 |
* If the source declares a public class name "Bar" in a package "p1.p2" in a project "P" in a source folder "src", |
|
|
598 |
* the name of the compilation unit must be "/P/src/p1/p2/Bar.java".</p> |
598 |
* |
599 |
* |
599 |
* @param unitName the name of the compilation unit that would contain the source |
600 |
* @param unitName the name of the compilation unit that would contain the source |
600 |
* string, or <code>null</code> if none |
601 |
* string, or <code>null</code> if none |