Java Doc for Scene.java in  » Code-Analyzer » soot » soot » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Code Analyzer » soot » soot 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   soot.Scene

Scene
public class Scene (Code)
Manages the SootClasses of the application being analyzed.


Field Summary
 booleanallowsPhantomRefs
    
 Chain<SootClass>applicationClasses
    
 ArrayNumbererclassNumberer
    
 Chain<SootClass>classes
    
 NumberercontextNumberer
    
 ArrayNumbererfieldNumberer
    
 ArrayNumbererkindNumberer
    
 Chain<SootClass>libraryClasses
    
 ArrayNumbererlocalNumberer
    
 SootClassmainClass
    
 ArrayNumberermethodNumberer
    
 Chain<SootClass>phantomClasses
    
 ArrayList<String>pkgList
    
 Set<String>reservedNames
    
 StringsootClassPath
    
 StringNumberersubSigNumberer
    
 ArrayNumberertypeNumberer
    
 NumbererunitNumberer
    

Constructor Summary
public  Scene(Singletons.Global g)
    

Method Summary
public  voidaddBasicClass(String name)
    
public  voidaddBasicClass(String name, int level)
    
public  voidaddClass(SootClass c)
    
public  voidaddRefType(RefType type)
     Returns the RefType with the given className.
public  booleanallowsPhantomRefs()
    
public  booleancontainsClass(String className)
    
public  booleancontainsField(String fieldSignature)
    
public  booleancontainsMethod(String methodSignature)
    
public  StringdefaultClassPath()
    
public  booleandoneResolving()
    
public  Collection<SootClass>dynamicClasses()
    
public  HierarchygetActiveHierarchy()
    
public  Chain<SootClass>getApplicationClasses()
     Returns a chain of the application classes in this scene.
public  CallGraphgetCallGraph()
    
public  ArrayNumberergetClassNumberer()
    
public  Chain<SootClass>getClasses()
     Returns an backed chain of the classes in this manager.
public  List/*SootClass*/<SootClass>getClasses(int desiredLevel)
     Returns the list of SootClasses that have been resolved at least to the level specified.
 Chain<SootClass>getContainingChain(SootClass c)
    
public  NumberergetContextNumberer()
    
public  ContextSensitiveCallGraphgetContextSensitiveCallGraph()
    
public  ThrowAnalysisgetDefaultThrowAnalysis()
     Returns the ThrowAnalysis to be used by default when constructing CFGs which include exceptional control flow.
public  List<SootMethod>getEntryPoints()
     Get the set of entry points that are used to build the call graph.
public  FastHierarchygetFastHierarchy()
    
public  SootFieldgetField(String fieldSignature)
    
public  ArrayNumberergetFieldNumberer()
    
public  Chain<SootClass>getLibraryClasses()
     Returns a chain of the library classes in this scene.
public  ArrayNumberergetLocalNumberer()
    
public  SootClassgetMainClass()
    
public  SootMethodgetMainMethod()
    
public  SootMethodgetMethod(String methodSignature)
    
public  ArrayNumberergetMethodNumberer()
    
public  FastHierarchygetOrMakeFastHierarchy()
     Makes a new fast hierarchy is none is active, and returns the active fast hierarchy.
public  Chain<SootClass>getPhantomClasses()
     Returns a chain of the phantom classes in this scene.
public  booleangetPhantomRefs()
    
public  ArrayList<String>getPkgList()
    
public  PointsToAnalysisgetPointsToAnalysis()
    
public  ReachableMethodsgetReachableMethods()
    
public  RefTypegetRefType(String className)
     Returns the RefType with the given className.
public  Set<String>getReservedNames()
     Returns a set of tokens which are reserved.
public  SideEffectAnalysisgetSideEffectAnalysis()
    
public  SootClassgetSootClass(String className)
     Returns the SootClass with the given className.
public  StringgetSootClassPath()
    
public  intgetState()
    
public  StringNumberergetSubSigNumberer()
    
public  ArrayNumberergetTypeNumberer()
    
public  NumberergetUnitNumberer()
    
public  booleanhasActiveHierarchy()
    
public  booleanhasCallGraph()
    
public  booleanhasFastHierarchy()
    
public  booleanhasPointsToAnalysis()
    
public  booleanhasReachableMethods()
    
