Merge branch 'issue-206' into pmd/5.5.x
Closes #210 (rebased onto pmd/5.4.x)
This commit is contained in:
@ -1,4 +1,9 @@
|
||||
/**
|
||||
* Change lookahead for AnnotationMethodDeclaration in AnnotationTypeMemberDeclaration.
|
||||
* Bug #206
|
||||
*
|
||||
* Juan Martin Sotuyo Dodero 01/2017
|
||||
*====================================================================
|
||||
* Allow method references to specify generics.
|
||||
* Bug #207
|
||||
*
|
||||
@ -2286,7 +2291,7 @@ void AnnotationTypeMemberDeclaration():
|
||||
{
|
||||
modifiers = Modifiers()
|
||||
(
|
||||
LOOKAHEAD(3) AnnotationMethodDeclaration(modifiers)
|
||||
LOOKAHEAD(Type() <IDENTIFIER> "(") AnnotationMethodDeclaration(modifiers)
|
||||
|
|
||||
ClassOrInterfaceDeclaration(modifiers)
|
||||
|
|
||||
|
Reference in New Issue
Block a user