From 84a858d52cbd9202bb6d0e4945e7ed7d1a914b2e Mon Sep 17 00:00:00 2001 From: Steven Arzt Date: Mon, 23 Sep 2024 14:12:30 +0200 Subject: [PATCH] added a missing class --- .../java/soot/ISootClassAddedListener.java | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/main/java/soot/ISootClassAddedListener.java diff --git a/src/main/java/soot/ISootClassAddedListener.java b/src/main/java/soot/ISootClassAddedListener.java new file mode 100644 index 00000000000..5599a8bdbdc --- /dev/null +++ b/src/main/java/soot/ISootClassAddedListener.java @@ -0,0 +1,41 @@ +package soot; + +/*- + * #%L + * Soot - a J*va Optimization Framework + * %% + * Copyright (C) 2002 Ondrej Lhotak + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + +/** + * Interface to notify client code that a new class has been added to the scene + * + * @author Steven Arzt + * + */ +public interface ISootClassAddedListener { + + /** + * Callback that is invoked when a SootClass has been added to the scene + * + * @param sc + * The SootClass that as been added + */ + public void onSootClassAdded(SootClass sc); + +}