Migrate other usages

This commit is contained in:
Clément Fournier committed 2018-11-06 09:36:24 +01:00
1 parent 9779422e3e
commit f371524b63
2 files changed
+3 -3

No files matched your search

@@ -2628,7 +2628,7 @@ NullPointerExceptions.
<![CDATA[
//MethodDeclaration
[
(./ResultType/Type[@Array='true'])
(./ResultType/Type[@ArrayType='true'])
and
(./Block/BlockStatement/Statement/ReturnStatement/Expression/PrimaryExpression/PrimaryPrefix/Literal/NullLiteral)
]
@@ -862,9 +862,9 @@ You must use new ArrayList<>(Arrays.asList(...)) if that is inconvenient for you
and
PrimaryExpression/PrimarySuffix/Arguments/ArgumentList/Expression/PrimaryExpression/PrimaryPrefix/Name
[
@Image = ancestor::MethodDeclaration//LocalVariableDeclaration[@Array="true"]/VariableDeclarator/VariableDeclaratorId/@Image
@Image = ancestor::MethodDeclaration[1]//LocalVariableDeclaration/VariableDeclarator/VariableDeclaratorId[@ArrayType="true"]/@Image
or
@Image = ancestor::MethodDeclaration//FormalParameter/VariableDeclaratorId/@Image
@Image = ancestor::MethodDeclaration[1]//FormalParameter/VariableDeclaratorId/@Image
]
/../..[count(.//PrimarySuffix)
=1]/PrimarySuffix/Expression/PrimaryExpression/PrimaryPrefix