Package sootup.jimple.frontend
Class JimpleAnalysisInputLocation
java.lang.Object
sootup.jimple.frontend.JimpleAnalysisInputLocation
- All Implemented Interfaces:
- AnalysisInputLocation
- Author:
- Markus Schmidt
- 
Constructor SummaryConstructorsConstructorDescriptionJimpleAnalysisInputLocation(@NonNull Path path) JimpleAnalysisInputLocation(@NonNull Path path, @Nullable SourceType srcType) JimpleAnalysisInputLocation(@NonNull Path path, @Nullable SourceType srcType, @NonNull List<BodyInterceptor> bodyInterceptors) 
- 
Method SummaryModifier and TypeMethodDescriptionboolean@NonNull List<BodyInterceptor>@NonNull Optional<SootClassSource>getClassSource(@NonNull ClassType type, @NonNull View view) Create or find a class source for a given type.@NonNull Stream<SootClassSource>getClassSources(@NonNull View view) Scan the input location and create ClassSources for every compilation / interpretation unit.@NonNull SourceTypeIf the AnalysisInputLocation is initialized with the SourceType then this method should return that specific SourceType.inthashCode()
- 
Constructor Details- 
JimpleAnalysisInputLocation
- 
JimpleAnalysisInputLocation
- 
JimpleAnalysisInputLocationpublic JimpleAnalysisInputLocation(@NonNull Path path, @Nullable SourceType srcType, @NonNull List<BodyInterceptor> bodyInterceptors) 
 
- 
- 
Method Details- 
getSourceTypeDescription copied from interface:AnalysisInputLocationIf the AnalysisInputLocation is initialized with the SourceType then this method should return that specific SourceType. This is the default implementation and it returns null when no source type is specified.- Specified by:
- getSourceTypein interface- AnalysisInputLocation
- Returns:
- returns null as source type
 
- 
getBodyInterceptors- Specified by:
- getBodyInterceptorsin interface- AnalysisInputLocation
 
- 
getClassSourcesDescription copied from interface:AnalysisInputLocationScan the input location and create ClassSources for every compilation / interpretation unit.- Specified by:
- getClassSourcesin interface- AnalysisInputLocation
- Returns:
- an Autocloseable resource that must be closed!
 
- 
getClassSourcepublic @NonNull Optional<SootClassSource> getClassSource(@NonNull ClassType type, @NonNull View view) Description copied from interface:AnalysisInputLocationCreate or find a class source for a given type.- Specified by:
- getClassSourcein interface- AnalysisInputLocation
- Parameters:
- type- The type of the class to be found.
- Returns:
- The source entry for that class.
 
- 
equals
- 
hashCodepublic int hashCode()
 
-