public class NodeIntrinsificationProvider extends Object implements GeneratedPluginInjectionProvider
| Modifier and Type | Field and Description |
|---|---|
static TargetDescription |
INJECTED_TARGET |
| Constructor and Description |
|---|
NodeIntrinsificationProvider(MetaAccessProvider metaAccess,
SnippetReflectionProvider snippetReflection,
ForeignCallsProvider foreignCalls,
WordTypes wordTypes,
TargetDescription target) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getInjectedArgument(Class<T> type) |
Stamp |
getInjectedStamp(Class<?> type,
boolean nonNull)
Gets a stamp denoting a given type and non-nullness property.
|
public NodeIntrinsificationProvider(MetaAccessProvider metaAccess,
SnippetReflectionProvider snippetReflection,
ForeignCallsProvider foreignCalls,
WordTypes wordTypes,
TargetDescription target)
public Stamp getInjectedStamp(Class<?> type, boolean nonNull)
GeneratedPluginInjectionProvidergetInjectedStamp in interface GeneratedPluginInjectionProvidertype - the type the returned stamp representsnonNull - specifies if the returned stamp denotes a value that is guaranteed to be
non-nullpublic <T> T getInjectedArgument(Class<T> type)
getInjectedArgument in interface GeneratedPluginInjectionProvider