Uses of Class
soot.SootClass

Packages that use SootClass
soot Base Soot classes, shared by different intermediate representations. 
soot.baf Public classes for the Baf intermediate representation. 
soot.baf.internal Internal, messy, implementation-specific classes for the Baf intermediate representation. 
soot.coffi Contains classes from the Coffi tool, by Clark Verbrugge. 
soot.dava   
soot.dava.toolkits.base.finders   
soot.grimp Public classes for the Grimp intermediate representation. 
soot.grimp.internal Internal, messy, implementation-specific classes for the Grimp intermediate representation. 
soot.javaToJimple   
soot.jimple Public classes for the Jimple intermediate representation. 
soot.jimple.internal Internal, messy, implementation-specific classes for the Jimple intermediate representation. 
soot.jimple.parser An interface to the Jimple parser. 
soot.jimple.spark.builder   
soot.jimple.toolkits.annotation.arraycheck Classes that carry out an analysis to determine whether or not array bounds checks are necessary. 
soot.jimple.toolkits.base A toolkit to optimize the Jimple IR. 
soot.jimple.toolkits.invoke A toolkit to deal with Jimple and invoke statements. 
soot.jimple.toolkits.typing Implements a typing algorithm for Jimple. 
soot.tagkit Classes supporting classfile annotation in Soot. 
soot.xml   
 

Uses of SootClass in soot
 

Fields in soot declared as SootClass
protected  SootClass AbstractTrap.exception
          The exception being caught.
protected  SootClass SootClass.superClass
           
protected  SootClass SootClass.outerClass
           
 

Methods in soot that return SootClass
 SootClass AbstractTrap.getException()
           
 SootClass ClassMember.getDeclaringClass()
          Returns the SootClass declaring this one.
 SootClass Hierarchy.getLeastCommonSuperclassOf(SootClass c1, SootClass c2)
          Returns the most specific type which is an ancestor of both c1 and c2.
 SootClass RefType.getSootClass()
          Get the SootClass object corresponding to this RefType.
 SootClass Scene.getMainClass()
           
 SootClass Scene.tryLoadClass(String className, int desiredLevel)
          Attempts to load the given class and all of the required support classes.
 SootClass Scene.loadClassAndSupport(String className)
          Loads the given class and all of the required support classes.
 SootClass Scene.loadClass(String className, int desiredLevel)
           
 SootClass Scene.getSootClass(String className)
          Returns the SootClass with the given className.
 SootClass SootClass.getSuperclass()
          WARNING: interfaces are subclasses of the java.lang.Object class! Returns the superclass of this class.
 SootClass SootClass.getOuterClass()
           
 SootClass SootField.getDeclaringClass()
           
 SootClass SootFieldRef.declaringClass()
           
 SootClass SootMethod.getDeclaringClass()
          Returns the class which declares the current SootMethod.
 SootClass SootMethodRef.declaringClass()
           
 SootClass SootResolver.makeClassRef(String className)
          Returns a (possibly not yet resolved) SootClass to be used in references to a class.
 SootClass SootResolver.resolveClass(String className, int desiredLevel)
          Resolves the given class.
 SootClass Trap.getException()
          Returns the exception being caught.
 

Methods in soot with parameters of type SootClass
 void AbstractTrap.setException(SootClass exception)
           
abstract  List ClassSource.resolve(SootClass sc)
          Resolve the class into the SootClass sc.
 List CoffiClassSource.resolve(SootClass sc)
           
 List EntryPoints.clinitsOf(SootClass cl)
          Returns a list of all clinits of class cl and its superclasses.
protected  int FastHierarchy.dfsVisit(int start, SootClass c)
           
 boolean FastHierarchy.isSubclass(SootClass child, SootClass parent)
          Return true if class child is a subclass of class parent, neither of them being allowed to be interfaces.
 Set FastHierarchy.getAllImplementersOfInterface(SootClass parent)
          For an interface parent (MUST be an interface), returns set of all implementers of it but NOT their subclasses.
