CS-Notes/docs/_style/prism-master/tests/languages/java/issue1351.test
2018-12-19 14:09:39 +08:00

28 lines
682 B
Java

public class AllChangesIndexer extends SiteIndexer<Change.Id, ChangeData, ChangeIndex> {
----------------------------------------------------
[
["keyword", "public"],
["keyword", "class"],
["class-name", "AllChangesIndexer"],
["keyword", "extends"],
["class-name", "SiteIndexer"],
["generics", [
["punctuation", "<"],
["class-name", "Change"],
["punctuation", "."],
["class-name", "Id"],
["punctuation", ","],
["class-name", "ChangeData"],
["punctuation", ","],
["class-name", "ChangeIndex"],
["punctuation", ">"]
]],
["punctuation", "{"]
]
----------------------------------------------------
Checks for generics. See #1351