Skip to content
Merged
Prev Previous commit
Next Next commit
Add missing QLDoc
  • Loading branch information
atorralba committed Jan 24, 2022
commit 4f4f531dfcc39f7672e9bb441cdfc9fd85f01103
1 change: 1 addition & 0 deletions java/ql/lib/semmle/code/java/frameworks/Thrift.qll
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class ThriftIface extends Interface {
this.getFile() instanceof ThriftGeneratedFile
}

/** Returns an implementation of a method of this interface. */
Comment thread
atorralba marked this conversation as resolved.
Outdated
Method getAnImplementingMethod() {
result.getDeclaringType().(Class).getASupertype+() = this and
result.overrides+(this.getAMethod()) and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class StrutsAnnotation extends Annotation {
class StrutsActionAnnotation extends StrutsAnnotation {
StrutsActionAnnotation() { this.getType().hasName("Action") }

/** Returns a callable annotated with this annotation. */
Comment thread
atorralba marked this conversation as resolved.
Outdated
Callable getActionCallable() {
result = this.getAnnotatedElement()
or
Expand Down