mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
AnnotationTargetUtil#RECORD_COMPONENT_TARGETS: added PARAMETER
Current spec draft [1] does not mention parameter. However, according to mailing list discussion [2] it's an error in the spec [1] http://cr.openjdk.java.net/~gbierman/jep359/jep359-20191125/specs/records-jls.html#jls-9.7.4 [2] http://mail.openjdk.java.net/pipermail/amber-spec-experts/2019-December/001882.html GitOrigin-RevId: a02c405cb595f1974c1773f2d4691ad6238b691b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
89f2ddb51d
commit
d887f8b142
@@ -33,7 +33,8 @@ public class AnnotationTargetUtil {
|
||||
private static final TargetType[] CONSTRUCTOR_TARGETS = {TargetType.CONSTRUCTOR, TargetType.TYPE_USE};
|
||||
private static final TargetType[] METHOD_TARGETS = {TargetType.METHOD, TargetType.TYPE_USE};
|
||||
private static final TargetType[] FIELD_TARGETS = {TargetType.FIELD, TargetType.TYPE_USE};
|
||||
private static final TargetType[] RECORD_COMPONENT_TARGETS = {TargetType.RECORD_COMPONENT, TargetType.FIELD, TargetType.METHOD, TargetType.TYPE_USE};
|
||||
private static final TargetType[] RECORD_COMPONENT_TARGETS = {TargetType.RECORD_COMPONENT, TargetType.FIELD, TargetType.METHOD,
|
||||
TargetType.PARAMETER, TargetType.TYPE_USE};
|
||||
private static final TargetType[] PARAMETER_TARGETS = {TargetType.PARAMETER, TargetType.TYPE_USE};
|
||||
private static final TargetType[] LOCAL_VARIABLE_TARGETS = {TargetType.LOCAL_VARIABLE, TargetType.TYPE_USE};
|
||||
private static final TargetType[] MODULE_TARGETS = {TargetType.MODULE};
|
||||
|
||||
Reference in New Issue
Block a user