Suppress this-escape warnings in some tools.
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user