Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4df0f39 commit 4f4f531Copy full SHA for 4f4f531
2 files changed
java/ql/lib/semmle/code/java/frameworks/Thrift.qll
@@ -25,6 +25,7 @@ class ThriftIface extends Interface {
25
this.getFile() instanceof ThriftGeneratedFile
26
}
27
28
+ /** Returns an implementation of a method of this interface. */
29
Method getAnImplementingMethod() {
30
result.getDeclaringType().(Class).getASupertype+() = this and
31
result.overrides+(this.getAMethod()) and
java/ql/lib/semmle/code/java/frameworks/struts/StrutsAnnotations.qll
@@ -15,6 +15,7 @@ class StrutsAnnotation extends Annotation {
15
class StrutsActionAnnotation extends StrutsAnnotation {
16
StrutsActionAnnotation() { this.getType().hasName("Action") }
17
18
+ /** Returns a callable annotated with this annotation. */
19
Callable getActionCallable() {
20
result = this.getAnnotatedElement()
21
or
0 commit comments