Interface ClassInformationRepository
-
- All Known Implementing Classes:
ClassLoaderClassInformationRepository,ClassResourceClassInformationRepository,CompositeClassInformationRepository,FileSystemClassInformationRepository
public interface ClassInformationRepositoryClass 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 ClassInformationgetInformation(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
nullif not found - Throws:
java.lang.NullPointerException- if any argument isnull
-
-