FindBugs™ 1.3.9

edu.umd.cs.findbugs
Class AnalysisCacheToRepositoryAdapter

java.lang.Object
  extended by edu.umd.cs.findbugs.AnalysisCacheToRepositoryAdapter
All Implemented Interfaces:
java.io.Serializable, org.apache.bcel.util.Repository

public class AnalysisCacheToRepositoryAdapter
extends java.lang.Object
implements org.apache.bcel.util.Repository

An implementation of org.apache.bcel.util.Repository that uses the AnalysisCache as its backing store.

Author:
David Hovemeyer
See Also:
Serialized Form

Constructor Summary
AnalysisCacheToRepositoryAdapter()
          Constructor.
 
Method Summary
 void clear()
           
 org.apache.bcel.classfile.JavaClass findClass(java.lang.String className)
           
 org.apache.bcel.util.ClassPath getClassPath()
           
 org.apache.bcel.classfile.JavaClass loadClass(java.lang.Class cls)
           
 org.apache.bcel.classfile.JavaClass loadClass(java.lang.String className)
           
 void removeClass(org.apache.bcel.classfile.JavaClass arg0)
           
 void storeClass(org.apache.bcel.classfile.JavaClass cls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalysisCacheToRepositoryAdapter

public AnalysisCacheToRepositoryAdapter()
Constructor.

Method Detail

clear

public void clear()
Specified by:
clear in interface org.apache.bcel.util.Repository

findClass

public org.apache.bcel.classfile.JavaClass findClass(java.lang.String className)
Specified by:
findClass in interface org.apache.bcel.util.Repository

getClassPath

public org.apache.bcel.util.ClassPath getClassPath()
Specified by:
getClassPath in interface org.apache.bcel.util.Repository

loadClass

public org.apache.bcel.classfile.JavaClass loadClass(java.lang.String className)
                                              throws java.lang.ClassNotFoundException
Specified by:
loadClass in interface org.apache.bcel.util.Repository
Throws:
java.lang.ClassNotFoundException

loadClass

public org.apache.bcel.classfile.JavaClass loadClass(java.lang.Class cls)
                                              throws java.lang.ClassNotFoundException
Specified by:
loadClass in interface org.apache.bcel.util.Repository
Throws:
java.lang.ClassNotFoundException

removeClass

public void removeClass(org.apache.bcel.classfile.JavaClass arg0)
Specified by:
removeClass in interface org.apache.bcel.util.Repository

storeClass

public void storeClass(org.apache.bcel.classfile.JavaClass cls)
Specified by:
storeClass in interface org.apache.bcel.util.Repository

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.