|
65 | 65 | @NativeHint(trigger = HalConfiguration.class,
|
66 | 66 | types = {
|
67 | 67 | @TypeHint(types = {
|
68 |
| - org.springframework.stereotype.Controller.class, |
69 | 68 | HypermediaType.class,
|
70 | 69 | ExposesResourceFor.class,
|
71 | 70 | RepresentationModelAssembler.class,
|
|
74 | 73 | LastInvocationAware.class,
|
75 | 74 | Relation.class,
|
76 | 75 | UriComponentsContributor.class,
|
77 |
| - |
78 |
| - HypermediaConfigurationImportSelector.class, |
79 |
| - HateoasConfiguration.class, |
80 |
| - HypermediaHttpMessageConverterConfiguration.class, |
81 |
| - |
82 | 76 | Affordance.class,
|
83 | 77 | AffordanceModel.class,
|
84 |
| - RestTemplateHateoasConfiguration.class, |
85 |
| - }, access = { TypeAccess.DECLARED_CONSTRUCTORS, TypeAccess.DECLARED_METHODS, TypeAccess.PUBLIC_METHODS, TypeAccess.RESOURCE}), |
| 78 | + }, access = { TypeAccess.DECLARED_CONSTRUCTORS, TypeAccess.DECLARED_METHODS, TypeAccess.PUBLIC_METHODS}), |
86 | 79 | @TypeHint(typeNames = {
|
87 | 80 | "org.atteo.evo.inflector.English",
|
88 |
| - }, access = { TypeAccess.DECLARED_CONSTRUCTORS, TypeAccess.DECLARED_METHODS, TypeAccess.PUBLIC_METHODS, TypeAccess.RESOURCE}), |
| 81 | + }, access = { TypeAccess.DECLARED_CONSTRUCTORS, TypeAccess.DECLARED_METHODS, TypeAccess.PUBLIC_METHODS}), |
89 | 82 | @TypeHint(
|
90 | 83 | types = CollectionModel.class,
|
91 | 84 | fields = @FieldHint(name = "content", allowUnsafeAccess = true, allowWrite = true)
|
@@ -180,7 +173,7 @@ private List<HintDeclaration> computeAtConfigurationClasses(TypeSystem typeSyste
|
180 | 173 | .skipAnnotationInspection()
|
181 | 174 | .skipMethodInspection()
|
182 | 175 | .skipFieldInspection()
|
183 |
| - .onTypeDiscovered((type, context) -> context.addReflectiveAccess(type, new AccessDescriptor(AccessBits.ALL))) |
| 176 | + .onTypeDiscovered((type, context) -> context.addReflectiveAccess(type, new AccessDescriptor(AccessBits.FULL_REFLECTION))) |
184 | 177 | .use(typeSystem)
|
185 | 178 | .toProcessTypesMatching(type -> type.isPartOfDomain("org.springframework.hateoas") && type.isAtConfiguration());
|
186 | 179 | }
|
|
0 commit comments