Skip to content

Commit a4fdc8c

Browse files
committed
GH-417: Remove obscure deprecated methods in JctFileManager and Workspace
1 parent 20accd5 commit a4fdc8c

File tree

4 files changed

+0
-847
lines changed

4 files changed

+0
-847
lines changed

java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/JctFileManager.java

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -245,23 +245,6 @@ default ModuleContainerGroup getAnnotationProcessorModulePathGroup() {
245245
return getModuleContainerGroup(StandardLocation.ANNOTATION_PROCESSOR_MODULE_PATH);
246246
}
247247

248-
/**
249-
* Get the location holding the
250-
* {@link StandardLocation#NATIVE_HEADER_OUTPUT native header outputs}.
251-
*
252-
* @return the location, or {@code null} if the location is not present in the file manager.
253-
* @since 0.1.0
254-
* @deprecated This is a specialist method that is usually not used. To keep the API simple,
255-
* this is being removed. You should instead call {@link #getOutputContainerGroup(Location)},
256-
* passing {@link StandardLocation#NATIVE_HEADER_OUTPUT} as the first parameter.
257-
*/
258-
@Deprecated(since = "0.6.0", forRemoval = true)
259-
@Nullable
260-
@SuppressWarnings("DeprecatedIsStillUsed")
261-
default OutputContainerGroup getNativeHeaderOutputGroup() {
262-
return getOutputContainerGroup(StandardLocation.NATIVE_HEADER_OUTPUT);
263-
}
264-
265248
/**
266249
* Get the location holding the {@link StandardLocation#MODULE_SOURCE_PATH module source path}.
267250
*
@@ -273,38 +256,6 @@ default ModuleContainerGroup getModuleSourcePathGroup() {
273256
return getModuleContainerGroup(StandardLocation.MODULE_SOURCE_PATH);
274257
}
275258

276-
/**
277-
* Get the location holding the {@link StandardLocation#UPGRADE_MODULE_PATH upgrade module path}.
278-
*
279-
* @return the location, or {@code null} if the location is not present in the file manager.
280-
* @since 0.1.0
281-
* @deprecated This is a specialist method that is usually not used. To keep the API simple,
282-
* this is being removed. You should instead call {@link #getModuleContainerGroup(Location)},
283-
* passing {@link StandardLocation#SYSTEM_MODULES} as the first parameter.
284-
*/
285-
@Deprecated(since = "0.6.0", forRemoval = true)
286-
@Nullable
287-
@SuppressWarnings("DeprecatedIsStillUsed")
288-
default ModuleContainerGroup getUpgradeModulePathGroup() {
289-
return getModuleContainerGroup(StandardLocation.UPGRADE_MODULE_PATH);
290-
}
291-
292-
/**
293-
* Get the location holding the {@link StandardLocation#SYSTEM_MODULES system modules}.
294-
*
295-
* @return the location, or {@code null} if the location is not present in the file manager.
296-
* @since 0.1.0
297-
* @deprecated This is a specialist method that is usually not used. To keep the API simple,
298-
* this is being removed. You should instead call {@link #getModuleContainerGroup(Location)},
299-
* passing {@link StandardLocation#SYSTEM_MODULES} as the first parameter.
300-
*/
301-
@Deprecated(since = "0.6.0", forRemoval = true)
302-
@Nullable
303-
@SuppressWarnings("DeprecatedIsStillUsed")
304-
default ModuleContainerGroup getSystemModulesGroup() {
305-
return getModuleContainerGroup(StandardLocation.SYSTEM_MODULES);
306-
}
307-
308259
/**
309260
* Get the location holding the {@link StandardLocation#MODULE_PATH module path}.
310261
*
@@ -315,20 +266,4 @@ default ModuleContainerGroup getSystemModulesGroup() {
315266
default ModuleContainerGroup getModulePathGroup() {
316267
return getModuleContainerGroup(StandardLocation.MODULE_PATH);
317268
}
318-
319-
/**
320-
* Get the location holding the {@link StandardLocation#PATCH_MODULE_PATH patch module path}.
321-
*
322-
* @return the location, or {@code null} if the location is not present in the file manager.
323-
* @since 0.1.0
324-
* @deprecated This is a specialist method that is usually not used. To keep the API simple,
325-
* this is being removed. You should instead call {@link #getModuleContainerGroup(Location)},
326-
* passing {@link StandardLocation#PATCH_MODULE_PATH} as the first parameter.
327-
*/
328-
@Deprecated(since = "0.6.0", forRemoval = true)
329-
@Nullable
330-
@SuppressWarnings("DeprecatedIsStillUsed")
331-
default ModuleContainerGroup getPatchModulePathGroup() {
332-
return getModuleContainerGroup(StandardLocation.PATCH_MODULE_PATH);
333-
}
334269
}

0 commit comments

Comments
 (0)