From 39aaa17635c6e67a409daec579999debf487d644 Mon Sep 17 00:00:00 2001
From: Richard Bubel
- *
*
* If the symbolic execution stops at the return statement, two memory layouts are possible. In the
@@ -68,15 +69,17 @@
* The following code snippet shows how to use this class:
*
*
- * public class Example {
- * private int value;
+ * {
+ * @code
+ * public class Example {
+ * private int value;
*
- * private Example next;
+ * private Example next;
*
- * public static int main(Example e) {
- * e.value = 1;
- * e.next.value = 2;
- * return e.value + e.next.value; // Current node in KeY's proof tree
- * }
+ * public static int main(Example e) {
+ * e.value = 1;
+ * e.next.value = 2;
+ * return e.value + e.next.value; // Current node in KeY's proof tree
+ * }
+ * }
* }
- *
*
- *
*
*
- * SymbolicLayoutExtractor e = new SymbolicLayoutExtractor(node);
- * e.analyse();
- * for (int i = 0; i < e.getLayoutsCount(); i++) {
- * ImmutableList<ISymbolicEquivalenceClass> equivalenceClasses = e.getEquivalenceClasses(i);
- * ISymbolicLayout initial = e.getInitialLayout(i);
- * ISymbolicLayout current = e.getCurrentLayout(i);
+ * {
+ * @code
+ * SymbolicLayoutExtractor e = new SymbolicLayoutExtractor(node);
+ * e.analyse();
+ * for (int i = 0; i < e.getLayoutsCount(); i++) {
+ * ImmutableList<ISymbolicEquivalenceClass> equivalenceClasses = e.getEquivalenceClasses(i);
+ * ISymbolicLayout initial = e.getInitialLayout(i);
+ * ISymbolicLayout current = e.getCurrentLayout(i);
+ * }
* }
- *
+ *
diff --git a/key.core.symbolic_execution/src/main/java/de/uka/ilkd/key/symbolic_execution/po/ProgramMethodPO.java b/key.core.symbolic_execution/src/main/java/de/uka/ilkd/key/symbolic_execution/po/ProgramMethodPO.java index 1056f15b599..53e80b46f2b 100644 --- a/key.core.symbolic_execution/src/main/java/de/uka/ilkd/key/symbolic_execution/po/ProgramMethodPO.java +++ b/key.core.symbolic_execution/src/main/java/de/uka/ilkd/key/symbolic_execution/po/ProgramMethodPO.java @@ -42,17 +42,22 @@ * The generated {@link Sequent} has the following form: * *
- ** * diff --git a/key.core.symbolic_execution/src/main/java/de/uka/ilkd/key/symbolic_execution/po/ProgramMethodSubsetPO.java b/key.core.symbolic_execution/src/main/java/de/uka/ilkd/key/symbolic_execution/po/ProgramMethodSubsetPO.java index 838022ca795..ba8232f5f3e 100644 --- a/key.core.symbolic_execution/src/main/java/de/uka/ilkd/key/symbolic_execution/po/ProgramMethodSubsetPO.java +++ b/key.core.symbolic_execution/src/main/java/de/uka/ilkd/key/symbolic_execution/po/ProgramMethodSubsetPO.java @@ -38,11 +38,18 @@ * position of the previous statement is exactly the start position of the following statement. * *+ * {@code * ==> - * <generalAssumptions> & - * <preconditions> + *
+ *& + * * -> - * <updatesToStoreInitialValues> - * <modalityStart> - * exc=null;try {<methodBodyStatement>}catch(java.lang.Exception e) {exc = e} - * <modalityEnd> - * (exc = null & <postconditions > & <optionalUninterpretedPredicate>) - * + * + * exc=null; + * try { + * + * } catch(java.lang.Exception e) { + * exc = e + * } + * + * (exc = null & & ) + * } *
- * Imagine the following snippet:
To execute only the last two statements a user would select intuitively the source
+ * Imagine the following snippet:
+ *
+ *
- * int x = 1; // from 3/59 to 4/16
- * int y = 2; // from 4/16 to 5/16
- * int z = 3; // from 5/16 to 6/16
- *
+ * { + * @code + * int x = 1; // from 3/59 to 4/16 + * int y = 2; // from 4/16 to 5/16 + * int z = 3; // from 5/16 to 6/16 + * } + *+ * + * To execute only the last two statements a user would select intuitively the source * range 5/0 to 6/16 (the text without leading white space) which matches exactly the used selection * definition. * @@ -50,17 +57,22 @@ * The generated {@link Sequent} has the following form: * *
- ** * diff --git a/key.core/src/main/java/de/uka/ilkd/key/java/ContextStatementBlock.java b/key.core/src/main/java/de/uka/ilkd/key/java/ContextStatementBlock.java index 1dd0d76426a..408d81bbdb1 100644 --- a/key.core/src/main/java/de/uka/ilkd/key/java/ContextStatementBlock.java +++ b/key.core/src/main/java/de/uka/ilkd/key/java/ContextStatementBlock.java @@ -16,9 +16,12 @@ import org.key_project.util.ExtList; /** - * In the DL-formulae description of Taclets the program part can have the following form < pi - * alpha;...; omega > Phi where pi is a prefix consisting of open brackets, try's and so on and - * omega is the rest of the program. Between the prefix pi and the postfix omega there can stand an + * In the DL-formulae description of Taclets the program part can have the following form + * {@code < pi + * alpha;...; omega > Phi} where {@code pi} is a prefix consisting of open brackets, {@code try}'s + * and so on and + * omega is the rest of the program. Between the prefix {@code pi} and the postfix {@code omega} + * there can stand an * arbitrary program. This pattern is realized using this class. */ diff --git a/key.core/src/main/java/de/uka/ilkd/key/java/JavaInfo.java b/key.core/src/main/java/de/uka/ilkd/key/java/JavaInfo.java index c0cfecba621..7703c9f34d3 100644 --- a/key.core/src/main/java/de/uka/ilkd/key/java/JavaInfo.java +++ b/key.core/src/main/java/de/uka/ilkd/key/java/JavaInfo.java @@ -1472,7 +1472,7 @@ public IObserverFunction getStaticInv(KeYJavaType target) { } /** - * Returns the special symbol+ * {@code * ==> - * <generalAssumptions> & - * <preconditions> + *
+ *& + * * -> - * <updatesToStoreInitialValues> - * <modalityStart> - * exc=null;try {<methodFrame><selectedStatements>}catch(java.lang.Exception e) {exc = e} - * <modalityEnd> - * (exc = null & <postconditions > & <optionalUninterpretedPredicate>) - * + * + * exc=null; + * try { + * + * } catch(java.lang.Exception e) { + * exc = e + * } + * + * (exc = null & & ) + * } *
<$inv_free>
which stands for the static
+ * Returns the special symbol {@code <$inv_free&>}, which stands for the static
* invariant of a type.
*/
public IObserverFunction getStaticInvFree(KeYJavaType target) {
diff --git a/key.core/src/main/java/de/uka/ilkd/key/java/Recoder2KeYConverter.java b/key.core/src/main/java/de/uka/ilkd/key/java/Recoder2KeYConverter.java
index 8e21443c5ea..cc46b246c27 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/java/Recoder2KeYConverter.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/java/Recoder2KeYConverter.java
@@ -195,7 +195,7 @@ private CrossReferenceServiceConfiguration getServiceConfiguration() {
}
/**
- * retrieve the recoder<->key mapping from the associated Recoder2KeY.
+ * retrieve the recoder {@code <->} key mapping from the associated Recoder2KeY.
*
* @return the mapping, not null.
*/
@@ -584,7 +584,7 @@ private Constructor> getKeYClassConstructor(
}
/**
- * store an element to the recoder<->key mapping.
+ * store an element to the recoder {@code <->} key mapping.
*
* @param r the recoder element (not null)
* @param k the key element (not null)
diff --git a/key.core/src/main/java/de/uka/ilkd/key/java/declaration/ParameterDeclaration.java b/key.core/src/main/java/de/uka/ilkd/key/java/declaration/ParameterDeclaration.java
index 0ef03c77656..75c08a72be7 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/java/declaration/ParameterDeclaration.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/java/declaration/ParameterDeclaration.java
@@ -11,7 +11,8 @@
import org.key_project.util.collection.ImmutableArray;
/**
- * Formal parameters require a VariableSpecificationList of size() <= 1 (size() == 0 for abstract
+ * Formal parameters require a VariableSpecificationList of {@code size() <= 1} ({@code size() == 0}
+ * for abstract
* methods) without initializer (for Java).
*/
public class ParameterDeclaration extends VariableDeclaration {
diff --git a/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/Ccatch.java b/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/Ccatch.java
index 61e55c05026..719a0bdd510 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/Ccatch.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/Ccatch.java
@@ -200,7 +200,7 @@ public int getChildPositionCode(ProgramElement child) {
* the replaced child is left untouched.
*
* @param p the old child.
- * @param p the new child.
+ * @param q the new child.
* @return true if a replacement has occured, false otherwise.
* @exception ClassCastException if the new child cannot take over the role of the old one.
*/
diff --git a/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/CcatchBreakLabelParameterDeclaration.java b/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/CcatchBreakLabelParameterDeclaration.java
index 0d05a0c9076..187680e608a 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/CcatchBreakLabelParameterDeclaration.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/CcatchBreakLabelParameterDeclaration.java
@@ -78,7 +78,7 @@ public int getChildPositionCode(ProgramElement child) {
* the replaced child is left untouched.
*
* @param p the old child.
- * @param p the new child.
+ * @param q the new child.
* @return true if a replacement has occured, false otherwise.
* @exception ClassCastException if the new child cannot take over the role of the old one.
*/
diff --git a/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/CcatchContinueLabelParameterDeclaration.java b/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/CcatchContinueLabelParameterDeclaration.java
index b1b75b5c5ac..c808cbaff9a 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/CcatchContinueLabelParameterDeclaration.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/CcatchContinueLabelParameterDeclaration.java
@@ -78,7 +78,7 @@ public int getChildPositionCode(ProgramElement child) {
* the replaced child is left untouched.
*
* @param p the old child.
- * @param p the new child.
+ * @param q the new child.
* @return true if a replacement has occured, false otherwise.
* @exception ClassCastException if the new child cannot take over the role of the old one.
*/
diff --git a/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/CcatchReturnValParameterDeclaration.java b/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/CcatchReturnValParameterDeclaration.java
index 13704cad358..702541dbc64 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/CcatchReturnValParameterDeclaration.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/CcatchReturnValParameterDeclaration.java
@@ -115,7 +115,7 @@ public int getChildPositionCode(ProgramElement child) {
* the replaced child is left untouched.
*
* @param p the old child.
- * @param p the new child.
+ * @param q the new child.
* @return true if a replacement has occured, false otherwise.
* @exception ClassCastException if the new child cannot take over the role of the old one.
*/
diff --git a/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/ConstructorNormalformBuilder.java b/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/ConstructorNormalformBuilder.java
index f204a773ee4..345a89bb8c9 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/ConstructorNormalformBuilder.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/java/recoderext/ConstructorNormalformBuilder.java
@@ -22,8 +22,8 @@
/**
* Transforms the constructors of the given class to their normalform. The constructor normalform
- * can then be accessed via a methodcall <init>. The visibility of the
- * normalform is the same as for the original constructor.
+ * can then be accessed via a methodcall {@code ;:}.
*/
public Choice(String choice, String category) {
this(new Name(category + ":" + choice), category);
diff --git a/key.core/src/main/java/de/uka/ilkd/key/logic/op/Equality.java b/key.core/src/main/java/de/uka/ilkd/key/logic/op/Equality.java
index cb75edd182a..89b5f6c6b7e 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/logic/op/Equality.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/logic/op/Equality.java
@@ -8,10 +8,12 @@
/**
- * This class defines the equality operator "=". It is a binary predicate accepting arbitrary terms
+ * This class defines the equality operator {@code ==}. It is a binary predicate accepting arbitrary
+ * terms
* (sort "any") as arguments.
*
- * It also defines the formula equivalence operator "<->" (which could alternatively be seen as a
+ * It also defines the formula equivalence operator {@code <->} (which could alternatively be seen
+ * as a
* Junctor).
*/
public final class Equality extends AbstractSortedOperator {
@@ -22,8 +24,9 @@ public final class Equality extends AbstractSortedOperator {
public static final Equality EQUALS = new Equality(new Name("equals"), Sort.ANY);
/**
- * the usual 'equivalence' operator '<->' (be A, B formulae then 'A <-> B' is true if and only
- * if A and B have the same truth value
+ * the usual 'equivalence' operator {@code <->} (be {@code A, B} formulae then {@code A <-> B}
+ * is true
+ * if and only if {@code A} and {@code B} have the same truth value
*/
public static final Equality EQV = new Equality(new Name("equiv"), Sort.FORMULA);
diff --git a/key.core/src/main/java/de/uka/ilkd/key/logic/op/Modality.java b/key.core/src/main/java/de/uka/ilkd/key/logic/op/Modality.java
index f27939106a9..be24ee83a7b 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/logic/op/Modality.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/logic/op/Modality.java
@@ -18,7 +18,8 @@ public final class Modality extends AbstractSortedOperator {
private static final Map nameMap = new LinkedHashMap<>(10);
/**
- * The diamond operator of dynamic logic. A formula Phi can be read as after processing
+ * The diamond operator of dynamic logic. A formula {@code Phi} can be read as after
+ * processing
* the program alpha there exists a state such that Phi holds.
*/
public static final Modality DIA = new Modality(new Name("diamond"));
diff --git a/key.core/src/main/java/de/uka/ilkd/key/logic/op/Quantifier.java b/key.core/src/main/java/de/uka/ilkd/key/logic/op/Quantifier.java
index 7dc70bca526..5d19f12697c 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/logic/op/Quantifier.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/logic/op/Quantifier.java
@@ -15,14 +15,17 @@ public final class Quantifier extends AbstractSortedOperator {
public static final Name EX_NAME = new Name("exists");
/**
- * the usual 'forall' operator 'all' (be A a formula then 'all x.A' is true if and only if for
- * all elements d of the universe A{x<-d} (x substituted with d) is true
+ * the usual {@code forall} operator 'all' (be A a formula then {@code forall x.A} is true if
+ * and only if for
+ * all elements d of the universe {@code A{x<-d}} (x substituted with d) is true
*/
public static final Quantifier ALL = new Quantifier(ALL_NAME);
/**
- * the usual 'exists' operator 'ex' (be A a formula then 'ex x.A' is true if and only if there
- * is at least one elements d of the universe such that A{x<-d} (x substituted with d) is true
+ * the usual {@code exists}-operator (be {@code A} a formula then {@code exists x; A} is true if
+ * and only if there
+ * is at least one element d of the universe such that {@code A{x<-d}} (x substituted with d) is
+ * true
*/
public static final Quantifier EX = new Quantifier(EX_NAME);
diff --git a/key.core/src/main/java/de/uka/ilkd/key/logic/op/SubstOp.java b/key.core/src/main/java/de/uka/ilkd/key/logic/op/SubstOp.java
index 8dc187f808f..c4107835584 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/logic/op/SubstOp.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/logic/op/SubstOp.java
@@ -39,9 +39,11 @@ public Sort sort(ImmutableArray terms) {
/**
- * @return true iff the sort of the subterm 0 of the given term has the same sort as or a
- * subsort of the variable to be substituted and the term's arity is 2 and the numer of
- * variables bound there is 0 for the 0th subterm and 1 for the 1st subterm.
+ * checks whether the sort of the subterm 0 of the given term has the same sort as or a
+ * subsort of the variable to be substituted and the term's arity is 2 and the number of
+ * variables bound there is 0 for the 0th subterm and 1 for the 1st subterm.
+ *
+ * @throws TermCreationException if the check fails
*/
@Override
protected void additionalValidTopLevel(Term term) {
diff --git a/key.core/src/main/java/de/uka/ilkd/key/logic/op/WarySubstOp.java b/key.core/src/main/java/de/uka/ilkd/key/logic/op/WarySubstOp.java
index 5ddb7b56c30..697c482eed4 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/logic/op/WarySubstOp.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/logic/op/WarySubstOp.java
@@ -12,7 +12,8 @@
public final class WarySubstOp extends SubstOp {
/**
- * the wary substitution operator {var<-term}'. {x<-d}'A(x) means replace all free occurrences
+ * the wary substitution operator {@code {var<-term}'}. {@code {x<-d}'A(x)} means replace all
+ * free occurrences
* of variable x in A with d, however without replacing x with a non-rigid A below modalities
*/
public static final SubstOp SUBST = new WarySubstOp(new Name("subst"));
diff --git a/key.core/src/main/java/de/uka/ilkd/key/pp/LogicPrinter.java b/key.core/src/main/java/de/uka/ilkd/key/pp/LogicPrinter.java
index e42e7ee8cdd..9ae40374f80 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/pp/LogicPrinter.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/pp/LogicPrinter.java
@@ -1345,7 +1345,7 @@ public void printPostfixTerm(Term t, int ass, String name) {
* the format is like
*
*
- * p & q
+ * {@code p & q}
*
*
* The subterms are printed using {@link #printTermContinuingBlock(Term)}.
diff --git a/key.core/src/main/java/de/uka/ilkd/key/pp/NotationInfo.java b/key.core/src/main/java/de/uka/ilkd/key/pp/NotationInfo.java
index 7dae46511af..fd9313c37fb 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/pp/NotationInfo.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/pp/NotationInfo.java
@@ -29,50 +29,52 @@
* The Notation associated with an operator might change. New Notations can be added.
*
*
- * The next lines describe a general rule how to determine priorities and associativities:
+ * The next lines describe a general rule how to determine priorities and associativity:
*
* One thing we need to know from the pretty printer: Given a term t containg s as
* proper subterm. Then s is printed in parentheses when the priority of the top level
* symbol of s is strict less than the associativity of the position where s
* occurs. For example:
*
- * Let the priority of AND be 30 and the associativities for each of its subterms
- * be 40; ORs priority is 20 and the associativites are both 30 then
+ * Let the priority of AND be 30 and the associativity for each of its subterms
+ * be 40; ORs priority is 20 and the associativity are both 30 then
*
- * - formula (p & q) | r is pretty printed as p & q | r as the priority of & is
+ *
- formula {@code (p & q) | r} is pretty printed as {@code p & q | r} as the priority of
+ * {@code &} is
* 30 which is (greater or) equal than the associativity of ORs left subterm which is
* 30.
- * - In contrast the formula p & (q | r) is pretty printed as p & (q | r) as the
+ *
- In contrast the formula {@code p & (q | r)} is pretty printed as {@code p & (q | r)} as the
* priority of OR is 20 which is less than the associativity of ANDs left subterm,
* which is 40.
*
*
* A general rule to determine the correct priority and associativity is to use:
- *
+ *
* Grammar rules whose derivation delivers a syntactical correct logic term should follow a standard
* numbering scheme, which is used as indicator for priorities and associativites, e.g. by simply
- * reading the grammar rule
term60 ::= term70 (IMP term70)?
we get
+ * reading the grammar rule {@code term60 ::= term70 (IMP term70)?}
we get
* the priority of IMP, which is 60. The associativities of IMPs subterms
* are not much more difficult to determine, namely the left subterm has associativity 70
* and in this case its the same for the right subterm (70).
+ *
*
* There are exceptional cases for
*
* - infix function symbols that are left associative e.g.
-, +
- * term90 ::= term100 (PLUS term100)*
then the associative for the right
+ * {@code term90 ::= term100 (PLUS term100)* } then the associative for the right
* subterm is increased by 1, i.e. here we have a priority of 90 for PLUS
* as infix operator, a left associativity of 100 and a right associativity of
* 101
- * - update and substituition terms: for them their associativity is determined dynamically by the
+ *
- update and substitution terms: for them their associativity is determined dynamically by the
* pretty printer depending if it is applied on a formula or term. In principal there should be two
* different rules in the parser as then we could reuse the general rule from above, but there are
* technical reasons which causes this exception.
* - some very few rules do not follow the usual parser design e.g. like
- *
R_PRIO ::= SubRule_ASS1 | SubRule_ASS2
where
- * SubRule_ASS2 ::= OP SubRule_ASS1
Most of these few rules could
+ * {@code R_PRIO ::= SubRule_ASS1 | SubRule_ASS2 }
where
+ * {@code SubRule_ASS2 ::= OP SubRule_ASS1}
Most of these few rules could
* in general be rewritten to fit the usual scheme e.g. as
- * R_PRIO ::= (OP)? SubRule_ASS1
using the priorities and
- * associativities of the so rewritten rules (instead of rewriting them actually) is a way to cope
+ * {@code R_PRIO ::= (OP)? SubRule_ASS1}
using the priorities and
+ * associativity of the so rewritten rules (instead of rewriting them actually) is a way to cope
* with them.
*
*/
diff --git a/key.core/src/main/java/de/uka/ilkd/key/proof/Counter.java b/key.core/src/main/java/de/uka/ilkd/key/proof/Counter.java
index 8d9bd600257..b52df2e0996 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/proof/Counter.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/proof/Counter.java
@@ -4,7 +4,7 @@
package de.uka.ilkd.key.proof;
-/** Proof-specific counter object: taclet names, var names, node numbers, &c */
+/** Proof-specific counter object: taclet names, var names, node numbers, etc */
public class Counter {
private final String name;
diff --git a/key.core/src/main/java/de/uka/ilkd/key/proof/init/AbstractOperationPO.java b/key.core/src/main/java/de/uka/ilkd/key/proof/init/AbstractOperationPO.java
index f13232bdf7e..2d9beca1832 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/proof/init/AbstractOperationPO.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/proof/init/AbstractOperationPO.java
@@ -43,17 +43,22 @@
* The generated {@link Sequent} has the following form:
*
*
- *
+ * {@code
* ==>
- * <generalAssumptions> &
- * <preconditions>
+ * &
+ *
* ->
- * <updatesToStoreInitialValues>
- * <modalityStart>
- * exc=null;try {<customCode>}catch(java.lang.Throwable e) {exc = e}
- * <modalityEnd>
- * (exc = null & <postconditions > & <optionalUninterpretedPredicate>)
- *
+ *
+ *
+ * exc=null;
+ * try {
+ *
+ * } catch (java.lang.Throwable e) {
+ * exc = e
+ * }
+ *
+ * (exc = null & & )
+ * }
*
*
*
diff --git a/key.core/src/main/java/de/uka/ilkd/key/proof/init/FunctionalOperationContractPO.java b/key.core/src/main/java/de/uka/ilkd/key/proof/init/FunctionalOperationContractPO.java
index eac95d0d8ae..b00fe7b6233 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/proof/init/FunctionalOperationContractPO.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/proof/init/FunctionalOperationContractPO.java
@@ -45,17 +45,17 @@
* The generated {@link Sequent} has the following form:
*
*
- *
+ * {@code
* ==>
- * <generalAssumptions> &
- * <preconditions>
+ * &
+ *
* ->
- * <updatesToStoreInitialValues>
- * <modalityStart>
- * exc=null;try {<methodBodyExpand>}catch(java.lang.Throwable e) {exc = e}
- * <modalityEnd>
- * (exc = null & <postconditions > & <optionalUninterpretedPredicate>)
- *
+ *
+ *
+ * exc=null;try {}catch(java.lang.Throwable e) {exc = e}
+ *
+ * (exc = null & & )
+ * }
*
*
*/
diff --git a/key.core/src/main/java/de/uka/ilkd/key/proof/init/WellDefinednessPO.java b/key.core/src/main/java/de/uka/ilkd/key/proof/init/WellDefinednessPO.java
index 4bf418301d7..474bca4516d 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/proof/init/WellDefinednessPO.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/proof/init/WellDefinednessPO.java
@@ -34,13 +34,13 @@
* The generated {@link Sequent} has the following form:
*
*
- *
+ * {@code
* ==>
- * WD(<generalAssumptions> && <preconditions>) &
- * (<generalAssumptions> & <preconditions>
- * -> WD(<otherClauses>) &
- * {anon^assignable}WD(<postconditions>)
- *
+ * WD( && ) &
+ * ( &
+ * -> WD() &
+ * {anon^assignable}WD()
+ * }
*
*
*
diff --git a/key.core/src/main/java/de/uka/ilkd/key/proof/io/IntermediatePresentationProofFileParser.java b/key.core/src/main/java/de/uka/ilkd/key/proof/io/IntermediatePresentationProofFileParser.java
index 9e9645a271d..4e5b2ad248c 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/proof/io/IntermediatePresentationProofFileParser.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/proof/io/IntermediatePresentationProofFileParser.java
@@ -35,6 +35,7 @@
*
*
*
+ * {@code
* BranchNodeIntermediate "dummy ID"
* - AppNodeIntermediate
* - AppNodeIntermediate
@@ -46,6 +47,7 @@
* + BranchNodeIntermediate "x <= 0"
* > AppNodeIntermediate
* > ...
+ * }
*
*
*
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/AbstractLoopInvariantRule.java b/key.core/src/main/java/de/uka/ilkd/key/rule/AbstractLoopInvariantRule.java
index 4397016b196..9fe56d2aa02 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/AbstractLoopInvariantRule.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/AbstractLoopInvariantRule.java
@@ -338,7 +338,7 @@ protected static boolean isModalityTerm(final Term progPost) {
* @param tb The {@link TermBuilder} object.
* @param t1 The first formula of the conjunction; may be null.
* @param t2 The second formula of the conjunction; may not be null.
- * @return Returns t2 if t1 is null and t1 & t2 if both aren't null.
+ * @return returns {@code t2} if {@code t1} is null and {@code t1 & t2} if both aren't null.
*/
protected static Term and(TermBuilder tb, Term t1, Term t2) {
assert t2 != null;
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/AntecTaclet.java b/key.core/src/main/java/de/uka/ilkd/key/rule/AntecTaclet.java
index c4f4e3b4622..758507db4f0 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/AntecTaclet.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/AntecTaclet.java
@@ -29,11 +29,11 @@ public class AntecTaclet extends FindTaclet {
* @param applPart contains the application part of an Taclet that is the if-sequent, the
* variable conditions
* @param goalTemplates a list of goal descriptions.
- * @param heuristics a list of heurisics for the Taclet
- * @param attrs attributes for the Taclet; these are boolean values indicating a noninteractive
+ * @param heuristics a list of heuristics for the Taclet
+ * @param attrs attributes for the Taclet; these are boolean values indicating a non-interactive
* or recursive use of the Taclet.
* @param find the find term of the Taclet
- * @param prefixMap a ImmMap that contains the prefix for each
+ * @param prefixMap a ImmutableMap that contains the prefix for each
* SchemaVariable in the Taclet
*/
public AntecTaclet(Name name, TacletApplPart applPart,
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/FindTaclet.java b/key.core/src/main/java/de/uka/ilkd/key/rule/FindTaclet.java
index b9980078f27..4f191bfb65a 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/FindTaclet.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/FindTaclet.java
@@ -45,12 +45,12 @@ public abstract class FindTaclet extends Taclet {
* conditions
* @param goalTemplates a IList that contains all goaltemplates of the
* taclet (these are the instructions used to create new goals when applying the Taclet)
- * @param ruleSets a IList that contains all rule sets the Taclet is attached to
+ * @param ruleSets a ImmutableList that contains all rule sets the Taclet is attached to
* @param attrs the TacletAttributes encoding if the Taclet is non-interactive, recursive or
* something like that
* @param find the Term that is the pattern that has to be found in a sequent and the places
* where it matches the Taclet can be applied
- * @param prefixMap a ImmMap that contains the prefix for each
+ * @param prefixMap a ImmutableMap that contains the prefix for each
* SchemaVariable in the Taclet
*/
protected FindTaclet(Name name, TacletApplPart applPart,
@@ -69,14 +69,14 @@ protected FindTaclet(Name name, TacletApplPart applPart,
* @param name the Name of the taclet
* @param applPart the TacletApplPart that contains the if-sequent, the not-free and new-vars
* conditions
- * @param goalTemplates a IList that contains all goaltemplates of the
+ * @param goalTemplates an ImmutableList that contains all goaltemplates of the
* taclet (these are the instructions used to create new goals when applying the Taclet)
- * @param ruleSets a IList that contains all rule sets the Taclet is attached to
+ * @param ruleSets an ImmutableList that contains all rule sets the Taclet is attached to
* @param attrs the TacletAttributes encoding if the Taclet is non-interactive, recursive or
* something like that
* @param find the Term that is the pattern that has to be found in a sequent and the places
* where it matches the Taclet can be applied
- * @param prefixMap a ImmMap that contains the prefix for each
+ * @param prefixMap an ImmutableMap that contains the prefix for each
* SchemaVariable in the Taclet
*/
protected FindTaclet(Name name, TacletApplPart applPart,
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/LoopScopeInvariantRule.java b/key.core/src/main/java/de/uka/ilkd/key/rule/LoopScopeInvariantRule.java
index a2455874154..52fa14c216a 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/LoopScopeInvariantRule.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/LoopScopeInvariantRule.java
@@ -63,6 +63,7 @@
*
*
*
+ * {@code
* \Gamma ==> {U}Inv, \Delta
* \Gamma, {U'}Inv ==> \Delta, {U'}[\pi
* boolean x = true;
@@ -72,6 +73,7 @@
* ((x = TRUE -> \phi) & (x = FALSE -> Inv))
* ---------------------------------------------------------- loopInvariant
* \Gamma ==> {U}[\pi l: while (nse) { p } \omega]\phi, Delta
+ * }
*
*
* @author Dominic Scheurer
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/NoFindTaclet.java b/key.core/src/main/java/de/uka/ilkd/key/rule/NoFindTaclet.java
index 8e5296382c7..b16e1f7c7ad 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/NoFindTaclet.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/NoFindTaclet.java
@@ -22,16 +22,17 @@
public class NoFindTaclet extends Taclet {
/**
- * creates a Schematic Theory Specific Rule (Taclet) with the given parameters.
+ * creates a {@link Taclet} (previously Schematic Theory Specific Rule) with the given
+ * parameters.
*
* @param name the name of the Taclet
- * @param applPart contains the application part of an Taclet that is the if-sequent, the
+ * @param applPart contains the application part of a Taclet that is the if-sequent, the
* variable conditions
- * @param goalTemplates the IList containg all goal descriptions of the
+ * @param goalTemplates the IList containing all goal descriptions of the
* taclet to be created
* @param ruleSets a list of rule sets for the Taclet
* @param attrs attributes for the Taclet; these are boolean values
- * @param prefixMap a ImmMap that contains the prefix for each
+ * @param prefixMap a ImmutableMap that contains the prefix for each
* SchemaVariable in the Taclet
* @param choices the SetOf to which this taclet belongs to
*/
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/NoPosTacletApp.java b/key.core/src/main/java/de/uka/ilkd/key/rule/NoPosTacletApp.java
index 61918fb6f5a..746fdc4eeb6 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/NoPosTacletApp.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/NoPosTacletApp.java
@@ -292,8 +292,14 @@ public PosInOccurrence posInOccurrence() {
}
/**
- * PRECONDITION: ifFormulaInstantiations () == null && ( pos == null ||
- * termConstraint.isSatisfiable () )
+ * PRECONDITION:
+ *
+ *
+ * {@code
+ * ifFormulaInstantiations () == null &&
+ * ( pos == null || termConstraint.isSatisfiable () )
+ * }
+ *
*
* @return TacletApp with the resulting instantiations or null
*/
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/QueryExpand.java b/key.core/src/main/java/de/uka/ilkd/key/rule/QueryExpand.java
index 84759d882b1..ab1aff53743 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/QueryExpand.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/QueryExpand.java
@@ -99,11 +99,13 @@ public ImmutableList apply(Goal goal, Services services, RuleApp ruleApp)
* @param services
* @param query The query on which the query expand rule is applied
* @param instVars If null, then the result of the query can be stored in a constant (e.g.
- * res=query(a)). Otherwise it is a list of logical variables that can be instantiated
+ * {@code res=query(a)}). Otherwise, it is a list of logical variables that can be
+ * instantiated
* (using the rules allLeft, exRight) and therefore the result of the query must be
- * stored by function that depends on instVars (e.g. forall i; res(i)=query(i)). The list
- * may be empty even if it not null.
- * @return The formula (!{U}result=res_query) & query()=res_query
+ * stored by function that depends on instVars (e.g. {@code \forall i; res(i)=query(i)}).
+ * The list
+ * may be empty even if it is not null.
+ * @return The formula {@code (!{U}result=res_query) & query()=res_query}
* @author Richard Bubel
* @author gladisch
*/
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/RewriteTaclet.java b/key.core/src/main/java/de/uka/ilkd/key/rule/RewriteTaclet.java
index d3c84aa5691..e8cbd36346c 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/RewriteTaclet.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/RewriteTaclet.java
@@ -46,18 +46,23 @@ public class RewriteTaclet extends FindTaclet {
/**
* If the surrounding formula has been decomposed completely, the find-term will NOT appear on
- * the SUCcedent. The formula "wellformed(h)" in "wellformed(h) ==>" or in "==> wellformed(h) ->
- * (inv(h) = inv(h2))" or in "==> \if(b) \then(!wellformed(h)) \else(!wellformed(h2))" has
- * antecedent polarity. The formula "wellformed(h)" in "wellformed(h) <-> wellformed(h2) ==>"
+ * the SUCcedent. The formula {@code wellformed(h)} in {@code wellformed(h) ==>} or in
+ * {@code ==> wellformed(h) ->
+ * (inv(h) = inv(h2))} or in {@code ==> \if(b) \then(!wellformed(h)) \else(!wellformed(h2))} has
+ * antecedent polarity. The formula {@code wellformed(h)} in
+ * {@code wellformed(h) <-> wellformed(h2) ==>}
* has NO antecedent polarity.
*/
public static final int ANTECEDENT_POLARITY = 4;
/**
* If the surrounding formula has been decomposed completely, the find-term will NOT appear on
- * the ANTEcedent. The formula "wellformed(h)" in "==> wellformed(h)" or in "wellformed(h) ->
- * (inv(h) = inv(h2)) ==>" or in "\if(b) \then(!wellformed(h)) \else(!wellformed(h2)) ==>" has
- * succedent polarity. The formula "wellformed(h)" in "wellformed(h) <-> wellformed(h2) ==>" has
+ * the ANTEcedent. The formula {@code wellformed(h)} in {@code==> wellformed(h)} or in
+ * {@code wellformed(h) ->
+ * (inv(h) = inv(h2)) ==>} or in {@code \if(b) \then(!wellformed(h)) \else(!wellformed(h2)) ==>}
+ * has
+ * succedent polarity. The formula {@code wellformed(h)} in
+ * {@code wellformed(h) <-> wellformed(h2) ==>} has
* NO succedent polarity.
*/
public static final int SUCCEDENT_POLARITY = 8;
@@ -89,7 +94,7 @@ public class RewriteTaclet extends FindTaclet {
* @param attrs the TacletAttributes; these are boolean values indicating a noninteractive or
* recursive use of the Taclet.
* @param find the find term of the Taclet
- * @param prefixMap a ImmMap that contains the prefix for each
+ * @param prefixMap an ImmutableMap that contains the prefix for each
* SchemaVariable in the Taclet
* @param p_applicationRestriction an int defining state restrictions of the taclet (required
* for location check)
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/SuccTaclet.java b/key.core/src/main/java/de/uka/ilkd/key/rule/SuccTaclet.java
index 1a3e5705d11..5d3f3b0ce25 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/SuccTaclet.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/SuccTaclet.java
@@ -23,19 +23,20 @@ public class SuccTaclet extends FindTaclet {
private final boolean ignoreTopLevelUpdates;
/**
- * creates a Schematic Theory Specific Rule (Taclet) with the given parameters that works on the
- * succedent.
+ * creates a {@link Taclet} (old name Schematic Theory Specific Rule) with the given parameters
+ * that works on the succedent.
*
- * @param name the name of the Taclet
- * @param applPart contains the application part of an Taclet that is the if-sequent, the
+ * @param name the name of the {@link Taclet}
+ * @param applPart contains the application part of a taclet that is the if-sequent, the
* variable conditions
* @param goalTemplates a list of goal descriptions.
- * @param heuristics a list of heurisics for the Taclet
- * @param attrs attributes for the Taclet; these are boolean values indicating a noninteractive
+ * @param heuristics a list of heuristics for the Taclet
+ * @param attrs attributes for the Taclet; these are boolean values indicating a non-interactive
* or recursive use of the Taclet.
* @param find the find term of the Taclet
- * @param prefixMap a ImmMap that contains the prefix for each
- * SchemaVariable in the Taclet
+ * @param prefixMap an ImmutableMap from {@link SchemaVariable} to {@link TacletPrefix} that
+ * contains
+ * the prefix for each SchemaVariable in the taclet
*/
public SuccTaclet(Name name, TacletApplPart applPart,
ImmutableList goalTemplates, ImmutableList heuristics,
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/inst/ProgramSVInstantiation.java b/key.core/src/main/java/de/uka/ilkd/key/rule/inst/ProgramSVInstantiation.java
index a5b639ba773..383739c4bdc 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/inst/ProgramSVInstantiation.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/inst/ProgramSVInstantiation.java
@@ -13,7 +13,7 @@
/**
- * this class wrapps a ImmMap and is used to store instantiations
+ * this class wrapps an {@link ImmutableList} and is used to store instantiations
* of schemavariables. The class is immutable, this means changing its content will result in
* creating a new object.
*/
@@ -111,7 +111,7 @@ public JavaProgramElement getInstantiation(SchemaVariable sv) {
/**
* returns iterator of the listped pair (SchemaVariables, JavaProgramElement)
*
- * @return the Iterator>
+ * @return the Iterator
*/
public Iterator iterator() {
return list.iterator();
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/inst/SVInstantiations.java b/key.core/src/main/java/de/uka/ilkd/key/rule/inst/SVInstantiations.java
index fb3da8cf978..8494913ea35 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/inst/SVInstantiations.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/inst/SVInstantiations.java
@@ -30,9 +30,10 @@
import org.key_project.util.collection.ImmutableSLList;
/**
- * This class wraps a ImmMap> and is used to store
- * instantiations of schemavariables. The class is immutable, this means changing its content will
- * result in creating a new object.
+ * This class wraps an {@link ImmutableMap} from {@link SchemaVariable} to
+ * {@link InstantiationEntry}
+ * and is used to store instantiations of schemavariables. The class is immutable,
+ * this means changing its content results in creating a new object.
*/
public class SVInstantiations implements EqualsModProofIrrelevancy {
/** the empty instantiation */
@@ -251,7 +252,7 @@ private SVInstantiations rebuildSorts(Services services) {
* already, the new pair is taken without a warning.
*
* @param sv the SchemaVariable to be instantiated
- * @param entry the InstantiationEntry>
+ * @param entry the InstantiationEntry
* @return SVInstantiations the new SVInstantiations containing the given pair
*/
public SVInstantiations add(SchemaVariable sv, InstantiationEntry> entry, Services services) {
@@ -288,7 +289,7 @@ public SVInstantiations addInteresting(SchemaVariable sv, Name name, Services se
* instantiated already, the new pair is taken without a warning.
*
* @param sv the SchemaVariable to be instantiated
- * @param entry the InstantiationEntry> the SchemaVariable is instantiated with
+ * @param entry the InstantiationEntry the SchemaVariable is instantiated with
*/
public SVInstantiations replace(SchemaVariable sv, InstantiationEntry> entry,
Services services) {
@@ -379,7 +380,8 @@ public boolean isInstantiated(SchemaVariable sv) {
/**
* returns the instantiation of the given SchemaVariable
*
- * @return the InstantiationEntry> the SchemaVariable will be instantiated with, null if no
+ * @return the InstantiationEntry the SchemaVariable will be instantiated with, {@code null} if
+ * no
* instantiation is stored
*/
public InstantiationEntry> getInstantiationEntry(SchemaVariable sv) {
@@ -484,9 +486,9 @@ public Iterator svIterator() {
}
/**
- * returns iterator of the mapped pair (SchemaVariables, InstantiationEntry>)
+ * returns iterator of the mapped pair {@code (SchemaVariables, InstantiationEntry)}
*
- * @return the Iterator>
+ * @return the Iterator
*/
public Iterator>> pairIterator() {
return map.iterator();
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/match/vm/instructions/MatchProgramSVInstruction.java b/key.core/src/main/java/de/uka/ilkd/key/rule/match/vm/instructions/MatchProgramSVInstruction.java
index 07af5f0a484..e37da149324 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/match/vm/instructions/MatchProgramSVInstruction.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/match/vm/instructions/MatchProgramSVInstruction.java
@@ -30,7 +30,7 @@ public MatchProgramSVInstruction(ProgramSV sv) {
/**
* tries to add the pair (this,pe) to the match conditions. If possible the resulting
* match conditions are returned, otherwise null. Such an addition can fail, e.g. if
- * already a pair (this,x) exists where x<>pe
+ * already a pair (this,x) exists where x!=pe
*/
protected MatchConditions addInstantiation(ProgramElement pe, MatchConditions matchCond,
Services services) {
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/merge/CloseAfterMerge.java b/key.core/src/main/java/de/uka/ilkd/key/rule/merge/CloseAfterMerge.java
index b162b10236f..b03fb381602 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/merge/CloseAfterMerge.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/merge/CloseAfterMerge.java
@@ -240,7 +240,8 @@ private Term getSyntacticWeakeningFormula(CloseAfterMergeRuleBuiltInRuleApp clos
* @param constsToReplace Skolem constants to replace before the universal closure.
* @param services The services object.
* @return A new term which is equivalent to the universal closure of the argument term, with
- * Skolem constants in constsToReplace having been replaced by fresh variables before.
+ * Skolem constants in {@code constsToReplace} having been replaced by fresh variables
+ * before.
*/
private Term allClosure(final Term term, final HashSet constsToReplace,
Services services) {
@@ -278,8 +279,9 @@ public IBuiltInRuleApp createApp(PosInOccurrence pos, TermServices services) {
* @param mergeNodeState The SE state for the merge node; needed for adding an implicative
* premise ensuring the soundness of merge rules.
* @param partnerState The SE state for the partner node.
- * @param pc The program counter common to the two states -- a formula of the form U\<{...}\>
- * PHI, where U is an update in normal form and PHI is a DL formula).
+ * @param pc The program counter common to the two states -- a formula of the form
+ * {@code U\<{...}\>
+ * PHI}, where U is an update in normal form and PHI is a DL formula).
* @param newNames The set of new names (of Skolem constants) introduced in the merge.
* @return A complete {@link CloseAfterMergeRuleBuiltInRuleApp}.
*/
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/metaconstruct/UnwindLoop.java b/key.core/src/main/java/de/uka/ilkd/key/rule/metaconstruct/UnwindLoop.java
index 2aa38f06604..e906accd693 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/metaconstruct/UnwindLoop.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/metaconstruct/UnwindLoop.java
@@ -15,11 +15,23 @@
/**
* This class is used to perform program transformations needed for the symbolic execution of a
- * loop. It unwinds the loop: e.g.
+ * loop. It unwinds the loop: e.g.
+ *
+ *
+ * {@code
* while ( i<10 ) {
* i++
* }
- *
becomes if (i<10) l1:{ l2:{ i++; } while (i<10) { i++; } }
+ * }
+ *
+ *
+ * becomes
+ *
+ *
+ * {@code
+ * if (i<10) l1:{ l2:{ i++; } while (i<10) { i++; } }
+ * }
+ *
*
*/
public class UnwindLoop extends ProgramTransformer {
diff --git a/key.core/src/main/java/de/uka/ilkd/key/rule/metaconstruct/WhileLoopTransformation.java b/key.core/src/main/java/de/uka/ilkd/key/rule/metaconstruct/WhileLoopTransformation.java
index 92c05d6ee0c..14bc6a66ec1 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/rule/metaconstruct/WhileLoopTransformation.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/rule/metaconstruct/WhileLoopTransformation.java
@@ -377,7 +377,7 @@ public void performActionOnContinue(Continue x) {
}
}
- /**
+ /*
*
* public void performActionOnFor(For x) { ExtList changeList = stack.peek(); if
* (replaceBreakWithNoLabel==0) { //most outer for loop if (changeList.getFirst() == CHANGED)
diff --git a/key.core/src/main/java/de/uka/ilkd/key/speclang/AbstractAuxiliaryContractImpl.java b/key.core/src/main/java/de/uka/ilkd/key/speclang/AbstractAuxiliaryContractImpl.java
index 58df55115ce..1cb413878ca 100644
--- a/key.core/src/main/java/de/uka/ilkd/key/speclang/AbstractAuxiliaryContractImpl.java
+++ b/key.core/src/main/java/de/uka/ilkd/key/speclang/AbstractAuxiliaryContractImpl.java
@@ -145,7 +145,7 @@ public abstract class AbstractAuxiliaryContractImpl implements AuxiliaryContract
* @param freeModifiesClauses this contract's free modifies clauses on every heap.
* @param infFlowSpecs this contract's information flow specifications.
* @param variables this contract's variables.
- * @param transactionApplicable whether or not this contract is applicable for transactions.
+ * @param transactionApplicable whether this contract is applicable for transactions.
* @param hasMod a map specifying on which heaps this contract has a modified clause.
* @param functionalContracts the functional contracts corresponding to this contract.
*/
@@ -173,7 +173,7 @@ public AbstractAuxiliaryContractImpl(final String baseName, final StatementBlock
assert variables.breakFlags != null;
assert variables.continueFlags != null;
assert variables.exception != null;
- assert variables.remembranceHeaps != null && variables.remembranceHeaps.size() > 0;
+ assert variables.remembranceHeaps != null && !variables.remembranceHeaps.isEmpty();
assert variables.remembranceLocalVariables != null;
this.baseName = baseName;
this.block = block;
@@ -790,7 +790,7 @@ protected Map createReplacementMap(final Term newHeap, final Terms n
* @param baseHeap base heap.
* @param heapLDT heap LDT.
* @param services services.
- * @return a HTML representation of this contract's modifies clauses.
+ * @return an HTML representation of this contract's modifies clauses.
*/
private String getHtmlMods(final LocationVariable baseHeap, final HeapLDT heapLDT,
final Services services) {
@@ -815,7 +815,7 @@ private String getHtmlMods(final LocationVariable baseHeap, final HeapLDT heapLD
* @param baseHeap base heap.
* @param heapLDT heap LDT.
* @param services services.
- * @return a HTML representation of this contract's preconditions.
+ * @return an HTML representation of this contract's preconditions.
*/
private String getHtmlPres(final LocationVariable baseHeap, final HeapLDT heapLDT,
final Services services) {
@@ -835,7 +835,7 @@ private String getHtmlPres(final LocationVariable baseHeap, final HeapLDT heapLD
* @param baseHeap base heap.
* @param heapLDT heap LDT.
* @param services services.
- * @return a HTML representation of this contract's postconditions.
+ * @return an HTML representation of this contract's postconditions.
*/
private String getHtmlPosts(final LocationVariable baseHeap, final HeapLDT heapLDT,
final Services services) {
@@ -1063,7 +1063,7 @@ protected static abstract class Creator extends Ter
* @param returns the contract's postcondition for abrupt termination with {@code return}
* statements.
* @param signals the contract's postcondition for abrupt termination due to abrupt
- * termintation.
+ * termination.
* @param signalsOnly a term specifying which uncaught exceptions may occur.
* @param diverges a diverges clause.
* @param assignables map from every heap to an assignable term.
@@ -1298,7 +1298,7 @@ private Term conditionPostconditions(final Map