[java] Parsing Problem with Annotation for Array Member Types #417
This commit is contained in:
@ -1566,7 +1566,7 @@ void ReferenceType():
|
|||||||
{
|
{
|
||||||
PrimitiveType() ( LOOKAHEAD(2) "[" "]" { jjtThis.bumpArrayDepth(); })+
|
PrimitiveType() ( LOOKAHEAD(2) "[" "]" { jjtThis.bumpArrayDepth(); })+
|
||||||
|
|
|
|
||||||
( ClassOrInterfaceType() ) ( LOOKAHEAD(2) "[" "]" { jjtThis.bumpArrayDepth(); })*
|
( ClassOrInterfaceType() (Annotation() {checkForBadTypeAnnotations();})*) ( LOOKAHEAD(2) "[" "]" { jjtThis.bumpArrayDepth(); })*
|
||||||
}
|
}
|
||||||
|
|
||||||
void ClassOrInterfaceType():
|
void ClassOrInterfaceType():
|
||||||
|
@ -169,6 +169,11 @@ public class ParserCornerCases18 {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Object @Nullable [] testAnnotationsToArrayElements() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Explicit receiver Parameters
|
* Explicit receiver Parameters
|
||||||
* see: http://blog.joda.org/2015/12/explicit-receiver-parameters.html
|
* see: http://blog.joda.org/2015/12/explicit-receiver-parameters.html
|
||||||
|
Reference in New Issue
Block a user