Package net.fabricmc.classtweaker.api
Interface InjectedInterface
- All Known Implementing Classes:
InjectedInterfaceImpl
@NonExtendable
public interface InjectedInterface
-
Method Summary
Modifier and TypeMethodDescriptionThe class name of the interface to inject onto the target class.The signature of the interface to inject, including any generics.booleanWhether the interface to inject has any generics.
-
Method Details
-
getInterfaceName
String getInterfaceName()The class name of the interface to inject onto the target class. -
getInterfaceSignature
String getInterfaceSignature()The signature of the interface to inject, including any generics. If no generics are present, this will be"L" + interfaceName + ";". See the JVMS. -
hasGenerics
boolean hasGenerics()Whether the interface to inject has any generics.
-