Skip to content

Commit 010545f

Browse files
author
Hélios GILLES
committed
Fix missing code minning on enum, interface, annotation and record
1 parent 52eb1a1 commit 010545f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

org.moreunit.plugin/src/org/moreunit/codemining/MoreUnitCodeMiningProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ else if((element.getElementType() != IJavaElement.METHOD))
8787
if(element instanceof IType)
8888
{
8989
IType type = (IType) element;
90-
if(type.isClass())
90+
if(type.isClass() || type.isEnum() || type.isInterface() || type.isRecord() || type.isAnnotation())
9191
{
9292
addMining = true;
9393
}

0 commit comments

Comments
 (0)