Update documentation
TRAVIS_JOB_NUMBER=3653.1 TRAVIS_COMMIT_RANGE=94545b6049c1...893119515677
This commit is contained in:
@ -1693,7 +1693,7 @@ Detects when a class or interface does not have a package definition.
|
||||
|
||||
**This rule is defined by the following XPath expression:**
|
||||
``` xpath
|
||||
//ClassOrInterfaceDeclaration[count(preceding::PackageDeclaration) = 0]
|
||||
/CompilationUnit[not(./PackageDeclaration)]/TypeDeclaration[1]
|
||||
```
|
||||
|
||||
**Example(s):**
|
||||
|
Reference in New Issue
Block a user