| Package | Description |
|---|---|
| com.ibm.wala.classLoader |
This package provides functionality related to class loading and
management of loaded classes.
|
| com.ibm.wala.ipa.callgraph |
This package provides basic interfaces and functions for call graph
construction.
|
| com.ibm.wala.ipa.callgraph.impl |
This package provides some implementations of basic functions needed for
various call graph construction algorithms.
|
| com.ibm.wala.ipa.cha |
This package provides functionality related to class hierarchies.
|
| com.ibm.wala.ipa.summaries |
This package provides class hierarchy analysis.
|
| com.ibm.wala.types |
This package provides abstractions for the Java type system.
|
| com.ibm.wala.types.annotations | |
| com.ibm.wala.util.config |
This package provides miscellaneous utilities for configuration of the analysis.
|
| com.ibm.wala.util.shrike |
| Modifier and Type | Method and Description |
|---|---|
ClassLoaderReference |
IClassLoader.getReference()
Return the ClassLoaderReference for this class loader.
|
ClassLoaderReference |
ClassLoaderImpl.getReference() |
| Modifier and Type | Method and Description |
|---|---|
IClassLoader |
ClassLoaderFactoryImpl.getLoader(ClassLoaderReference classLoaderReference,
IClassHierarchy cha,
AnalysisScope scope)
Return a class loader corresponding to a given class loader identifier.
|
IClassLoader |
ClassLoaderFactory.getLoader(ClassLoaderReference classLoaderReference,
IClassHierarchy cha,
AnalysisScope scope)
Return a class loader corresponding to a given
class loader identifier.
|
protected IClassLoader |
ClassLoaderFactoryImpl.makeNewClassLoader(ClassLoaderReference classLoaderReference,
IClassHierarchy cha,
IClassLoader parent,
AnalysisScope scope)
Create a new class loader for a given key
|
| Constructor and Description |
|---|
ClassLoaderImpl(ClassLoaderReference loader,
ArrayClassLoader arrayClassLoader,
IClassLoader parent,
com.ibm.wala.util.config.SetOfClasses exclusions,
IClassHierarchy cha) |
| Modifier and Type | Field and Description |
|---|---|
protected LinkedHashMap<Atom,ClassLoaderReference> |
AnalysisScope.loadersByName |
| Modifier and Type | Method and Description |
|---|---|
protected ClassLoaderReference |
AnalysisScope.classLoaderName2Ref(String clName) |
ClassLoaderReference |
AnalysisScope.getApplicationLoader()
Return the information regarding the application loader.
|
ClassLoaderReference |
AnalysisScope.getExtensionLoader()
Return the information regarding the extension loader.
|
ClassLoaderReference |
AnalysisScope.getLoader(Atom name) |
ClassLoaderReference |
AnalysisScope.getPrimordialLoader()
Return the information regarding the primordial loader.
|
ClassLoaderReference |
AnalysisScope.getSyntheticLoader()
Return the information regarding the application loader.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ClassLoaderReference> |
AnalysisScope.getLoaders() |
| Modifier and Type | Method and Description |
|---|---|
void |
AnalysisScope.addClassFileToScope(ClassLoaderReference loader,
File file)
Add a class file to the scope for a loader
|
void |
AnalysisScope.addSourceFileToScope(ClassLoaderReference loader,
File file,
String fileName)
Add a class file to the scope for a loader
|
void |
AnalysisScope.addToScope(ClassLoaderReference loader,
JarFile file)
Add a jar file to the scope for a loader
|
void |
AnalysisScope.addToScope(ClassLoaderReference loader,
Module m)
Add a module to the scope for a loader
|
void |
AnalysisScope.addToScopeHead(ClassLoaderReference loader,
Module m)
Add a module file to the scope for a loader.
|
String |
AnalysisScope.getLoaderImpl(ClassLoaderReference ref) |
List<Module> |
AnalysisScope.getModules(ClassLoaderReference loader) |
protected void |
AnalysisScope.initSynthetic(ClassLoaderReference parent)
Create the class loader for synthetic classes.
|
void |
AnalysisScope.setLoaderImpl(ClassLoaderReference ref,
String implClass) |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<Entrypoint> |
Util.makeMainEntrypoints(ClassLoaderReference clr,
IClassHierarchy cha) |
static Iterable<Entrypoint> |
Util.makeMainEntrypoints(ClassLoaderReference loaderRef,
IClassHierarchy cha,
String[] classNames) |
| Modifier and Type | Method and Description |
|---|---|
IClassLoader |
IClassHierarchy.getLoader(ClassLoaderReference loaderRef) |
IClassLoader |
ClassHierarchy.getLoader(ClassLoaderReference loaderRef) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoaderReference |
BypassSyntheticClassLoader.getReference()
Return the ClassLoaderReference for this class loader.
|
| Constructor and Description |
|---|
BypassSyntheticClassLoader(ClassLoaderReference me,
IClassLoader parent,
com.ibm.wala.util.config.SetOfClasses exclusions,
IClassHierarchy cha)
Don't change my signature! ClassLoaderFactoryImpl calls me by reflection! yuck.
|
| Modifier and Type | Field and Description |
|---|---|
static ClassLoaderReference |
ClassLoaderReference.Application
Canonical reference to application class loader
|
static ClassLoaderReference |
ClassLoaderReference.Extension
Canonical reference to extension class loader
|
static ClassLoaderReference |
ClassLoaderReference.Primordial
Canonical reference to primordial class loader
|
| Modifier and Type | Method and Description |
|---|---|
ClassLoaderReference |
TypeReference.getClassLoader() |
ClassLoaderReference |
ClassLoaderReference.getParent() |
| Modifier and Type | Method and Description |
|---|---|
static TypeReference |
TypeReference.find(ClassLoaderReference cl,
String typeName) |
static TypeReference |
TypeReference.find(ClassLoaderReference cl,
TypeName typeName)
Find the canonical TypeReference instance for the given pair.
|
static TypeReference |
TypeReference.findOrCreate(ClassLoaderReference cl,
String typeName)
Find or create the canonical
TypeReference instance for the given pair. |
static MethodReference |
MethodReference.findOrCreate(ClassLoaderReference loader,
String methodClass,
String methodName,
String methodSignature) |
static FieldReference |
FieldReference.findOrCreate(ClassLoaderReference loader,
String classType,
String fieldName,
String fieldType)
Find or create the canonical MemberReference instance for the given tuple.
|
static TypeReference |
TypeReference.findOrCreate(ClassLoaderReference cl,
TypeName typeName)
Find or create the canonical TypeReference instance for the given pair.
|
static MethodReference |
MethodReference.findOrCreate(Language l,
ClassLoaderReference loader,
String methodClass,
String methodName,
String methodSignature) |
static TypeReference |
TypeReference.findOrCreateClass(ClassLoaderReference loader,
String packageName,
String className) |
static TypeReference |
TypeReference.makePrimitive(ClassLoaderReference cl,
TypeName n) |
| Constructor and Description |
|---|
ClassLoaderReference(Atom name,
Atom language,
ClassLoaderReference parent) |
TypeReference(ClassLoaderReference cl,
TypeName tn)
NB: All type names should use '/' and not '.' as a separator.
|
| Modifier and Type | Method and Description |
|---|---|
protected static Collection<Annotation> |
Annotation.convertToAnnotations(ClassLoaderReference clRef,
com.ibm.wala.shrikeCT.AnnotationsReader.AnnotationAttribute[] allAnnotations) |
static Collection<Annotation> |
Annotation.getAnnotationsFromReader(com.ibm.wala.shrikeCT.AnnotationsReader r,
ClassLoaderReference clRef) |
static Collection<Annotation>[] |
Annotation.getParameterAnnotationsFromReader(com.ibm.wala.shrikeCT.AnnotationsReader r,
ClassLoaderReference clRef)
If r != null, return parameter annotations as an array with length equal to
number of annotatable parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AnalysisScopeReader.addClassPathToScope(String classPath,
AnalysisScope scope,
ClassLoaderReference loader) |
| Modifier and Type | Method and Description |
|---|---|
static TypeReference |
ShrikeUtil.makeTypeReference(ClassLoaderReference loader,
String type) |
Copyright © 2015. All rights reserved.