Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e64f3d

Browse files
committed
Java: add missing QLDoc for JavaxAnnotations.qll
1 parent 537c657 commit 6e64f3d

1 file changed

Lines changed: 58 additions & 6 deletions

File tree

Lines changed: 58 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,50 @@
1+
/**
2+
* Provides classes and predicates for working with annotations in the `javax` package.
3+
*/
4+
15
import java
26

37
/*
4-
* javax.annotation annotations
8+
* Annotations in the package `javax.annotation`.
59
*/
610

11+
/**
12+
* A `@javax.annotation.Generated` annotation.
13+
*/
714
class GeneratedAnnotation extends Annotation {
815
GeneratedAnnotation() { this.getType().hasQualifiedName("javax.annotation", "Generated") }
916
}
1017

18+
/**
19+
* A `@javax.annotation.PostConstruct` annotation.
20+
*/
1121
class PostConstructAnnotation extends Annotation {
1222
PostConstructAnnotation() { this.getType().hasQualifiedName("javax.annotation", "PostConstruct") }
1323
}
1424

25+
/**
26+
* A `@javax.annotation.PreDestroy` annotation.
27+
*/
1528
class PreDestroyAnnotation extends Annotation {
1629
PreDestroyAnnotation() { this.getType().hasQualifiedName("javax.annotation", "PreDestroy") }
1730
}
1831

32+
/**
33+
* A `@javax.annotation.Resource` annotation.
34+
*/
1935
class ResourceAnnotation extends Annotation {
2036
ResourceAnnotation() { this.getType().hasQualifiedName("javax.annotation", "Resource") }
2137
}
2238

39+
/**
40+
* A `@javax.annotation.Resources` annotation.
41+
*/
2342
class ResourcesAnnotation extends Annotation {
2443
ResourcesAnnotation() { this.getType().hasQualifiedName("javax.annotation", "Resources") }
2544
}
2645

2746
/**
28-
* A javax.annotation.ManagedBean annotation.
47+
* A `@javax.annotation.ManagedBean` annotation.
2948
*/
3049
class JavaxManagedBeanAnnotation extends Annotation {
3150
JavaxManagedBeanAnnotation() {
@@ -34,71 +53,104 @@ class JavaxManagedBeanAnnotation extends Annotation {
3453
}
3554

3655
/*
37-
* javax.annotation.security annotations
56+
* Annotations in the package `javax.annotation.security`.
3857
*/
3958

59+
/**
60+
* A `@javax.annotation.security.DeclareRoles` annotation.
61+
*/
4062
class DeclareRolesAnnotation extends Annotation {
4163
DeclareRolesAnnotation() {
4264
this.getType().hasQualifiedName("javax.annotation.security", "DeclareRoles")
4365
}
4466
}
4567

68+
/**
69+
* A `@javax.annotation.security.DenyAll` annotation.
70+
*/
4671
class DenyAllAnnotation extends Annotation {
4772
DenyAllAnnotation() { this.getType().hasQualifiedName("javax.annotation.security", "DenyAll") }
4873
}
4974

75+
/**
76+
* A `@javax.annotation.security.PermitAll` annotation.
77+
*/
5078
class PermitAllAnnotation extends Annotation {
5179
PermitAllAnnotation() {
5280
this.getType().hasQualifiedName("javax.annotation.security", "PermitAll")
5381
}
5482
}
5583

84+
/**
85+
* A `@javax.annotation.security.RolesAllowed` annotation.
86+
*/
5687
class RolesAllowedAnnotation extends Annotation {
5788
RolesAllowedAnnotation() {
5889
this.getType().hasQualifiedName("javax.annotation.security", "RolesAllowed")
5990
}
6091
}
6192

93+
/**
94+
* A `@javax.annotation.security.RunAs` annotation.
95+
*/
6296
class RunAsAnnotation extends Annotation {
6397
RunAsAnnotation() { this.getType().hasQualifiedName("javax.annotation.security", "RunAs") }
6498
}
6599

66100
/*
67-
* javax.interceptor annotations
101+
* Annotations in the package `javax.interceptor`.
68102
*/
69103

104+
/**
105+
* A `@javax.interceptor.AroundInvoke` annotation.
106+
*/
70107
class AroundInvokeAnnotation extends Annotation {
71108
AroundInvokeAnnotation() { this.getType().hasQualifiedName("javax.interceptor", "AroundInvoke") }
72109
}
73110

111+
/**
112+
* A `@javax.interceptor.ExcludeClassInterceptors` annotation.
113+
*/
74114
class ExcludeClassInterceptorsAnnotation extends Annotation {
75115
ExcludeClassInterceptorsAnnotation() {
76116
this.getType().hasQualifiedName("javax.interceptor", "ExcludeClassInterceptors")
77117
}
78118
}
79119

120+
/**
121+
* A `@javax.interceptor.ExcludeDefaultInterceptors` annotation.
122+
*/
80123
class ExcludeDefaultInterceptorsAnnotation extends Annotation {
81124
ExcludeDefaultInterceptorsAnnotation() {
82125
this.getType().hasQualifiedName("javax.interceptor", "ExcludeDefaultInterceptors")
83126
}
84127
}
85128

129+
/**
130+
* A `@javax.interceptor.Interceptors` annotation.
131+
*/
86132
class InterceptorsAnnotation extends Annotation {
87133
InterceptorsAnnotation() { this.getType().hasQualifiedName("javax.interceptor", "Interceptors") }
88134
}
89135

90136
/*
91-
* javax.jws annotations
137+
* Annotations in the package `javax.jws`.
92138
*/
93139

140+
/**
141+
* A `@javax.jws.WebService` annotation.
142+
*/
94143
class WebServiceAnnotation extends Annotation {
95144
WebServiceAnnotation() { this.getType().hasQualifiedName("javax.jws", "WebService") }
96145
}
97146

98147
/*
99-
* javax.xml.ws annotations
148+
* Annotations in the package `javax.xml.ws`.
100149
*/
101150

151+
/**
152+
* A `@javax.xml.ws.WebServiceRef` annotation.
153+
*/
102154
class WebServiceRefAnnotation extends Annotation {
103155
WebServiceRefAnnotation() { this.getType().hasQualifiedName("javax.xml.ws", "WebServiceRef") }
104156
}

0 commit comments

Comments
 (0)