@ParametersAreNonnullByDefault
public interface IClassProvider
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.util.function.Supplier<byte[]>> |
getAllClasses()
Get a map of all classes with a supplier for their bytecode.
Class names need to be with '.' instead of '/'. The map must be mutable! |
byte[] |
getClass(java.lang.String name)
Get the bytecode of a class.
Class name is with '.' instead of '/'. |
@Nonnull
byte[] getClass(java.lang.String name)
throws java.lang.ClassNotFoundException
name - The name of the classjava.lang.ClassNotFoundException - If the class could not be found@Nonnull java.util.Map<java.lang.String,java.util.function.Supplier<byte[]>> getAllClasses()