Interface ClassInformationRepository

All Known Implementing Classes:
ClassLoaderClassInformationRepository, ClassResourceClassInformationRepository, CompositeClassInformationRepository, FileSystemClassInformationRepository

public interface ClassInformationRepository
Class information repository. Used by overridden ASM classes (e.g. SimpleClassWriter) to access information about classes (e.g. used to derive the common super class between two classes).
  • Method Summary

    Modifier and Type
    Method
    Description
    getInformation(String internalClassName)
    Get information for a class.
  • Method Details

    • getInformation

      ClassInformation getInformation(String internalClassName)
      Get information for a class.

      This method returns class information as if it were encountered in a class file. In a class file, if the class is an interface, then its superclass is set to Object. Note that this is different from what Class.getSuperclass() returns when the class represents an interface (it returns null).

      Parameters:
      internalClassName - internal class name
      Returns:
      information for that class, or null if not found
      Throws:
      NullPointerException - if any argument is null