Skip to content

Commit 3baf036

Browse files
committed
fix javadoc
1 parent 795e1cf commit 3baf036

File tree

14 files changed

+28
-29
lines changed

14 files changed

+28
-29
lines changed

key.core.example/src/main/java/org/key_project/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static void main(String[] args) {
5757
*
5858
* @param location the Path with the path to the source directory of the Java project
5959
* to be verified
60-
* @return the {@KeYEnvironment} that provides the context for all following verification tasks
60+
* @return the {@link KeYEnvironment} that provides the context for all following verification tasks
6161
* @throws ProblemLoaderException if the setup fails
6262
*/
6363
private static KeYEnvironment<?> setupEnvironment(Path location) throws ProblemLoaderException {

key.core/src/main/java/de/uka/ilkd/key/java/NameAbstractionTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void add(SourceElement pe1, SourceElement pe2) {
4343
*
4444
* @param pe0 SourceElement
4545
* @param pe1 SourceElement
46-
* @returns true if the pe1 and pe2 have been assigned to the same name
46+
* @return true if the pe1 and pe2 have been assigned to the same name
4747
*/
4848
public boolean sameAbstractName(SourceElement pe0, SourceElement pe1) {
4949
if (declarations0 != null) {

key.core/src/main/java/de/uka/ilkd/key/java/Services.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ public void setFactory(ITermProgramVariableCollectorFactory factory) {
453453
/**
454454
* sets the factory for origin term labels
455455
*
456-
* @param originFactory the {@OriginTermLabelFactory} to use, if null is passed, origin labels
456+
* @param originFactory the {@link OriginTermLabelFactory} to use, if null is passed, origin labels
457457
* should not be created
458458
*/
459459
public void setOriginFactory(OriginTermLabelFactory originFactory) {

key.core/src/main/java/de/uka/ilkd/key/java/recoderext/MethodBodyStatement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void setBodySource(TypeReference bodySource) {
7474
/**
7575
* Get the exact Class the denoted method body is from.
7676
*
77-
* @returns the TypeReference
77+
* @return the TypeReference
7878
*/
7979

8080
public TypeReference getBodySource() {

key.core/src/main/java/de/uka/ilkd/key/scripts/meta/ValueInjector.java

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import java.util.stream.Collectors;
1111

1212
import de.uka.ilkd.key.scripts.ProofScriptCommand;
13+
import org.jspecify.annotations.Nullable;
1314

1415
/**
1516
* @author Alexander Weigl
@@ -252,16 +253,14 @@ public <R, T> void addConverter(Converter<R, T> conv) {
252253
converters.put(new ConverterKey<>(m.getReturnType(), m.getParameterTypes()[0]), conv);
253254
}
254255

255-
/**
256-
* Finds a converter for the given class.
257-
*
258-
* @param <T> an arbitrary type
259-
* @param ret a non-null class
260-
* @param arg
261-
* @return null or a suitable converter (registered) converter for the requested class.
262-
*/
256+
/// Finds a converter for the conversion of `arg` classes to `ret` classes.
257+
///
258+
/// @param <T> an arbitrary type
259+
/// @param ret target class from which `arg` should be translated
260+
/// @param arg class of original class
261+
/// @return null or a suitable converter (registered) converter for the requested class.
263262
@SuppressWarnings("unchecked")
264-
public <R, T> Converter<R, T> getConverter(Class<R> ret, Class<T> arg) {
263+
public <R, T> @Nullable Converter<R, T> getConverter(Class<R> ret, Class<T> arg) {
265264
return (Converter<R, T>) converters.get(new ConverterKey<>(ret, arg));
266265
}
267266

key.core/src/main/java/de/uka/ilkd/key/smt/AbstractSMTTranslator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2256,7 +2256,7 @@ protected final StringBuilder translateFunc(Operator o, ArrayList<StringBuilder>
22562256
* translate a bsum function. Alos add the created functionsymbol created depending on the term.
22572257
*
22582258
* @param bsumterm The term used as third argument of the bsum function.
2259-
* @pram sub The two terms used as first and second argument of the bsum operator.
2259+
* @param sub The two terms used as first and second argument of the bsum operator.
22602260
* @return
22612261
*/
22622262
protected final StringBuilder translateBsumFunction(JTerm bsumterm,
@@ -2294,7 +2294,7 @@ protected final StringBuilder translateBsumFunction(JTerm bsumterm,
22942294
* term.
22952295
*
22962296
* @param bprodterm The term used as third argument of the bsum function.
2297-
* @pram sub The two terms used as first and second argument of the bsum operator.
2297+
* @param sub The two terms used as first and second argument of the bsum operator.
22982298
* @return
22992299
*/
23002300
protected final StringBuilder translateBprodFunction(JTerm bprodterm,
@@ -2330,7 +2330,7 @@ protected final StringBuilder translateBprodFunction(JTerm bprodterm,
23302330
*
23312331
* @param op the operator used for this function.
23322332
* @param sorts the list of sort parameter of this function
2333-
* @result the function's result sort
2333+
* @return the function's result sort
23342334
*/
23352335
private void addFunction(Operator op, ArrayList<Sort> sorts, Sort result, Services services) {
23362336
if (!this.functionDecls.containsKey(op)) {

key.core/src/main/java/de/uka/ilkd/key/smt/lang/SMTSort.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
*
1010
*
11-
* @authors Aboubakr Achraf El Ghazi and Fikri Kabakcha
11+
* @author Aboubakr Achraf El Ghazi, Fikri Kabakcha
1212
*
1313
*/
1414
public class SMTSort {

key.core/src/test/java/de/uka/ilkd/key/smt/test/SMTTestCommons.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ protected ProofAggregate parse(Path file) {
118118
* @param file problem file.
119119
* @param pro determines the profile that should be used.
120120
* @return ProofAggregate of the problem file.
121-
* @profile determines the profile that should be used.
122121
*/
123122
protected ProofAggregate parse(Path file, Profile pro) {
124123
assertTrue(Files.exists(file));

key.removegenerics/src/main/java/de/uka/ilkd/key/util/removegenerics/ResolveMemberReference.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,9 @@ public ProblemReport analyze() {
150150
* return true iff the reference is a lhs of an assignment: Either an assignment operator or
151151
* ???.
152152
*
153-
* @todo
154-
*
155153
* @param reference
156154
* @return true iff the reference is a lhs of an assignment: Either an assignment operator or
157155
* ???.
158-
*
159156
*/
160157
private static boolean isLHS(Reference reference) {
161158
NonTerminalProgramElement parent = reference.getASTParent();
@@ -229,7 +226,7 @@ private Type getFormalType() {
229226
* <li>MethodReference as parameter</li>
230227
* </ul>
231228
*
232-
* @todo DAS IST JA WOHL NOCH NICHT
229+
* todo DAS IST JA WOHL NOCH NICHT
233230
*
234231
* @return the resolved type
235232
*/

key.ui/src/main/java/de/uka/ilkd/key/gui/settings/SettingsPanel.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@ protected SettingsPanel() {
5252
}
5353

5454
/**
55-
* @param info
56-
* @return
55+
* Factory method for the construction of informational displays using
56+
* text areas.
57+
*
58+
* @param info information to be shown
59+
* @return a new {@link JTextArea} showing the given information
5760
*/
5861
protected static JTextArea createInfoArea(String info) {
5962
JTextArea textArea = new JTextArea(info);

0 commit comments

Comments
 (0)