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 TypeMethodDescriptiongetInformation
(String internalClassName) Get information for a class.
-
Method Details
-
getInformation
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 whatClass.getSuperclass()
returns when the class represents an interface (it returnsnull
).- Parameters:
internalClassName
- internal class name- Returns:
- information for that class, or
null
if not found - Throws:
NullPointerException
- if any argument isnull
-