Skip to content

Commit

Permalink
Merge pull request #2028 from MarcMil/use-ordinary-maps
Browse files Browse the repository at this point in the history
Do not number SootClasses
  • Loading branch information
StevenArzt authored Nov 22, 2023
2 parents faf3249 + 18d1194 commit 8698b75
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/main/java/soot/SootClass.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package soot;


/*-
* #%L
* Soot - a J*va Optimization Framework
Expand Down Expand Up @@ -39,7 +40,6 @@
import soot.util.Chain;
import soot.util.EmptyChain;
import soot.util.HashChain;
import soot.util.Numberable;
import soot.util.NumberedString;
import soot.util.SmallNumberedMap;
import soot.validation.ClassFlagsValidator;
Expand Down Expand Up @@ -68,7 +68,7 @@
* Soot representation of a Java class. They are usually created by a Scene, but can also be constructed manually through the
* given constructors.
*/
public class SootClass extends AbstractHost implements Numberable {
public class SootClass extends AbstractHost {
private static final Logger logger = LoggerFactory.getLogger(SootClass.class);

public final static String INVOKEDYNAMIC_DUMMY_CLASS_NAME = "soot.dummy.InvokeDynamic";
Expand Down Expand Up @@ -1202,16 +1202,6 @@ public boolean isStatic() {
return Modifier.isStatic(this.getModifiers());
}

@Override
public final int getNumber() {
return number;
}

@Override
public void setNumber(int number) {
this.number = number;
}

public void rename(String newName) {
this.name = newName;
// resolvingLevel = BODIES;
Expand Down

0 comments on commit 8698b75

Please sign in to comment.