public final class MethodSlices
extends java.lang.Object
MethodSlices, mapped by ID. Stored ids may
be different to declared slice ids because they are mapped by the underlying
injector. Some injectors only support a single slice.| Modifier and Type | Method and Description |
|---|---|
MethodSlice |
get(java.lang.String id)
Fetch the slice with the specified id, returns null if no slice with the
supplied id is available
|
static MethodSlices |
parse(InjectionInfo info)
Parse a collection of slices from the supplied injector
|
java.lang.String |
toString() |
public MethodSlice get(java.lang.String id)
id - slice idpublic java.lang.String toString()
toString in class java.lang.Objectpublic static MethodSlices parse(InjectionInfo info)
info - owning injector