| java.lang.Object edu.umd.cs.findbugs.ba.InnerClassAccessMap
InnerClassAccessMap | public class InnerClassAccessMap (Code) | | Determine which methods are accessors used
by inner classes to access fields in their enclosing classes.
This has been tested with javac from the Sun JDK 1.4.x,
but will probably not work with other source to bytecode compilers.
The instance of InnerClassAccessMap should be retrieved
from the AnalysisContext.
author: David Hovemeyer See Also: InnerClassAccess |
clearCache | public void clearCache()(Code) | | Clear the cache.
|
getInnerClassAccess | public InnerClassAccess getInnerClassAccess(String className, String methodName) throws ClassNotFoundException(Code) | | Get the InnerClassAccess in given class with the given method name.
Parameters: className - the name of the class Parameters: methodName - the name of the access method the InnerClassAccess object for the method, or null ifthe method doesn't seem to be an inner class access |
getInnerClassAccess | public InnerClassAccess getInnerClassAccess(INVOKESTATIC inv, ConstantPoolGen cpg) throws ClassNotFoundException(Code) | | Get the inner class access object for given invokestatic instruction.
Returns null if the called method is not an inner class access.
Parameters: inv - the invokestatic instruction Parameters: cpg - the ConstantPoolGen for the method the InnerClassAccess, or null if the call is not an inner class access |
|
|