public class SootModuleInfo extends SootClass
| Modifier and Type | Field and Description |
|---|---|
static String |
MODULE_INFO |
static String |
MODULE_INFO_FILE |
BODIES, DANGLING, fields, fixedPackageName, fixedShortName, HIERARCHY, interfaces, INVOKEDYNAMIC_DUMMY_CLASS_NAME, isInScene, isPhantom, methodList, modifiers, moduleInformation, moduleName, name, number, outerClass, packageName, shortName, SIGNATURES, subSigToMethods, superClasscol, line, mTagList| Constructor and Description |
|---|
SootModuleInfo(String name,
int modifiers,
String moduleName) |
SootModuleInfo(String name,
String moduleName) |
SootModuleInfo(String name,
String moduleName,
boolean isAutomatic) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExportedPackage(String packaze,
String... exportedToModules) |
void |
addModulePackage(String packageName) |
void |
addOpenedPackage(String packaze,
String... openedToModules) |
boolean |
exportsPackage(String packaze,
String toModule) |
boolean |
exportsPackagePublic(String packaze) |
String |
getModuleName() |
Set<String> |
getPublicExportedPackages() |
Set<String> |
getPublicOpenedPackages() |
Map<SootModuleInfo,Integer> |
getRequiredModules() |
Set<SootModuleInfo> |
getRequiredPublicModules() |
boolean |
isAutomaticModule() |
boolean |
isConcrete()
Returns true if this class is not an interface and not abstract.
|
boolean |
isExportedByModule()
Checks if this class is exported by it's module
|
boolean |
isExportedByModule(String toModule)
Checks if this class is exported by it's module
|
boolean |
isOpenedByModule() |
boolean |
moduleContainsPackage(String packageName) |
boolean |
openPackagePublic(String packaze) |
boolean |
opensPackage(String packaze,
String toModule) |
Map<SootModuleInfo,Integer> |
retrieveRequiredModules() |
void |
setAutomaticModule(boolean automaticModule) |
addField, addInterface, addMethod, checkLevel, checkLevelIgnoreResolving, containsBafBody, declaresField, declaresField, declaresFieldByName, declaresMethod, declaresMethod, declaresMethod, declaresMethod, declaresMethodByName, getField, getField, getFieldByName, getFieldByNameUnsafe, getFieldCount, getFields, getFieldUnsafe, getFieldUnsafe, getFilePath, getInterfaceCount, getInterfaces, getJavaPackageName, getJavaStyleName, getMethod, getMethod, getMethod, getMethod, getMethodByName, getMethodByNameUnsafe, getMethodCount, getMethods, getMethodUnsafe, getMethodUnsafe, getMethodUnsafe, getModifiers, getModuleInformation, getName, getNumber, getOrAddField, getOrAddMethod, getOuterClass, getOuterClassUnsafe, getPackageName, getShortJavaStyleName, getShortName, getSuperclass, getSuperclassUnsafe, getType, hasOuterClass, hasRefType, hasSuperclass, implementsInterface, initializeRefType, isAbstract, isApplicationClass, isEnum, isFinal, isInnerClass, isInScene, isInterface, isJavaLibraryClass, isLibraryClass, isPhantom, isPhantomClass, isPrivate, isProtected, isPublic, isStatic, isSynchronized, levelToString, methodIterator, removeField, removeInterface, removeMethod, rename, renameFieldsAndMethods, resolvingLevel, setApplicationClass, setInScene, setLibraryClass, setModifiers, setModuleInformation, setName, setNumber, setOuterClass, setPhantomClass, setRefType, setResolvingLevel, setSuperclass, toString, validate, validateaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagpublic static final String MODULE_INFO_FILE
public static final String MODULE_INFO
public boolean isAutomaticModule()
public void setAutomaticModule(boolean automaticModule)
public Map<SootModuleInfo,Integer> getRequiredModules()
public Map<SootModuleInfo,Integer> retrieveRequiredModules()
public String getModuleName()
public boolean isConcrete()
SootClassisConcrete in class SootClasspublic boolean isExportedByModule()
SootClassisExportedByModule in class SootClasspublic boolean isExportedByModule(String toModule)
SootClassisExportedByModule in class SootClasspublic boolean isOpenedByModule()
isOpenedByModule in class SootClasspublic boolean exportsPackagePublic(String packaze)
public boolean openPackagePublic(String packaze)
public Set<SootModuleInfo> getRequiredPublicModules()
public void addModulePackage(String packageName)
public boolean moduleContainsPackage(String packageName)
Copyright © 2020 Soot OSS. All rights reserved.