edu.umd.cs.findbugs.ba
public class InnerClassAccessMap extends Object
The instance of InnerClassAccessMap should be retrieved from the AnalysisContext.
See Also: InnerClassAccess
Method Summary | |
---|---|
void | clearCache()
Clear the cache. |
static InnerClassAccessMap | create()
Create an instance.
|
InnerClassAccess | getInnerClassAccess(String className, String methodName)
Get the InnerClassAccess in given class with the given method name.
|
InnerClassAccess | getInnerClassAccess(INVOKESTATIC inv, ConstantPoolGen cpg)
Get the inner class access object for given invokestatic instruction.
|
Returns: a new instance of InnerClassAccessMap
Parameters: className the name of the class methodName the name of the access method
Returns: the InnerClassAccess object for the method, or null if the method doesn't seem to be an inner class access
Parameters: inv the invokestatic instruction cpg the ConstantPoolGen for the method
Returns: the InnerClassAccess, or null if the call is not an inner class access