Skip to content

Commit

Permalink
fixes #230: Suite documentation display does not include @params
Browse files Browse the repository at this point in the history
  • Loading branch information
S1artie committed Feb 27, 2019
1 parent 76c387f commit dbeb0da
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,17 @@ public String getDocumentation(EObject anObjectOrProxy) {
SuiteDefinition tempSuiteDefinition = (SuiteDefinition) anObjectOrProxy;
ParsedDocumentationComment tempParsedComment = new ParsedDocumentationComment(
tempSuiteDefinition.getDocumentation(),
modelSourceExplorer.determineSourceInformation(tempSuiteDefinition.getDocumentation()));
return tempParsedComment.getDocumentationText();
modelSourceExplorer.determineSourceInformation(tempSuiteDefinition.getDocumentation()),
false);
return tempParsedComment.getJavadocStyleFullDocumentation();
} else if (anObjectOrProxy instanceof VariableEntity) {
if (anObjectOrProxy.eContainer() instanceof SuiteParameterDefinition) {
SuiteDefinition tempSuiteDefinition = (SuiteDefinition) anObjectOrProxy.eContainer()
.eContainer();
SuiteDefinition tempSuiteDefinition
= (SuiteDefinition) anObjectOrProxy.eContainer().eContainer();
if (tempSuiteDefinition.getDocumentation() != null) {
ParsedDocumentationComment tempParsedComment = new ParsedDocumentationComment(
tempSuiteDefinition.getDocumentation(),
modelSourceExplorer.determineSourceInformation(tempSuiteDefinition));
ParsedDocumentationComment tempParsedComment
= new ParsedDocumentationComment(tempSuiteDefinition.getDocumentation(),
modelSourceExplorer.determineSourceInformation(tempSuiteDefinition));
return tempParsedComment.getParameterDocumentationTexts()
.get(((VariableEntity) anObjectOrProxy).getName());
}
Expand Down

0 comments on commit dbeb0da

Please sign in to comment.