Supress warnings in injectors using "all" parameter, not "ALL"
This parameter value supports by IDEA and Eclipse
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import javax.annotation.PreDestroy;
|
||||
|
||||
/* This file is generated by org.jetbrains.jet.generators.injectors.InjectorsPackage. DO NOT EDIT! */
|
||||
@SuppressWarnings("ALL")
|
||||
@SuppressWarnings("all")
|
||||
public class InjectorForJavaDescriptorResolver {
|
||||
|
||||
private final Project project;
|
||||
|
||||
@@ -66,7 +66,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import javax.annotation.PreDestroy;
|
||||
|
||||
/* This file is generated by org.jetbrains.jet.generators.injectors.InjectorsPackage. DO NOT EDIT! */
|
||||
@SuppressWarnings("ALL")
|
||||
@SuppressWarnings("all")
|
||||
public class InjectorForLazyResolveWithJava {
|
||||
|
||||
private final Project project;
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import javax.annotation.PreDestroy;
|
||||
|
||||
/* This file is generated by org.jetbrains.jet.generators.injectors.InjectorsPackage. DO NOT EDIT! */
|
||||
@SuppressWarnings("ALL")
|
||||
@SuppressWarnings("all")
|
||||
public class InjectorForTopDownAnalyzerForJvm implements InjectorForTopDownAnalyzer {
|
||||
|
||||
private final Project project;
|
||||
|
||||
@@ -48,7 +48,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import javax.annotation.PreDestroy;
|
||||
|
||||
/* This file is generated by org.jetbrains.jet.generators.injectors.InjectorsPackage. DO NOT EDIT! */
|
||||
@SuppressWarnings("ALL")
|
||||
@SuppressWarnings("all")
|
||||
public class InjectorForBodyResolve {
|
||||
|
||||
private final Project project;
|
||||
|
||||
@@ -48,7 +48,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import javax.annotation.PreDestroy;
|
||||
|
||||
/* This file is generated by org.jetbrains.jet.generators.injectors.InjectorsPackage. DO NOT EDIT! */
|
||||
@SuppressWarnings("ALL")
|
||||
@SuppressWarnings("all")
|
||||
public class InjectorForLazyResolve {
|
||||
|
||||
private final Project project;
|
||||
|
||||
@@ -42,7 +42,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import javax.annotation.PreDestroy;
|
||||
|
||||
/* This file is generated by org.jetbrains.jet.generators.injectors.InjectorsPackage. DO NOT EDIT! */
|
||||
@SuppressWarnings("ALL")
|
||||
@SuppressWarnings("all")
|
||||
public class InjectorForMacros {
|
||||
|
||||
private final Project project;
|
||||
|
||||
@@ -58,7 +58,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import javax.annotation.PreDestroy;
|
||||
|
||||
/* This file is generated by org.jetbrains.jet.generators.injectors.InjectorsPackage. DO NOT EDIT! */
|
||||
@SuppressWarnings("ALL")
|
||||
@SuppressWarnings("all")
|
||||
public class InjectorForTopDownAnalyzerBasic {
|
||||
|
||||
private final Project project;
|
||||
|
||||
@@ -42,7 +42,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import javax.annotation.PreDestroy;
|
||||
|
||||
/* This file is generated by org.jetbrains.jet.generators.injectors.InjectorsPackage. DO NOT EDIT! */
|
||||
@SuppressWarnings("ALL")
|
||||
@SuppressWarnings("all")
|
||||
public class InjectorForTests {
|
||||
|
||||
private final Project project;
|
||||
|
||||
@@ -91,7 +91,7 @@ public class DependencyInjectorGenerator {
|
||||
p.println();
|
||||
|
||||
p.println("/* This file is generated by " + generatedBy + ". DO NOT EDIT! */");
|
||||
p.println("@SuppressWarnings(\"ALL\")");
|
||||
p.println("@SuppressWarnings(\"all\")");
|
||||
p.print("public class " + injectorClassName);
|
||||
generateImplementsList(p);
|
||||
p.println(" {");
|
||||
|
||||
@@ -58,7 +58,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import javax.annotation.PreDestroy;
|
||||
|
||||
/* This file is generated by org.jetbrains.jet.generators.injectors.InjectorsPackage. DO NOT EDIT! */
|
||||
@SuppressWarnings("ALL")
|
||||
@SuppressWarnings("all")
|
||||
public class InjectorForTopDownAnalyzerForJs {
|
||||
|
||||
private final Project project;
|
||||
|
||||
Reference in New Issue
Block a user