mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 23:30:46 +00:00
More documentation.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user