From 259f33f9df519b2ce1f6a45f01a819ffe922ff9e Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Tue, 8 Aug 2017 17:29:32 +0300 Subject: [PATCH] add clarifying javadoc --- .../src/com/intellij/codeInspection/ProblemDescriptor.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/analysis-api/src/com/intellij/codeInspection/ProblemDescriptor.java b/platform/analysis-api/src/com/intellij/codeInspection/ProblemDescriptor.java index 63f08181893b..f5e4cdb5e05e 100644 --- a/platform/analysis-api/src/com/intellij/codeInspection/ProblemDescriptor.java +++ b/platform/analysis-api/src/com/intellij/codeInspection/ProblemDescriptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2013 JetBrains s.r.o. + * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,6 +32,9 @@ public interface ProblemDescriptor extends CommonProblemDescriptor{ PsiElement getStartElement(); PsiElement getEndElement(); TextRange getTextRangeInElement(); + /** + * @return 0-based line number of the problem + */ int getLineNumber(); @NotNull ProblemHighlightType getHighlightType();