Skip to content

Commit

Permalink
Remove final from Statement subtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
sschr15 committed Aug 18, 2024
1 parent fe081e8 commit 4a9d982
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.ArrayList;
import java.util.List;

public final class BasicBlockStatement extends Statement {
public class BasicBlockStatement extends Statement {

// *****************************************************************************
// private fields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.List;
import java.util.Set;

public final class CatchAllStatement extends Statement {
public class CatchAllStatement extends Statement {

private Statement handler;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.util.List;
import java.util.Set;

public final class CatchStatement extends Statement {
public class CatchStatement extends Statement {
private final List<List<String>> exctstrings = new ArrayList<>();
private final List<VarExprent> vars = new ArrayList<>();
private final List<Exprent> resources = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import java.util.List;

// Loop statement
public final class DoStatement extends Statement {
public class DoStatement extends Statement {
public enum Type {
INFINITE, DO_WHILE, WHILE, FOR, FOR_EACH
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import java.util.BitSet;

public final class DummyExitStatement extends Statement {
public class DummyExitStatement extends Statement {
public BitSet bytecode = null; // offsets of bytecode instructions mapped to dummy exit

public DummyExitStatement() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.util.Set;


public final class GeneralStatement extends Statement {
public class GeneralStatement extends Statement {
private boolean placeholder;

// *****************************************************************************
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.util.List;


public final class IfStatement extends Statement {
public class IfStatement extends Statement {

public static final int IFTYPE_IF = 0;
public static final int IFTYPE_IFELSE = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import java.util.LinkedHashSet;
import java.util.Set;

public final class RootStatement extends Statement {
public class RootStatement extends Statement {
private final DummyExitStatement dummyExit;
public final StructMethod mt;
public Set<String> commentLines = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import java.util.List;


public final class SequenceStatement extends Statement {
public class SequenceStatement extends Statement {


// *****************************************************************************
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import java.util.*;
import java.util.stream.Collectors;

public final class SwitchStatement extends Statement {
public class SwitchStatement extends Statement {

// *****************************************************************************
// private fields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import java.util.List;


public final class SynchronizedStatement extends Statement {
public class SynchronizedStatement extends Statement {

private Statement body;

Expand Down

0 comments on commit 4a9d982

Please sign in to comment.