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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassInformation
getInformation(java.lang.String internalClassName)
Get information for a class.
-
-
-
Method Detail
-
getInformation
ClassInformation getInformation(java.lang.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 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:
java.lang.NullPointerException
- if any argument isnull
-
-