Package | Description |
---|---|
sootup.java.core | |
sootup.java.core.types | |
sootup.java.core.views |
Modifier and Type | Class and Description |
---|---|
class |
JavaAnnotationSootClass |
Modifier and Type | Method and Description |
---|---|
JavaSootClass |
JavaSootClassSource.buildClass(SourceType sourceType) |
JavaSootClass |
JavaSootClass.withFields(Collection<SootField> fields) |
JavaSootClass |
JavaSootClass.withMethods(Collection<SootMethod> methods) |
JavaSootClass |
JavaSootClass.withModifiers(Set<Modifier> modifiers) |
JavaSootClass |
JavaSootClass.withOuterClass(Optional<ClassType> outerClass) |
JavaSootClass |
JavaSootClass.withOverridingClassSource(Function<OverridingJavaClassSource,OverridingJavaClassSource> overrider)
Creates a new JavaSootClass based on a new
OverridingJavaClassSource . |
JavaSootClass |
JavaSootClass.withPosition(Position position) |
JavaSootClass |
JavaSootClass.withReplacedField(SootField toReplace,
SootField replacement) |
JavaSootClass |
JavaSootClass.withReplacedMethod(SootMethod toReplace,
SootMethod replacement) |
JavaSootClass |
JavaSootClass.withSuperclass(Optional<ClassType> superclass) |
Modifier and Type | Method and Description |
---|---|
Collection<? extends AbstractClassSource<JavaSootClass>> |
ModuleInfoAnalysisInputLocation.getModulesClassSources(ModuleSignature moduleSignature,
View<?> view) |
Constructor and Description |
---|
JavaModuleProject(JavaLanguage language,
List<AnalysisInputLocation<? extends JavaSootClass>> inputLocations,
List<ModuleInfoAnalysisInputLocation> moduleInputLocations,
SourceTypeSpecifier sourceTypeSpecifier) |
JavaProject(JavaLanguage language,
List<AnalysisInputLocation<? extends JavaSootClass>> inputLocations,
SourceTypeSpecifier sourceTypeSpecifier) |
JavaSootClassSource(SootClassSource<JavaSootClass> delegate) |
OverridingJavaClassSource(AnalysisInputLocation<JavaSootClass> srcNamespace,
Path sourcePath,
ClassType classType,
ClassType superClass,
Set<ClassType> interfaces,
ClassType outerClass,
Set<SootField> sootFields,
Set<SootMethod> sootMethods,
Position position,
EnumSet<Modifier> modifiers,
Iterable<AnnotationUsage> annotations,
Iterable<AnnotationUsage> methodAnnotations,
Iterable<AnnotationUsage> fieldAnnotations)
Class source where all information already available
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AnnotationType.validateAnnotation(JavaSootClass annotationClass) |
Modifier and Type | Field and Description |
---|---|
protected ClassCache<JavaSootClass> |
JavaView.cache |
protected Function<AnalysisInputLocation<? extends JavaSootClass>,ClassLoadingOptions> |
JavaModuleView.classLoadingOptionsSpecifier |
protected Function<AnalysisInputLocation<? extends JavaSootClass>,ClassLoadingOptions> |
JavaView.classLoadingOptionsSpecifier |
Modifier and Type | Method and Description |
---|---|
protected Optional<JavaSootClass> |
JavaView.buildClassFrom(AbstractClassSource<? extends JavaSootClass> classSource) |
protected Optional<? extends AbstractClassSource<? extends JavaSootClass>> |
JavaModuleView.getAbstractClass(ClassType type) |
protected Optional<? extends AbstractClassSource<? extends JavaSootClass>> |
JavaView.getAbstractClass(ClassType type) |
Optional<JavaSootClass> |
JavaView.getClass(ClassType type)
Resolves the class matching the provided
ClassType . |
Optional<JavaSootClass> |
JavaModuleView.getClass(ModulePackageName entryPackage,
JavaClassType type) |
Collection<JavaSootClass> |
JavaView.getClasses()
Resolves all classes that are part of the view and stores them in the cache.
|
Collection<JavaSootClass> |
JavaModuleView.getModuleClasses(ModuleSignature moduleSignature)
return the classes which belong to the moduleSignature
|
protected Collection<JavaSootClass> |
JavaModuleView.resolveAll() |
protected Collection<JavaSootClass> |
JavaView.resolveAll() |
Modifier and Type | Method and Description |
---|---|
void |
MutableJavaView.addClass(JavaSootClass clazz)
Adds the provided class to the mutable view.
|
void |
MutableJavaView.removeClass(JavaSootClass clazz)
Removes the provided class from the mutable view.
|
void |
MutableJavaView.replaceClass(JavaSootClass oldClass,
JavaSootClass newClass)
Removes the provided oldClass from the view and adds the provided newClass.
|
Modifier and Type | Method and Description |
---|---|
protected Optional<JavaSootClass> |
JavaView.buildClassFrom(AbstractClassSource<? extends JavaSootClass> classSource) |
void |
JavaView.configBodyInterceptors(Function<AnalysisInputLocation<? extends JavaSootClass>,ClassLoadingOptions> classLoadingOptionsSpecifier) |
Copyright © 2023 Soot OSS. All rights reserved.