Skip to content

Fix error range for annotation attribute class literal and property expressions #971

@eric-milles

Description

@eric-milles

Consider the following:

@interface Anno { Class<? extends Number> value(); }

@Anno(String.class)
public class X {}

Error underline for "String.class" also includes ")".

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions