ResourceHints to the JSON output expected by the GraalVM
native-image compiler, typically named resource-config.json.
| Modifier and Type | Field and Description |
|---|---|
| public static final ResourceHintsWriter | |
| private static final Comparator | |
| private static final Comparator |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private Map | |
| private Map | |
| private Map | |
| public void |
| INSTANCE | back to summary |
|---|---|
| public static final ResourceHintsWriter INSTANCE | |
| RESOURCE_BUNDLE_HINT_COMPARATOR | back to summary |
|---|---|
| private static final Comparator<ResourceBundleHint> RESOURCE_BUNDLE_HINT_COMPARATOR | |
| RESOURCE_PATTERN_HINT_COMPARATOR | back to summary |
|---|---|
| private static final Comparator<ResourcePatternHint> RESOURCE_PATTERN_HINT_COMPARATOR | |
| ResourceHintsWriter | back to summary |
|---|---|
| pack-priv ResourceHintsWriter() | |
| addIfNotEmpty | back to summary |
|---|---|
| private void addIfNotEmpty(Map<String, Object> attributes, String name, Object value) | |
| handleCondition | back to summary |
|---|---|
| private void handleCondition(Map<String, Object> attributes, ConditionalHint hint) | |
| handleResourceBundles | back to summary |
|---|---|
| private void handleResourceBundles(Map<String, Object> attributes, Stream<ResourceBundleHint> resourceBundles) | |
| toAttributes | back to summary |
|---|---|
| private Map | |
| toAttributes | back to summary |
|---|---|
| private Map | |
| toAttributes | back to summary |
|---|---|
| private Map | |
| write | back to summary |
|---|---|
| public void write(BasicJsonWriter writer, ResourceHints hints) | |