Package sootup.apk.frontend.dexpler
Class DexClassSource
java.lang.Object
sootup.java.core.JavaSootClassSource
sootup.apk.frontend.dexpler.DexClassSource
- All Implemented Interfaces:
SootClassSource,HasGenericSignature
-
Field Summary
Fields inherited from class sootup.java.core.JavaSootClassSource
analysisInputLocation, classSignature, sourcePath -
Constructor Summary
ConstructorsConstructorDescriptionDexClassSource(@NonNull View view, @NonNull AnalysisInputLocation analysisInputLocation, @NonNull ClassType classSignature, @NonNull Path sourcePath) -
Method Summary
Modifier and TypeMethodDescription@NonNull ViewgetView()protected Iterable<AnnotationUsage>@NonNull Collection<? extends SootField>Reads from the source to retrieve its fields.Reads from the source to retrieve its directly implemented interfaces.@NonNull Collection<? extends JavaSootMethod>Reads from the source to retrieve its methods.@NonNull Set<ClassModifier>Reads from the source to retrieve its modifiers.Resolves the outer class from the system annotations of the dex file, like Soot's dex frontend:EnclosingClassnames the outer class of a member class,EnclosingMethodthe method that declares a local or anonymous class.@NonNull PositionReads from the source to retrieve its position in the source code.Reads from the source to retrieve its superclass, if present.Methods inherited from class sootup.java.core.JavaSootClassSource
buildClass, equals, getAnalysisInputLocation, getClassFileMetadata, getClassType, getGenericSignature, getSourcePath, hashCode
-
Constructor Details
-
DexClassSource
public DexClassSource(@NonNull View view, @NonNull AnalysisInputLocation analysisInputLocation, @NonNull ClassType classSignature, @NonNull Path sourcePath)
-
-
Method Details
-
getView
-
resolveMethods
Description copied from interface:SootClassSourceReads from the source to retrieve its methods. This may be an expensive operation.- Throws:
ResolveException
-
resolveFields
Description copied from interface:SootClassSourceReads from the source to retrieve its fields. This may be an expensive operation.- Throws:
ResolveException
-
resolveModifiers
Description copied from interface:SootClassSourceReads from the source to retrieve its modifiers. This may be an expensive operation. -
resolveInterfaces
Description copied from interface:SootClassSourceReads from the source to retrieve its directly implemented interfaces. This may be an expensive operation. -
resolveSuperclass
Description copied from interface:SootClassSourceReads from the source to retrieve its superclass, if present. This may be an expensive operation. -
resolveOuterClass
Resolves the outer class from the system annotations of the dex file, like Soot's dex frontend:EnclosingClassnames the outer class of a member class,EnclosingMethodthe method that declares a local or anonymous class. If only anInnerClassannotation exists, the outer class is derived from the name of the class.- Returns:
-
resolvePosition
Description copied from interface:SootClassSourceReads from the source to retrieve its position in the source code. This may be an expensive operation. -
getSourceFile
- Returns:
- The source file for this class as specified in the dex file.
-
resolveAnnotations
- Specified by:
resolveAnnotationsin classJavaSootClassSource
-