protected  Set FastHierarchy.getAllSubinterfaces(SootClass parent)
          For an interface parent (MUST be an interface), returns set of all subinterfaces.
protected  boolean FastHierarchy.canStoreClass(SootClass child, SootClass parent)
          Given an object of declared type child, returns true if the object can be stored in a variable of type parent.
 Set FastHierarchy.resolveAbstractDispatch(SootClass abstractType, SootMethod m)
          Given an object of declared type C, returns the methods which could be called on an o.f() invocation.
 SootMethod FastHierarchy.resolveConcreteDispatch(SootClass concreteType, SootMethod m)
          Given an object of actual type C (o = new C()), returns the method which will be called on an o.f() invocation.
 Collection FastHierarchy.getSubclassesOf(SootClass c)
           
 List Hierarchy.getSubclassesOfIncluding(SootClass c)
          Returns a list of subclasses of c, including itself.
 List Hierarchy.getSubclassesOf(SootClass c)
          Returns a list of subclasses of c, excluding itself.
 List Hierarchy.getSuperclassesOfIncluding(SootClass c)
          Returns a list of superclasses of c, including itself.
 List Hierarchy.getSuperclassesOf(SootClass c)
          Returns a list of strict superclasses of c, starting with c's parent.
 List Hierarchy.getSubinterfacesOfIncluding(SootClass c)
          Returns a list of subinterfaces of c, including itself.
 List Hierarchy.getSubinterfacesOf(SootClass c)
          Returns a list of subinterfaces of c, excluding itself.
 List Hierarchy.getSuperinterfacesOf(SootClass c)
          Returns a list of superinterfaces of c, excluding itself.
 List Hierarchy.getDirectSuperclassesOf(SootClass c)
          Returns a list of direct superclasses of c, excluding c.
 List Hierarchy.getDirectSubclassesOf(SootClass c)
          Returns a list of direct subclasses of c, excluding c.
 List Hierarchy.getDirectSubclassesOfIncluding(SootClass c)
          Returns a list of direct subclasses of c, including c.
 List Hierarchy.getDirectSuperinterfacesOf(SootClass c)
          Returns a list of direct superinterfaces of c.
 List Hierarchy.getDirectSubinterfacesOf(SootClass c)
          Returns a list of direct subinterfaces of c.
 List Hierarchy.getDirectSubinterfacesOfIncluding(SootClass c)
          Returns a list of direct subinterfaces of c, including itself.
 List Hierarchy.getDirectImplementersOf(SootClass i)
          Returns a list of direct implementers of c, excluding itself.
 List Hierarchy.getImplementersOf(SootClass i)
          Returns a list of implementers of c, excluding itself.
 boolean Hierarchy.isClassSubclassOf(SootClass child, SootClass possibleParent)
          Returns true if child is a subclass of possibleParent.
 boolean Hierarchy.isClassSubclassOfIncluding(SootClass child, SootClass possibleParent)
          Returns true if child is, or is a subclass of, possibleParent.
 boolean Hierarchy.isClassDirectSubclassOf(SootClass c, SootClass c2)
          Returns true if child is a direct subclass of possibleParent.
 boolean Hierarchy.isClassSuperclassOf(SootClass parent, SootClass possibleChild)
          Returns true if child is a superclass of possibleParent.
 boolean Hierarchy.isClassSuperclassOfIncluding(SootClass parent, SootClass possibleChild)
          Returns true if parent is, or is a superclass of, possibleChild.
 boolean Hierarchy.isInterfaceSubinterfaceOf(SootClass child, SootClass possibleParent)
          Returns true if child is a subinterface of possibleParent.
 boolean Hierarchy.isInterfaceDirectSubinterfaceOf(SootClass child, SootClass possibleParent)
          Returns true if child is a direct subinterface of possibleParent.
 SootClass Hierarchy.getLeastCommonSuperclassOf(SootClass c1, SootClass c2)
          Returns the most specific type which is an ancestor of both c1 and c2.
 SootMethod Hierarchy.resolveConcreteDispatch(SootClass concreteType, SootMethod m)
          Given an object of actual type C (o = new C()), returns the method which will be called on an o.f() invocation.
 List Hierarchy.resolveAbstractDispatch(SootClass c, SootMethod m)
          Given an abstract dispatch to an object of type c and a method m, gives a list of possible receiver methods.
 List JavaClassSource.resolve(SootClass sc)
           
 List JimpleClassSource.resolve(SootClass sc)
           
 void Printer.printTo(SootClass cl, PrintWriter out)
           
 void Printer.writeXXXDeprecated(SootClass cl, String outputDir)
          Writes the class out to a file.
