Class CompositeClassInformationRepository

    • Constructor Detail

      • CompositeClassInformationRepository

        public CompositeClassInformationRepository​(ClassInformationRepository... repos)
        Parameters:
        repos - class information repositories
        Throws:
        java.lang.NullPointerException - if any argument is null
        java.lang.IllegalArgumentException - if repos contains null
    • Method Detail

      • getInformation

        public ClassInformation getInformation​(java.lang.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