Suppress this-escape warnings in some tools.

This commit is contained in:
Ray J. Greenwell
2026-02-19 15:08:31 -08:00
parent 7996dc1e61
commit 376d079272
2 changed files with 2 additions and 0 deletions
@@ -53,6 +53,7 @@ public class GenServiceTask extends InvocationTask
/** Contains all imports required for the parameters of the methods in this listener. */ /** Contains all imports required for the parameters of the methods in this listener. */
public ImportSet imports = new ImportSet(); public ImportSet imports = new ImportSet();
@SuppressWarnings("this-escape")
public ServiceListener (Class<?> service, Class<?> listener) public ServiceListener (Class<?> service, Class<?> listener)
{ {
this.listener = listener; this.listener = listener;
@@ -41,6 +41,7 @@ public class CPPType
public final boolean primitive; public final boolean primitive;
@SuppressWarnings("this-escape")
public CPPType (Type javaType) public CPPType (Type javaType)
{ {
if (javaType instanceof ParameterizedType) { if (javaType instanceof ParameterizedType) {