static RefType RefType.v(SootClass c)
          Create a RefType for a class.
 void RefType.setSootClass(SootClass sootClass)
          Set the SootClass object corresponding to this RefType.
 void Scene.setMainClass(SootClass m)
           
 void Scene.addClass(SootClass c)
           
 void Scene.removeClass(SootClass c)
           
 SootMethodRef Scene.makeMethodRef(SootClass declaringClass, String name, List parameterTypes, Type returnType, boolean isStatic)
          Create an unresolved reference to a method.
 SootMethodRef Scene.makeConstructorRef(SootClass declaringClass, List parameterTypes)
          Create an unresolved reference to a constructor.
 SootFieldRef Scene.makeFieldRef(SootClass declaringClass, String name, Type type, boolean isStatic)
          Create an unresolved reference to a field.
 void SootClass.addInterface(SootClass interfaceClass)
          Add the given class to the list of interfaces which are directly implemented by this class.
 void SootClass.removeInterface(SootClass interfaceClass)
          Removes the given class from the list of interfaces which are direclty implemented by this class.
 void SootClass.setSuperclass(SootClass c)
          Sets the superclass of this class.
 void SootClass.setOuterClass(SootClass c)
           
static String SootField.getSignature(SootClass cl, String name, Type type)
           
 void SootMethod.setDeclaringClass(SootClass declClass)
          Nomair A.
 void SootMethod.addExceptionIfAbsent(SootClass e)
          Adds the given exception to the list of exceptions thrown by this method unless the exception is already in the list.
 void SootMethod.addException(SootClass e)
          Adds the given exception to the list of exceptions thrown by this method.
 void SootMethod.removeException(SootClass e)
          Removes the given exception from the list of exceptions thrown by this method.
 boolean SootMethod.throwsException(SootClass e)
          Returns true if this method throws exception e.
static String SootMethod.getSignature(SootClass cl, String name, List params, Type returnType)
           
 void SootResolver.reResolveHierarchy(SootClass sc)
           
 void SootResolver.reResolve(SootClass cl)
           
 String SourceLocator.getFileNameFor(SootClass c, int rep)
           
 void Trap.setException(SootClass exception)
          Sets the exception being caught to exception.
static boolean TrapManager.isExceptionCaughtAt(SootClass e, Unit u, Body b)
          If exception e is caught at unit u in body b, return true; otherwise, return false.
 void XMLAttributesPrinter.printAttrs(SootClass c, TagCollector tc)
           
 void XMLAttributesPrinter.printAttrs(SootClass c)
           
 

Constructors in soot with parameters of type SootClass
AbstractJasminClass(SootClass sootClass)
           
AbstractTrap(SootClass exception, UnitBox beginUnitBox, UnitBox endUnitBox, UnitBox handlerUnitBox)
          Creates an AbstractTrap with the given exception, handler, begin and end units.
 

Uses of SootClass in soot.baf
 

Methods in soot.baf with parameters of type SootClass
 Trap Baf.newTrap(SootClass exception, Unit beginUnit, Unit endUnit, Unit handlerUnit)
          Constructs a new BTrap for the given exception on the given Unit range with the given Unit handler.
 

