|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.ba.InnerClassAccessMap
public class InnerClassAccessMap
Singleton class to 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.
InnerClassAccess
Method Summary | |
---|---|
void |
clearCache()
Clear the cache. |
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(java.lang.String className,
java.lang.String methodName)
Get the InnerClassAccess in given class with the given method name. |
static InnerClassAccessMap |
instance()
Get the single instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static InnerClassAccessMap instance()
public InnerClassAccess getInnerClassAccess(java.lang.String className, java.lang.String methodName) throws java.lang.ClassNotFoundException
className
- the name of the classmethodName
- the name of the access method
java.lang.ClassNotFoundException
public InnerClassAccess getInnerClassAccess(org.apache.bcel.generic.INVOKESTATIC inv, org.apache.bcel.generic.ConstantPoolGen cpg) throws java.lang.ClassNotFoundException
inv
- the invokestatic instructioncpg
- the ConstantPoolGen for the method
java.lang.ClassNotFoundException
public void clearCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |