|
FindBugs™ 1.3.9 | |||||||||
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
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.
InnerClassAccess
Method Summary | |
---|---|
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(java.lang.String className,
java.lang.String methodName)
Get the InnerClassAccess in given class with the given method name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static InnerClassAccessMap create()
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()
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |