mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Quickfix that adds missing parameters in BDD step definitions inserts types in docstring
Finally removed method StructuredDocString#createParameterType.
This commit is contained in:
@@ -25,14 +25,6 @@ import java.util.List;
|
||||
* @author vlan
|
||||
*/
|
||||
public interface StructuredDocString {
|
||||
/**
|
||||
* Creates parameter type documentation specific for certain doct type
|
||||
* @param name param name
|
||||
* @param type param type
|
||||
* @return text to add to docsting
|
||||
*/
|
||||
@NotNull
|
||||
String createParameterType(@NotNull String name, @NotNull String type);
|
||||
|
||||
String getSummary();
|
||||
String getDescription(); // for formatter
|
||||
|
||||
@@ -66,12 +66,6 @@ public class PlainDocString extends DocStringLineParser implements StructuredDoc
|
||||
return false;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public String createParameterType(@NotNull String name, @NotNull String type) {
|
||||
return "";
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public List<String> getParameters() {
|
||||
|
||||
@@ -263,12 +263,6 @@ public abstract class SectionBasedDocString extends DocStringLineParser implemen
|
||||
return Collections.unmodifiableList(mySections);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public String createParameterType(@NotNull String name, @NotNull String type) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getSummary() {
|
||||
return mySummary != null ? mySummary.concatTrimmedLines("\n") : "";
|
||||
|
||||
@@ -74,12 +74,6 @@ public abstract class TagBasedDocString extends DocStringLineParser implements S
|
||||
|
||||
public abstract List<String> getAdditionalTags();
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public String createParameterType(@NotNull final String name, @NotNull final String type) {
|
||||
return myTagPrefix + TYPE + String.format(" %s %s", name, type);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return myDescription;
|
||||
|
||||
Reference in New Issue
Block a user