Documentation of 'org.apache.bcel.util.Repository' Java class
Repository
org.apache.bcel.util

Interface Repository

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void clear()
      Clears all entries from cache.
      JavaClass findClass(java.lang.String className)
      Finds the class with the name provided, if the class isn't there, return NULL.
      ClassPath getClassPath()
      Gets the ClassPath associated with this Repository
      JavaClass loadClass(java.lang.Class<?> clazz)
      Finds the JavaClass instance for the given run-time class object
      JavaClass loadClass(java.lang.String className)
      Finds the class with the name provided, if the class isn't there, make an attempt to load it.
      void removeClass(JavaClass clazz)
      Removes class from repository
      void storeClass(JavaClass clazz)
      Stores the provided class under "clazz.getClassName()"
    • Method Detail

      • storeClass

        void storeClass(JavaClass clazz)
        Stores the provided class under "clazz.getClassName()"
      • removeClass

        void removeClass(JavaClass clazz)
        Removes class from repository
      • findClass

        JavaClass findClass(java.lang.String className)
        Finds the class with the name provided, if the class isn't there, return NULL.
      • loadClass

        JavaClass loadClass(java.lang.String className)
                     throws java.lang.ClassNotFoundException
        Finds the class with the name provided, if the class isn't there, make an attempt to load it.
        Throws:
        java.lang.ClassNotFoundException
      • loadClass

        JavaClass loadClass(java.lang.Class<?> clazz)
                     throws java.lang.ClassNotFoundException
        Finds the JavaClass instance for the given run-time class object
        Throws:
        java.lang.ClassNotFoundException
      • clear

        void clear()
        Clears all entries from cache.
      • getClassPath

        ClassPath getClassPath()
        Gets the ClassPath associated with this Repository

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.