Class ClassLoaderClassInformationRepository

java.lang.Object
com.offbynull.coroutines.instrumenter.asm.ClassLoaderClassInformationRepository
All Implemented Interfaces:
ClassInformationRepository

public final class ClassLoaderClassInformationRepository extends Object implements ClassInformationRepository
Provides information on classes contained within a ClassLoader.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getInformation

      public ClassInformation getInformation(String internalClassName)
      Description copied from interface: ClassInformationRepository
      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).

      Specified by:
      getInformation in interface ClassInformationRepository
      Parameters:
      internalClassName - internal class name
      Returns:
      information for that class, or null if not found