Package sootup.core.views
Interface View
- All Known Implementing Classes:
AbstractView
,JavaModuleView
,JavaView
,JimpleView
,MutableJavaView
public interface View
A View is essentially a collection of code.
- Author:
- Linghui Luo, Ben Hermann
-
Method Summary
Modifier and TypeMethodDescriptionReturn a class with given signature.Return all classes in the view.default @NonNull SootClass
getClassOrThrow
(@NonNull ClassType classType) getField
(@NonNull FieldSignature signature) @NonNull IdentifierFactory
Returns theIdentifierFactory
for this view.Optional<? extends SootMethod>
getMethod
(@NonNull MethodSignature signature) @NonNull TypeHierarchy
-
Method Details
-
getClasses
Return all classes in the view. -
getClass
Return a class with given signature.- Returns:
- A class with given signature.
-
getField
-
getMethod
-
getTypeHierarchy
@NonNull TypeHierarchy getTypeHierarchy() -
getIdentifierFactory
@NonNull IdentifierFactory getIdentifierFactory()Returns theIdentifierFactory
for this view. -
getClassOrThrow
-