anchor.diff:      ;
   
   typeArgumentsOrDiamond
  -    :   '<' '>'
  -    |   typeArguments
  +    :   '<' '>'			# Diamond
  +    |   typeArguments		# NonDiamondTypeArguments
       ;
   
   nonWildcardTypeArgumentsOrDiamond
  
positive.code:     ;
  
  resources
      :   resource (';' resource)*
      ;
  
  resource
  
negative.code:     ;
  
  classDeclaration
      :   'class' name=Identifier typeParameters?
          ('extends' typeSpec)?
          ('implements' typeList)?
          classBody
  