More documentation.

This commit is contained in:
Jindra Petřík
2024-08-08 19:27:14 +02:00
parent 68954e714d
commit b57e38e387
286 changed files with 11752 additions and 3576 deletions
@@ -20,19 +20,45 @@ import java.util.HashSet;
import java.util.Set;
/**
*
* State of throwing exception in a method.
* @author JPEXS
*/
public class ThrowState {
/**
* Exception id
*/
public int exceptionId;
/**
* Throw state
*/
public int state;
/**
* Throwing parts
*/
public Set<GraphPart> throwingParts = new HashSet<>();
/**
* Target part
*/
public GraphPart targetPart;
/**
* Start part
*/
public GraphPart startPart;
/**
* Catch parts
*/
public Set<GraphPart> catchParts = new HashSet<>();
/**
* Hash code
* @return Hash code
*/
@Override
public int hashCode() {
int hash = 3;
@@ -40,6 +66,11 @@ public class ThrowState {
return hash;
}
/**
* Equals
* @param obj Object
* @return True if equals
*/
@Override
public boolean equals(Object obj) {
if (this == obj) {