there's no need to use <? extends String>, because String is final
sometimes it's necessary, e.g. when we're substituting any generic with the real type GitOrigin-RevId: a8c453813b04213f7e24dd80bc7ccec4eb78efcb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c0f01b9773
commit
877b0bb707
@@ -17,10 +17,10 @@ public class AnnotationExprent extends Exprent {
|
|||||||
public static final int ANNOTATION_SINGLE_ELEMENT = 3;
|
public static final int ANNOTATION_SINGLE_ELEMENT = 3;
|
||||||
|
|
||||||
private final String className;
|
private final String className;
|
||||||
private final List<? extends String> parNames;
|
private final List<String> parNames;
|
||||||
private final List<? extends Exprent> parValues;
|
private final List<? extends Exprent> parValues;
|
||||||
|
|
||||||
public AnnotationExprent(String className, List<? extends String> parNames, List<? extends Exprent> parValues) {
|
public AnnotationExprent(String className, List<String> parNames, List<? extends Exprent> parValues) {
|
||||||
super(EXPRENT_ANNOTATION);
|
super(EXPRENT_ANNOTATION);
|
||||||
this.className = className;
|
this.className = className;
|
||||||
this.parNames = parNames;
|
this.parNames = parNames;
|
||||||
|
|||||||
Reference in New Issue
Block a user