Remove empty and irrelevant javadoc tags

GitOrigin-RevId: dcbbb8cff7ef267525129c464769f761d92c2120
This commit is contained in:
Tagir Valeev
2022-08-09 09:58:59 +02:00
committed by intellij-monorepo-bot
parent b1cabf3ae6
commit 9038e3f77b
290 changed files with 5 additions and 527 deletions

View File

@@ -167,7 +167,6 @@ public final class NameResolverTools {
* Checks if some string contains last component one of name
*
* @param text test to check
* @param names
*/
public static boolean isContainsName(@NotNull final String text, @NotNull final FQNamesProvider names) {
for (final String lastComponent : getLastComponents(names)) {
@@ -182,7 +181,6 @@ public final class NameResolverTools {
* Checks if some file contains last component one of name
*
* @param file file to check
* @param names
*/
public static boolean isContainsName(@NotNull final PsiFile file, @NotNull final FQNamesProvider names) {
return isContainsName(file.getText(), names);

View File

@@ -30,7 +30,6 @@ public enum AccessDirection {
DELETE;
/**
* @param element
* @return the access direction of element, judging from surrounding statements.
*/
public static AccessDirection of(PyElement element) {

View File

@@ -61,7 +61,6 @@ public enum FutureFeature {
}
/**
* @param level
* @return true iff the feature can either be imported from __future__ at given level, or is already built-in.
*/
public boolean availableAt(@NotNull LanguageLevel level) {
@@ -69,7 +68,6 @@ public enum FutureFeature {
}
/**
* @param level
* @return true iff the feature is already present (required) at given level, and there's no need to import it.
*/
public boolean requiredAt(@NotNull LanguageLevel level) {

View File

@@ -73,7 +73,6 @@ public interface PyClass extends PsiNameIdentifierOwner, PyStatement, PyDocStrin
*
* @see #getSuperClassTypes(TypeEvalContext) for the full list of super classes.
* @see #getAncestorTypes(TypeEvalContext) for the full list of ancestors.
* @param context
*/
PyClass @NotNull [] getSuperClasses(@Nullable TypeEvalContext context);
@@ -162,7 +161,6 @@ public interface PyClass extends PsiNameIdentifierOwner, PyStatement, PyDocStrin
* Finds a property with the specified name in the class or one of its ancestors.
*
* @param name of the property
* @param inherited
* @param context type eval (null to use loose context, but you better provide one)
* @return descriptor of property accessors, or null if such property does not exist.
*/
@@ -232,7 +230,6 @@ public interface PyClass extends PsiNameIdentifierOwner, PyStatement, PyDocStrin
PyClass findNestedClass(String name, boolean inherited);
/**
* @param context
* @return true if the class is new-style and descends from 'object'.
*/
boolean isNewStyleClass(TypeEvalContext context);
@@ -257,7 +254,6 @@ public interface PyClass extends PsiNameIdentifierOwner, PyStatement, PyDocStrin
Property findPropertyByCallable(PyCallable callable);
/**
* @param parent
* @return True iff this and parent are the same or parent is one of our superclasses.
*/
boolean isSubclass(PyClass parent, @Nullable TypeEvalContext context);

View File

@@ -26,7 +26,6 @@ public interface PyCallableType extends PyType {
* Returns the return type of a function independent of a call site.
*
* For example, it may return a generic type.
* @param context
*/
@Nullable
PyType getReturnType(@NotNull TypeEvalContext context);

View File

@@ -37,8 +37,6 @@ public interface PyType {
*
* @param name attribute name
* @param location the expression of type qualifierType on which the member is being resolved (optional)
* @param direction
* @param resolveContext
* @return null if name definitely cannot be found (e.g. in a qualified reference),
* or an empty list if name is not found but other contexts are worth looking at,
* or a list of elements that define the name, a la multiResolve().