Class AnalysisCacheToRepositoryAdapter

  • All Implemented Interfaces:
    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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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