diff options
Diffstat (limited to 'src/Java/JavaDocumentationBuilder.kt')
-rw-r--r-- | src/Java/JavaDocumentationBuilder.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Java/JavaDocumentationBuilder.kt b/src/Java/JavaDocumentationBuilder.kt index 00a7f3ac..7987a416 100644 --- a/src/Java/JavaDocumentationBuilder.kt +++ b/src/Java/JavaDocumentationBuilder.kt @@ -292,7 +292,7 @@ public class JavaDocumentationBuilder(private val options: DocumentationOptions, private fun PsiField.nodeKind(): Kind = when { this is PsiEnumConstant -> Kind.EnumItem - hasModifierProperty(PsiModifier.STATIC) -> Kind.DefaultObjectProperty + hasModifierProperty(PsiModifier.STATIC) -> Kind.CompanionObjectProperty else -> Kind.Property } @@ -311,7 +311,7 @@ public class JavaDocumentationBuilder(private val options: DocumentationOptions, private fun PsiMethod.nodeKind(): Kind = when { isConstructor() -> Kind.Constructor - hasModifierProperty(PsiModifier.STATIC) -> Kind.DefaultObjectFunction + hasModifierProperty(PsiModifier.STATIC) -> Kind.CompanionObjectFunction else -> Kind.Function } |