Package sootup.core.views
Class AbstractView
java.lang.Object
sootup.core.views.AbstractView
- All Implemented Interfaces:
View
- Direct Known Subclasses:
JavaView
,JimpleView
Abstract class for view.
- Author:
- Linghui Luo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetField
(FieldSignature signature) Optional<? extends SootMethod>
getMethod
(MethodSignature signature) resolve and check for accessibility of the class from a given package * TODO: incorporate AccessUtil @Nonnull public synchronized Optional<T> getClass( @Nonnull PackageName entryPackage, @Nonnull ClassType type) { Optional<T> aClass = getClass(type); if (aClass.isPresent() && AccessUtil.isAccessible(entryPackage, aClass.get()) ) { return Optional.empty(); } return aClass; }Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface sootup.core.views.View
getClass, getClasses, getClassOrThrow, getIdentifierFactory
-
Constructor Details
-
AbstractView
public AbstractView()
-
-
Method Details
-
getTypeHierarchy
- Specified by:
getTypeHierarchy
in interfaceView
-
getMethod
resolve and check for accessibility of the class from a given package * TODO: incorporate AccessUtil @Nonnull public synchronized Optional<T> getClass( @Nonnull PackageName entryPackage, @Nonnull ClassType type) { Optional<T> aClass = getClass(type); if (aClass.isPresent() && AccessUtil.isAccessible(entryPackage, aClass.get()) ) { return Optional.empty(); } return aClass; } -
getField
-