Top Description Fields Constructors Methods
org.springframework.aot.nativex

pack-priv Class ProxyHintsWriter

extends Object
Class Inheritance
Imports
java.util.Comparator, .LinkedHashMap, .Map, java.util.stream.Collectors, org.springframework.aot.hint.JdkProxyHint, .ProxyHints, .TypeReference

Write JdkProxyHints contained in a ProxyHints to the JSON output expected by the GraalVM native-image compiler, typically named proxy-config.json.
Authors
Sebastien Deleuze, Stephane Nicoll, Brian Clozel
Since
6.0
See Also
Dynamic Proxy in Native Image, Native Image Build Configuration

Field Summary

Modifier and TypeField and Description
public static final ProxyHintsWriter
private static final Comparator<JdkProxyHint>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private void
private Map<String, Object>
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final ProxyHintsWriter INSTANCE
JDK_PROXY_HINT_COMPARATORback to summary
private static final Comparator<JdkProxyHint> JDK_PROXY_HINT_COMPARATOR

Constructor Detail

ProxyHintsWriterback to summary
pack-priv ProxyHintsWriter()

Method Detail

handleConditionback to summary
private void handleCondition(Map<String, Object> attributes, JdkProxyHint hint)
toAttributesback to summary
private Map<String, Object> toAttributes(JdkProxyHint hint)
writeback to summary
public void write(BasicJsonWriter writer, ProxyHints hints)