public  booleanhasSideEffectAnalysis()
    
public  NumbererkindNumberer()
    
public  voidloadBasicClasses()
     Load just the set of basic classes soot needs, ignoring those specified on the command-line.
public  SootClassloadClass(String className, int desiredLevel)
    
public  SootClassloadClassAndSupport(String className)
     Loads the given class and all of the required support classes.
public  voidloadDynamicClasses()
    
public  voidloadNecessaryClasses()
     Load the set of classes that soot needs, including those specified on the command-line.
public  SootMethodRefmakeConstructorRef(SootClass declaringClass, List<Type> parameterTypes)
     Create an unresolved reference to a constructor.
public  SootFieldRefmakeFieldRef(SootClass declaringClass, String name, Type type, boolean isStatic)
     Create an unresolved reference to a field.
public  SootMethodRefmakeMethodRef(SootClass declaringClass, String name, List<Type> parameterTypes, Type returnType, boolean isStatic)
     Create an unresolved reference to a method.
public  StringquotedNameOf(String s)
     If this name is in the set of reserved names, then return a quoted version of it.
public  voidreleaseActiveHierarchy()
    
public  voidreleaseCallGraph()
    
public  voidreleaseFastHierarchy()
    
public  voidreleasePointsToAnalysis()
    
public  voidreleaseReachableMethods()
    
public  voidreleaseSideEffectAnalysis()
    
public  voidremoveClass(SootClass c)
    
public  voidsetActiveHierarchy(Hierarchy hierarchy)
    
public  voidsetCallGraph(CallGraph cg)
    
public  voidsetContextNumberer(Numberer n)
    
public  voidsetContextSensitiveCallGraph(ContextSensitiveCallGraph cscg)
    
public  voidsetDefaultThrowAnalysis(ThrowAnalysis ta)
     Sets the ThrowAnalysis to be used by default when constructing CFGs which include exceptional control flow.
public  voidsetDoneResolving()
    
public  voidsetEntryPoints(List<SootMethod> entryPoints)
     Change the set of entry point methods used to build the call graph.
public  voidsetFastHierarchy(FastHierarchy hierarchy)
    
public  voidsetMainClass(SootClass m)
    
public  voidsetMainClassFromOptions()
    
public  voidsetPhantomRefs(boolean value)
    
public  voidsetPkgList(ArrayList<String> list)
    
public  voidsetPointsToAnalysis(PointsToAnalysis pa)
    
public  voidsetReachableMethods(ReachableMethods rm)
    
public  voidsetSideEffectAnalysis(SideEffectAnalysis sea)
    
public  voidsetSootClassPath(String p)
    
public  StringsignatureToClass(String sig)
    
public  StringsignatureToSubsignature(String sig)
    
public  SootClasstryLoadClass(String className, int desiredLevel)
     Attempts to load the given class and all of the required support classes.
public static  Scenev()
    

Field Detail
allowsPhantomRefs
boolean allowsPhantomRefs(Code)



applicationClasses
Chain<SootClass> applicationClasses(Code)



classNumberer
ArrayNumberer classNumberer(Code)



classes
Chain<SootClass> classes(Code)



contextNumberer
Numberer contextNumberer(Code)



fieldNumberer
ArrayNumberer fieldNumberer(Code)



kindNumberer
ArrayNumberer kindNumberer(Code)



libraryClasses
Chain<SootClass> libraryClasses(Code)



localNumberer
ArrayNumberer localNumberer(Code)



mainClass
SootClass mainClass(Code)



methodNumberer
ArrayNumberer methodNumberer(Code)



phantomClasses
Chain<SootClass> phantomClasses(Code)



pkgList
ArrayList<String> pkgList(Code)



reservedNames
Set<String> reservedNames(Code)



sootClassPath
String sootClassPath(Code)



subSigNumberer
StringNumberer subSigNumberer(Code)



typeNumberer
ArrayNumberer typeNumberer(Code)



unitNumberer
Numberer unitNumberer(Code)




Constructor Detail
Scene
public Scene(Singletons.Global g)(Code)




Method Detail
addBasicClass
public void addBasicClass(String name)(Code)



addBasicClass
public void addBasicClass(String name, int level)(Code)



addClass
public void addClass(SootClass c)(Code)



