File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
java/ql/lib/semmle/code/java/frameworks Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ class ThriftIface extends Interface {
25
25
this .getFile ( ) instanceof ThriftGeneratedFile
26
26
}
27
27
28
+ /** Returns an implementation of a method of this interface. */
28
29
Method getAnImplementingMethod ( ) {
29
30
result .getDeclaringType ( ) .( Class ) .getASupertype + ( ) = this and
30
31
result .overrides + ( this .getAMethod ( ) ) and
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ class StrutsAnnotation extends Annotation {
15
15
class StrutsActionAnnotation extends StrutsAnnotation {
16
16
StrutsActionAnnotation ( ) { this .getType ( ) .hasName ( "Action" ) }
17
17
18
+ /** Returns a callable annotated with this annotation. */
18
19
Callable getActionCallable ( ) {
19
20
result = this .getAnnotatedElement ( )
20
21
or
You can’t perform that action at this time.
0 commit comments