Constructors in soot.baf with parameters of type SootClass
JasminClass(SootClass sootClass)
           
 

Uses of SootClass in soot.baf.internal
 

Constructors in soot.baf.internal with parameters of type SootClass
BTrap(SootClass exception, Unit beginStmt, Unit endStmt, Unit handlerStmt)
           
 

Uses of SootClass in soot.coffi
 

Methods in soot.coffi with parameters of type SootClass
 void Util.resolveFromClassFile(SootClass aClass, InputStream is, List references)
           
 

Uses of SootClass in soot.dava
 

Methods in soot.dava with parameters of type SootClass
 void DavaPrinter.printTo(SootClass cl, PrintWriter out)
           
 void DavaStaticBlockCleaner.staticBlockInlining(SootClass sootClass)
           
 

Uses of SootClass in soot.dava.toolkits.base.finders
 

Methods in soot.dava.toolkits.base.finders that return SootClass
 SootClass ExceptionNode.get_Exception()
           
 SootClass ExceptionNode.get_Exception(IterableSet catchBody)
           
 

Methods in soot.dava.toolkits.base.finders with parameters of type SootClass
 void ExceptionNode.add_CatchBody(IterableSet newCatchBody, SootClass except)
           
 

Constructors in soot.dava.toolkits.base.finders with parameters of type SootClass
ExceptionNode(IterableSet tryBody, SootClass exception, AugmentedStmt handlerAugmentedStmt)
           
 

Uses of SootClass in soot.grimp
 

Methods in soot.grimp with parameters of type SootClass
 Trap Grimp.newTrap(SootClass exception, Unit beginStmt, Unit endStmt, Unit handlerStmt)
          Constructs a new Trap for the given exception on the given Stmt range with the given Stmt handler.
 

Uses of SootClass in soot.grimp.internal
 

Constructors in soot.grimp.internal with parameters of type SootClass
GTrap(SootClass exception, Unit beginStmt, Unit endStmt, Unit handlerStmt)
           
 

Uses of SootClass in soot.javaToJimple
 

Methods in soot.javaToJimple that return SootClass
 SootClass InnerClassInfo.getOuterClass()
           
 

Methods in soot.javaToJimple with parameters of type SootClass
protected  void ClassResolver.addSourceFileTag(SootClass sc)
          adds source file tag to each sootclass
 List InitialResolver.resolveFromJavaFile(SootClass sc)
           
 boolean InitialResolver.hasClassInnerTag(SootClass sc, String innerName)
           
static void Util.addInnerClassTag(SootClass sc, String innerName, String outerName, String simpleName, int access)
           
static String Util.getSourceFileOfClass(SootClass sootClass)
           
 

Constructors in soot.javaToJimple with parameters of type SootClass
InnerClassInfo(SootClass outerClass, String simpleName, int innerType)
           
PrivateFieldAccMethodSource(Type fieldType, String fieldName, boolean isStatic, SootClass classToInvoke)
           
 

Uses of SootClass in soot.jimple
 

Methods in soot.jimple with parameters of type SootClass
 Trap Jimple.newTrap(SootClass exception, Unit beginStmt, Unit endStmt, Unit handlerStmt)
          Constructs a new JTrap for the given exception on the given Stmt range with the given Stmt handler.
 Trap Jimple.newTrap(SootClass exception, UnitBox beginStmt, UnitBox endStmt, UnitBox handlerStmt)
           
protected  void ReachingTypeDumper.handleClass(PrintWriter out, SootClass c)
           
 

Constructors in soot.jimple with parameters of type SootClass
JasminClass(SootClass sootClass)
           
 

Uses of SootClass in soot.jimple.internal
 

Constructors in soot.jimple.internal with parameters of type SootClass
JTrap(SootClass exception, Unit beginStmt, Unit endStmt, Unit handlerStmt)
           
JTrap(SootClass exception, UnitBox beginStmt, UnitBox endStmt, UnitBox handlerStmt)
           
 

