Skip to content

Commit 08bebe5

Browse files
dasMajojdek
authored andcommitted
Add record support
1 parent d221cac commit 08bebe5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/com/unity/lookup/BaseLookup.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@ public abstract class BaseLookup<T extends Element> {
2929
protected final Map<ElementKind, String> elementKindLookup = new HashMap<>() {{
3030
put(ElementKind.PACKAGE, "Namespace");
3131
put(ElementKind.CLASS, "Class");
32+
put(ElementKind.RECORD, "Class");
3233
put(ElementKind.ENUM, "Enum");
3334
put(ElementKind.ENUM_CONSTANT, "Field");
3435
put(ElementKind.INTERFACE, "Interface");
3536
put(ElementKind.ANNOTATION_TYPE, "Interface");
3637
put(ElementKind.CONSTRUCTOR, "Constructor");
3738
put(ElementKind.METHOD, "Method");
3839
put(ElementKind.FIELD, "Field");
40+
put(ElementKind.RECORD_COMPONENT, "Field");
3941
}};
4042

4143
protected Map<T, ExtendedMetadataFileItem> map = new HashMap<>();

0 commit comments

Comments
 (0)