Naming Fixes

This commit is contained in:
Francis Alexander
2020-09-18 17:33:39 +05:30
parent ddc544aa07
commit 33f7d52a46
3 changed files with 6 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ class PlayControllerActionMethod extends Method {
this = controller.getAMethod() and
(
this.getReturnType() instanceof PlayAsyncResultPromise or
this.getReturnType() instanceof PlayMVCResult or
this.getReturnType() instanceof PlayMVCResultClass or
this.getReturnType() instanceof PlayAsyncResultCompletionStage
)
)

View File

@@ -6,6 +6,6 @@ import java
* @description Gets the play.mvc.Result class - Used to set a HTTP result with a status code, a set of HTTP headers and a body to be sent to the web client.
* (https://www.playframework.com/documentation/2.8.x/JavaActions)
*/
class PlayMVCResult extends Class {
PlayMVCResult() { this.hasQualifiedName("play.mvc", "Result") }
class PlayMVCResultClass extends Class {
PlayMVCResultClass() { this.hasQualifiedName("play.mvc", "Result") }
}

View File

@@ -6,8 +6,8 @@ import java
* @description Gets the play.mvc.Results class - Helper utilities to generate results
* (https://www.playframework.com/documentation/2.8.x/JavaActions)
*/
class PlayMVCResults extends Class {
PlayMVCResults() { this.hasQualifiedName("play.mvc", "Results") }
class PlayMVCResultsClass extends Class {
PlayMVCResultsClass() { this.hasQualifiedName("play.mvc", "Results") }
}
/**
@@ -17,7 +17,7 @@ class PlayMVCResults extends Class {
* (https://www.playframework.com/documentation/2.5.8/api/java/play/mvc/Results.html)
*/
class PlayHTTPResultsMethods extends Method {
PlayHTTPResultsMethods() { this.getDeclaringType() instanceof PlayMVCResults }
PlayHTTPResultsMethods() { this.getDeclaringType() instanceof PlayMVCResultsClass }
/**
* Gets all references to play.mvc.Results ok method