Uses of SootClass in soot.jimple.parser
 

Methods in soot.jimple.parser that return SootClass
 SootClass JimpleAST.createSootClass()
          Reads an entire class from jimple, creates the Soot objects & returns it.
static SootClass Parse.parse(InputStream istream, SootClass sc)
           
 SootClass Walker.getSootClass()
           
 

Methods in soot.jimple.parser with parameters of type SootClass
 void JimpleAST.getSkeleton(SootClass sc)
          Applies a SkeletonExtractorWalker to the given SootClass, using the given Resolver to resolve the reference types it contains.
static SootClass Parse.parse(InputStream istream, SootClass sc)
           
 

Constructors in soot.jimple.parser with parameters of type SootClass
BodyExtractorWalker(SootClass sc, SootResolver resolver, Map methodToParsedBodyMap)
          Constructs a walker, and attaches it to the given SootClass, sending bodies to the given methodToParsedBodyMap.
SkeletonExtractorWalker(SootResolver aResolver, SootClass aSootClass)
           
Walker(SootClass sc, SootResolver resolver)
           
 

Uses of SootClass in soot.jimple.spark.builder
 

Methods in soot.jimple.spark.builder with parameters of type SootClass
protected  void ContextInsensitiveBuilder.handleClass(SootClass c)
           
 

Uses of SootClass in soot.jimple.toolkits.annotation.arraycheck
 

Methods in soot.jimple.toolkits.annotation.arraycheck with parameters of type SootClass
protected  void ClassFieldAnalysis.internalTransform(SootClass c)
           
 

Uses of SootClass in soot.jimple.toolkits.base
 

Methods in soot.jimple.toolkits.base that return SootClass
 SootClass ExceptionCheckerError.excType()
           
 

Methods in soot.jimple.toolkits.base with parameters of type SootClass
protected  boolean ExceptionChecker.isThrowDeclared(Body b, SootClass throwClass)
           
 void ExceptionCheckerError.excType(SootClass sc)
           
 

Constructors in soot.jimple.toolkits.base with parameters of type SootClass
ExceptionCheckerError(SootMethod m, SootClass sc, Stmt s, SourceLnPosTag pos)
           
 

Uses of SootClass in soot.jimple.toolkits.invoke
 

Methods in soot.jimple.toolkits.invoke with parameters of type SootClass
static boolean AccessManager.isAccessLegal(SootMethod container, SootClass target)
          Returns true if an access to target is legal from code in container.
static boolean AccessManager.ensureAccess(SootMethod container, SootClass target, String options)
          Modifies code so that an access to target is legal from code in container.
 SootMethod SynchronizerManager.getClassFetcherFor(SootClass c)
          Finds a method which calls java.lang.Class.forName(String).
 SootMethod SynchronizerManager.createClassFetcherFor(SootClass c, String methodName)
          Creates a method which calls java.lang.Class.forName(String).
 

Uses of SootClass in soot.jimple.toolkits.typing
 

Methods in soot.jimple.toolkits.typing with parameters of type SootClass
 soot.jimple.toolkits.typing.TypeVariable TypeResolver.typeVariable(SootClass sootClass)
          Get type variable for the given soot class.
 soot.jimple.toolkits.typing.TypeVariableBV TypeResolverBV.typeVariable(SootClass sootClass)
          Get type variable for the given soot class.
 

Uses of SootClass in soot.tagkit
 

Methods in soot.tagkit that return SootClass
 SootClass OuterClassTag.getOuterClass()
           
 

Constructors in soot.tagkit with parameters of type SootClass
OuterClassTag(SootClass outer, String simpleName, boolean anon)
           
 

Uses of SootClass in soot.xml
 

Methods in soot.xml with parameters of type SootClass
 void TagCollector.collectTags(SootClass sc)
           
 void TagCollector.collectKeyTags(SootClass sc)
           
 void XMLPrinter.printJimpleStyleTo(SootClass cl, PrintWriter out)