1
1
/**
2
- * Provides classes and predicates for working with the `play` package .
2
+ * Provides classes and predicates for working with the Play framework .
3
3
*/
4
4
5
5
import java
6
6
7
7
/**
8
- * A `play.mvc.Result` class.
8
+ * The `play.mvc.Result` class.
9
9
*/
10
10
class PlayMvcResultClass extends Class {
11
11
PlayMvcResultClass ( ) { this .hasQualifiedName ( "play.mvc" , "Result" ) }
12
12
}
13
13
14
14
/**
15
- * A `play.mvc.Results` class.
15
+ * The `play.mvc.Results` class.
16
16
*/
17
17
class PlayMvcResultsClass extends Class {
18
18
PlayMvcResultsClass ( ) { this .hasQualifiedName ( "play.mvc" , "Results" ) }
19
19
}
20
20
21
21
/**
22
- * A `play.mvc.Http$RequestHeader` class.
22
+ * The `play.mvc.Http$RequestHeader` class.
23
23
*/
24
24
class PlayMvcHttpRequestHeader extends RefType {
25
25
PlayMvcHttpRequestHeader ( ) { this .hasQualifiedName ( "play.mvc" , "Http$RequestHeader" ) }
26
26
}
27
27
28
28
/**
29
- * A `play.mvc.BodyParser<>$Of" ` annotation.
29
+ * A `play.mvc.BodyParser<>$Of` annotation.
30
30
*/
31
31
class PlayBodyParserAnnotation extends Annotation {
32
32
PlayBodyParserAnnotation ( ) { this .getType ( ) .hasQualifiedName ( "play.mvc" , "BodyParser<>$Of" ) }
@@ -42,7 +42,7 @@ class PlayAddCsrfTokenAnnotation extends Annotation {
42
42
}
43
43
44
44
/**
45
- * A member with qualified name ` F.Promise<Result>` of package `play.libs.F `.
45
+ * The type `play.libs. F.Promise<Result>`.
46
46
*/
47
47
class PlayAsyncResultPromise extends Member {
48
48
PlayAsyncResultPromise ( ) {
@@ -55,7 +55,7 @@ class PlayAsyncResultPromise extends Member {
55
55
}
56
56
57
57
/**
58
- * A type with qualified name `CompletionStage<Result>` of package ` java.util.concurrent`.
58
+ * The type ` java.util.concurrent.CompletionStage<Result> `.
59
59
*/
60
60
class PlayAsyncResultCompletionStage extends Type {
61
61
PlayAsyncResultCompletionStage ( ) {
@@ -65,7 +65,7 @@ class PlayAsyncResultCompletionStage extends Type {
65
65
}
66
66
67
67
/**
68
- * A class which extends PlayMvcController recursively to find all controllers .
68
+ * The class `play.mvc.Controller` or a class that transitively extends it .
69
69
*/
70
70
class PlayController extends Class {
71
71
PlayController ( ) {
@@ -74,21 +74,21 @@ class PlayController extends Class {
74
74
}
75
75
76
76
/**
77
- * A method to find PlayFramework controller action methods, these are mapping's to route files.
77
+ * A Play framework controller action method. These are mappings to route files.
78
78
*
79
79
* Sample Route - `POST /login @com.company.Application.login()`.
80
80
*
81
- * Example - class get's `index` & `login` as valid action methods.
82
- * ```
81
+ * Example - class gets `index` and `login` as valid action methods.
82
+ * ```java
83
83
* public class Application extends Controller {
84
- * public Result index(String username, String password) {
85
- * return ok("It works!");
86
- * }
84
+ * public Result index(String username, String password) {
85
+ * return ok("It works!");
86
+ * }
87
87
*
88
- * public Result login() {
89
- * return ok("Log me In!");
90
- * }
91
- * }
88
+ * public Result login() {
89
+ * return ok("Log me In!");
90
+ * }
91
+ * }
92
92
* ```
93
93
*/
94
94
class PlayControllerActionMethod extends Method {
0 commit comments