Package soot
Class SootModuleInfo
- java.lang.Object
-
- soot.tagkit.AbstractHost
-
- soot.SootClass
-
- soot.SootModuleInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringMODULE_INFOstatic StringMODULE_INFO_FILE-
Fields inherited from class soot.SootClass
BODIES, DANGLING, fields, fixedPackageName, fixedShortName, HIERARCHY, interfaces, INVOKEDYNAMIC_DUMMY_CLASS_NAME, isInScene, isPhantom, methodList, modifiers, moduleInformation, moduleName, name, number, outerClass, packageName, shortName, SIGNATURES, subSigToMethods, superClass
-
Fields inherited from class soot.tagkit.AbstractHost
col, line, mTagList
-
-
Constructor Summary
Constructors Constructor Description SootModuleInfo(String name, int modifiers, String moduleName)SootModuleInfo(String name, String moduleName)SootModuleInfo(String name, String moduleName, boolean isAutomatic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExportedPackage(String packaze, String... exportedToModules)voidaddModulePackage(String packageName)voidaddOpenedPackage(String packaze, String... openedToModules)booleanexportsPackage(String packaze, String toModule)booleanexportsPackagePublic(String packaze)StringgetModuleName()Set<String>getPublicExportedPackages()Set<String>getPublicOpenedPackages()Map<SootModuleInfo,Integer>getRequiredModules()Set<SootModuleInfo>getRequiredPublicModules()booleanisAutomaticModule()booleanisConcrete()Returns true if this class is not an interface and not abstract.booleanisExportedByModule()Checks if this class is exported by it's modulebooleanisExportedByModule(String toModule)Checks if this class is exported by it's modulebooleanisOpenedByModule()booleanmoduleContainsPackage(String packageName)booleanopenPackagePublic(String packaze)booleanopensPackage(String packaze, String toModule)Map<SootModuleInfo,Integer>retrieveRequiredModules()voidsetAutomaticModule(boolean automaticModule)-
Methods inherited from class soot.SootClass
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, getMethodsByNameAndParamCount, getMethodUnsafe, getMethodUnsafe, getMethodUnsafe, getModifiers, getModuleInformation, getName, 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, setOuterClass, setPhantomClass, setRefType, setResolvingLevel, setSuperclass, toString, validate, validate
-
Methods inherited from class soot.tagkit.AbstractHost
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
-
-
-
-
Field Detail
-
MODULE_INFO_FILE
public static final String MODULE_INFO_FILE
- See Also:
- Constant Field Values
-
MODULE_INFO
public static final String MODULE_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
isAutomaticModule
public boolean isAutomaticModule()
-
setAutomaticModule
public void setAutomaticModule(boolean automaticModule)
-
getRequiredModules
public Map<SootModuleInfo,Integer> getRequiredModules()
-
retrieveRequiredModules
public Map<SootModuleInfo,Integer> retrieveRequiredModules()
-
getModuleName
public String getModuleName()
-
isConcrete
public boolean isConcrete()
Description copied from class:SootClassReturns true if this class is not an interface and not abstract.- Overrides:
isConcretein classSootClass
-
isExportedByModule
public boolean isExportedByModule()
Description copied from class:SootClassChecks if this class is exported by it's module- Overrides:
isExportedByModulein classSootClass- Returns:
- true if the class is public exported
-
isExportedByModule
public boolean isExportedByModule(String toModule)
Description copied from class:SootClassChecks if this class is exported by it's module- Overrides:
isExportedByModulein classSootClass- Returns:
- true if the class is public exported
-
isOpenedByModule
public boolean isOpenedByModule()
- Overrides:
isOpenedByModulein classSootClass
-
exportsPackagePublic
public boolean exportsPackagePublic(String packaze)
-
openPackagePublic
public boolean openPackagePublic(String packaze)
-
getRequiredPublicModules
public Set<SootModuleInfo> getRequiredPublicModules()
-
addModulePackage
public void addModulePackage(String packageName)
-
moduleContainsPackage
public boolean moduleContainsPackage(String packageName)
-
-