Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-pmc] API Request: New IProblem constant

In order to provide a better support for annotation declaration 
declaration, we would like to request the addition of a new 
org.eclipse.jdt.core.compiler.IProblem constant:
        InvalidUsageOfTypeParametersForAnnotationDeclaration

GOALS/BENEFITS:
- This new constant would be used to be able to report the corresponding 
error in the Parser instead of failing with a syntax error. Preventing the 
syntax error would help the compiler to report additional errors on the 
same unit and not report additional syntax issues.


CORRESPONDING BUG:
- [1.5][compiler] Add more resilience on annotation type declaration with 
type parameters
      https://bugs.eclipse.org/bugs/show_bug.cgi?id=186822

RISKS:
No known risks.

PERFORMANCE IMPACTS:
None.

Olivier


Back to the top