public abstract class TearOffSupport extends Object
This mechanism is used to avoid static linking optional packages, so that stapler can work even when the optional dependencies are missing.
| Constructor and Description |
|---|
TearOffSupport() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getTearOff(Class<T> t) |
<T> T |
loadTearOff(Class<T> t) |
<T> void |
setTearOff(Class<T> type,
T instance) |
Copyright © 2014. All rights reserved.