Package sootup.java.core.views
Class JavaModuleView
java.lang.Object
sootup.core.views.AbstractView
sootup.java.core.views.JavaView
sootup.java.core.views.JavaModuleView
- All Implemented Interfaces:
- View
The JavaModuleView manages the Java classes of the application being analyzed for >=Java9
- Author:
- Markus Schmidt
- 
Field SummaryFields inherited from class sootup.java.core.views.JavaViewcache, identifierFactory, inputLocations, isFullyResolved
- 
Constructor SummaryConstructorsConstructorDescriptionJavaModuleView(@NonNull List<AnalysisInputLocation> inputLocations, @NonNull List<ModuleInfoAnalysisInputLocation> moduleInputLocations) JavaModuleView(@NonNull List<AnalysisInputLocation> inputLocations, @NonNull List<ModuleInfoAnalysisInputLocation> moduleInputLocations, @NonNull ClassCacheProvider cacheProvider) Creates a new instance of theJavaModuleViewclass.
- 
Method SummaryModifier and TypeMethodDescription@NonNull Optional<JavaSootClass>getClass(@NonNull ModulePackageName entryPackage, @NonNull JavaClassType type) protected @NonNull Optional<JavaSootClassSource>getClassSource(@NonNull ClassType type) @NonNull JavaModuleIdentifierFactoryReturns theIdentifierFactoryfor this view.@NonNull Collection<JavaSootClass>getModuleClasses(@NonNull ModuleSignature moduleSignature) return the classes which belong to the moduleSignature@NonNull Optional<JavaModuleInfo>@NonNull Set<ModuleSignature>Methods inherited from class sootup.java.core.views.JavaViewbuildClassFrom, getCachedClassesCount, getClass, getClasses, getField, getMethodMethods inherited from class sootup.core.views.AbstractViewgetTypeHierarchyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface sootup.core.views.ViewgetClassOrThrow
- 
Constructor Details- 
JavaModuleViewpublic JavaModuleView(@NonNull List<AnalysisInputLocation> inputLocations, @NonNull List<ModuleInfoAnalysisInputLocation> moduleInputLocations) 
- 
JavaModuleViewpublic JavaModuleView(@NonNull List<AnalysisInputLocation> inputLocations, @NonNull List<ModuleInfoAnalysisInputLocation> moduleInputLocations, @NonNull ClassCacheProvider cacheProvider) Creates a new instance of theJavaModuleViewclass.
 
- 
- 
Method Details- 
getModuleInfo
- 
getClassSource- Overrides:
- getClassSourcein class- JavaView
 
- 
getClasspublic @NonNull Optional<JavaSootClass> getClass(@NonNull ModulePackageName entryPackage, @NonNull JavaClassType type) 
- 
getModuleClassespublic @NonNull Collection<JavaSootClass> getModuleClasses(@NonNull ModuleSignature moduleSignature) return the classes which belong to the moduleSignature
- 
getIdentifierFactoryDescription copied from interface:ViewReturns theIdentifierFactoryfor this view.- Specified by:
- getIdentifierFactoryin interface- View
- Overrides:
- getIdentifierFactoryin class- JavaView
 
- 
getNamedModules
 
-