addRefType
public void addRefType(RefType type)(Code)
Returns the RefType with the given className.



allowsPhantomRefs
public boolean allowsPhantomRefs()(Code)



containsClass
public boolean containsClass(String className)(Code)



containsField
public boolean containsField(String fieldSignature)(Code)



containsMethod
public boolean containsMethod(String methodSignature)(Code)



defaultClassPath
public String defaultClassPath()(Code)



doneResolving
public boolean doneResolving()(Code)



dynamicClasses
public Collection<SootClass> dynamicClasses()(Code)



getActiveHierarchy
public Hierarchy getActiveHierarchy()(Code)
Retrieves the active hierarchy



getApplicationClasses
public Chain<SootClass> getApplicationClasses()(Code)
Returns a chain of the application classes in this scene. These classes are the ones which can be freely analysed & modified.



getCallGraph
public CallGraph getCallGraph()(Code)



getClassNumberer
public ArrayNumberer getClassNumberer()(Code)



getClasses
public Chain<SootClass> getClasses()(Code)
Returns an backed chain of the classes in this manager.



getClasses
public List/*SootClass*/<SootClass> getClasses(int desiredLevel)(Code)
Returns the list of SootClasses that have been resolved at least to the level specified.



getContainingChain
Chain<SootClass> getContainingChain(SootClass c)(Code)



getContextNumberer
public Numberer getContextNumberer()(Code)



getContextSensitiveCallGraph
public ContextSensitiveCallGraph getContextSensitiveCallGraph()(Code)



getDefaultThrowAnalysis
public ThrowAnalysis getDefaultThrowAnalysis()(Code)
Returns the ThrowAnalysis to be used by default when constructing CFGs which include exceptional control flow. the default ThrowAnalysis



getEntryPoints
public List<SootMethod> getEntryPoints()(Code)
Get the set of entry points that are used to build the call graph.



getFastHierarchy
public FastHierarchy getFastHierarchy()(Code)
Retrieves the active fast hierarchy



getField
public SootField getField(String fieldSignature)(Code)



getFieldNumberer
public ArrayNumberer getFieldNumberer()(Code)



getLibraryClasses
public Chain<SootClass> getLibraryClasses()(Code)
Returns a chain of the library classes in this scene. These classes can be analysed but not modified.



getLocalNumberer
public ArrayNumberer getLocalNumberer()(Code)



getMainClass
public SootClass getMainClass()(Code)



getMainMethod
public SootMethod getMainMethod()(Code)



getMethod
public SootMethod getMethod(String methodSignature)(Code)



getMethodNumberer
public ArrayNumberer getMethodNumberer()(Code)



getOrMakeFastHierarchy
public FastHierarchy getOrMakeFastHierarchy()(Code)
Makes a new fast hierarchy is none is active, and returns the active fast hierarchy.



getPhantomClasses
public Chain<SootClass> getPhantomClasses()(Code)
Returns a chain of the phantom classes in this scene. These classes are referred to by other classes, but cannot be loaded.



getPhantomRefs
public boolean getPhantomRefs()(Code)



getPkgList
public ArrayList<String> getPkgList()(Code)



getPointsToAnalysis
public PointsToAnalysis getPointsToAnalysis()(Code)
Retrieves the active pointer analysis



getReachableMethods
public ReachableMethods getReachableMethods()(Code)



getRefType
public RefType getRefType(String className)(Code)
Returns the RefType with the given className.



getReservedNames
public Set<String> getReservedNames()(Code)
Returns a set of tokens which are reserved. Any field, class, method, or local variable with such a name will be quoted.



getSideEffectAnalysis
public SideEffectAnalysis getSideEffectAnalysis()(Code)
Retrieves the active side-effect analysis



getSootClass
public SootClass getSootClass(String className)(Code)
Returns the SootClass with the given className.



getSootClassPath
public String getSootClassPath()(Code)



getState
public int getState()(Code)



getSubSigNumberer
public StringNumberer getSubSigNumberer()(Code)



getTypeNumberer
public ArrayNumberer getTypeNumberer()(Code)



getUnitNumberer
public Numberer getUnitNumberer()(Code)



hasActiveHierarchy
public boolean hasActiveHierarchy()(Code)



hasCallGraph
public boolean hasCallGraph()(Code)



