Skip to content

Commit

Permalink
Re-add final to types that reasonably should never need subclassing /…
Browse files Browse the repository at this point in the history
… are treated specially
  • Loading branch information
sschr15 committed Aug 18, 2024
1 parent 4a9d982 commit 907fe7d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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 class BasicBlockStatement extends Statement {
public final class BasicBlockStatement extends Statement {

// *****************************************************************************
// private fields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import java.util.BitSet;

public class DummyExitStatement extends Statement {
public final 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 class GeneralStatement extends Statement {
public final class GeneralStatement extends Statement {
private boolean placeholder;

// *****************************************************************************
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 class RootStatement extends Statement {
public final class RootStatement extends Statement {
private final DummyExitStatement dummyExit;
public final StructMethod mt;
public Set<String> commentLines = null;
Expand Down

0 comments on commit 907fe7d

Please sign in to comment.