Skip to content

Commit 4f4f531

Browse files
committed
Add missing QLDoc
1 parent 4df0f39 commit 4f4f531

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

java/ql/lib/semmle/code/java/frameworks/Thrift.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class ThriftIface extends Interface {
2525
this.getFile() instanceof ThriftGeneratedFile
2626
}
2727

28+
/** Returns an implementation of a method of this interface. */
2829
Method getAnImplementingMethod() {
2930
result.getDeclaringType().(Class).getASupertype+() = this and
3031
result.overrides+(this.getAMethod()) and

java/ql/lib/semmle/code/java/frameworks/struts/StrutsAnnotations.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class StrutsAnnotation extends Annotation {
1515
class StrutsActionAnnotation extends StrutsAnnotation {
1616
StrutsActionAnnotation() { this.getType().hasName("Action") }
1717

18+
/** Returns a callable annotated with this annotation. */
1819
Callable getActionCallable() {
1920
result = this.getAnnotatedElement()
2021
or

0 commit comments

Comments
 (0)