public class InnerClassAccessMap extends Object
The instance of InnerClassAccessMap should be retrieved from the AnalysisContext.
InnerClassAccess| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
Clear the cache.
|
static InnerClassAccessMap |
create()
Create an instance.
|
InnerClassAccess |
getInnerClassAccess(org.apache.bcel.generic.INVOKESTATIC inv,
org.apache.bcel.generic.ConstantPoolGen cpg)
Get the inner class access object for given invokestatic instruction.
|
InnerClassAccess |
getInnerClassAccess(String className,
String methodName)
Get the InnerClassAccess in given class with the given method name.
|
public static InnerClassAccessMap create()
public InnerClassAccess getInnerClassAccess(String className, String methodName) throws ClassNotFoundException
className - the name of the classmethodName - the name of the access methodClassNotFoundExceptionpublic InnerClassAccess getInnerClassAccess(org.apache.bcel.generic.INVOKESTATIC inv, org.apache.bcel.generic.ConstantPoolGen cpg) throws ClassNotFoundException
inv - the invokestatic instructioncpg - the ConstantPoolGen for the methodClassNotFoundExceptionpublic void clearCache()
Copyright © 2003–2015. All rights reserved.