Class InstrumentationInjectable
java.lang.Object
io.github.slimjar.injector.loader.InstrumentationInjectable
- All Implemented Interfaces:
Injectable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Injectablecreate(@NotNull InstrumentationFactory factory) static @NotNull Injectablecreate(@NotNull Path downloadPath, @NotNull Collection<Repository> repositories) @NotNull ClassLoadervoidboolean
-
Constructor Details
-
InstrumentationInjectable
-
-
Method Details
-
inject
- Specified by:
injectin interfaceInjectable- Throws:
InjectorException
-
isThreadSafe
public boolean isThreadSafe()- Specified by:
isThreadSafein interfaceInjectable
-
getClassLoader
- Specified by:
getClassLoaderin interfaceInjectable
-
create
@NotNull public static @NotNull Injectable create(@NotNull @NotNull Path downloadPath, @NotNull @NotNull Collection<Repository> repositories) throws InjectorException - Throws:
InjectorException
-
create
@Contract("_ -> new") @NotNull public static @NotNull Injectable create(@NotNull @NotNull InstrumentationFactory factory) throws InjectorException - Throws:
InjectorException
-