hasFastHierarchy
public boolean hasFastHierarchy()(Code)



hasPointsToAnalysis
public boolean hasPointsToAnalysis()(Code)



hasReachableMethods
public boolean hasReachableMethods()(Code)



hasSideEffectAnalysis
public boolean hasSideEffectAnalysis()(Code)



kindNumberer
public Numberer kindNumberer()(Code)



loadBasicClasses
public void loadBasicClasses()(Code)
Load just the set of basic classes soot needs, ignoring those specified on the command-line. You don't need to use both this and loadNecessaryClasses, though it will only waste time.



loadClass
public SootClass loadClass(String className, int desiredLevel)(Code)



loadClassAndSupport
public SootClass loadClassAndSupport(String className)(Code)
Loads the given class and all of the required support classes. Returns the first class.



loadDynamicClasses
public void loadDynamicClasses()(Code)



loadNecessaryClasses
public void loadNecessaryClasses()(Code)
Load the set of classes that soot needs, including those specified on the command-line. This is the standard way of initialising the list of classes soot should use.



makeConstructorRef
public SootMethodRef makeConstructorRef(SootClass declaringClass, List<Type> parameterTypes)(Code)
Create an unresolved reference to a constructor.



makeFieldRef
public SootFieldRef makeFieldRef(SootClass declaringClass, String name, Type type, boolean isStatic)(Code)
Create an unresolved reference to a field.



makeMethodRef
public SootMethodRef makeMethodRef(SootClass declaringClass, String name, List<Type> parameterTypes, Type returnType, boolean isStatic)(Code)
Create an unresolved reference to a method.



quotedNameOf
public String quotedNameOf(String s)(Code)
If this name is in the set of reserved names, then return a quoted version of it. Else pass it through.



releaseActiveHierarchy
public void releaseActiveHierarchy()(Code)



releaseCallGraph
public void releaseCallGraph()(Code)



releaseFastHierarchy
public void releaseFastHierarchy()(Code)



releasePointsToAnalysis
public void releasePointsToAnalysis()(Code)



releaseReachableMethods
public void releaseReachableMethods()(Code)



releaseSideEffectAnalysis
public void releaseSideEffectAnalysis()(Code)



removeClass
public void removeClass(SootClass c)(Code)



setActiveHierarchy
public void setActiveHierarchy(Hierarchy hierarchy)(Code)
Sets the active hierarchy



setCallGraph
public void setCallGraph(CallGraph cg)(Code)



setContextNumberer
public void setContextNumberer(Numberer n)(Code)



setContextSensitiveCallGraph
public void setContextSensitiveCallGraph(ContextSensitiveCallGraph cscg)(Code)



setDefaultThrowAnalysis
public void setDefaultThrowAnalysis(ThrowAnalysis ta)(Code)
Sets the ThrowAnalysis to be used by default when constructing CFGs which include exceptional control flow.
Parameters:
  the - default ThrowAnalysis.



setDoneResolving
public void setDoneResolving()(Code)



setEntryPoints
public void setEntryPoints(List<SootMethod> entryPoints)(Code)
Change the set of entry point methods used to build the call graph.



setFastHierarchy
public void setFastHierarchy(FastHierarchy hierarchy)(Code)
Sets the active hierarchy



setMainClass
public void setMainClass(SootClass m)(Code)



setMainClassFromOptions
public void setMainClassFromOptions()(Code)



setPhantomRefs
public void setPhantomRefs(boolean value)(Code)



setPkgList
public void setPkgList(ArrayList<String> list)(Code)



setPointsToAnalysis
public void setPointsToAnalysis(PointsToAnalysis pa)(Code)
Sets the active pointer analysis



setReachableMethods
public void setReachableMethods(ReachableMethods rm)(Code)



setSideEffectAnalysis
public void setSideEffectAnalysis(SideEffectAnalysis sea)(Code)
Sets the active side-effect analysis



setSootClassPath
public void setSootClassPath(String p)(Code)



signatureToClass
public String signatureToClass(String sig)(Code)



signatureToSubsignature
public String signatureToSubsignature(String sig)(Code)



tryLoadClass
public SootClass tryLoadClass(String className, int desiredLevel)(Code)
Attempts to load the given class and all of the required support classes. Returns the original class if it was loaded, or null otherwise.



v
public static Scene v()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.