Skip to content

Commit bbedd72

Browse files
author
Stephan Brandauer
committed
Java: Automodel App Mode: rename MethodCall to MethodReturnValue
1 parent 704c7ee commit bbedd72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/ql/automodel/src/AutomodelApplicationModeCharacteristics.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ newtype TApplicationModeEndpoint =
3636
not exists(int i | i < idx and call.getArgument(i).(Argument).isVararg())
3737
)
3838
} or
39-
TMethodCall(Call call) { not call instanceof ConstructorCall } or
39+
TMethodReturnValue(Call call) { not call instanceof ConstructorCall } or
4040
TOverriddenParameter(Parameter p, Method overriddenMethod) {
4141
not p.getCallable().callsConstructor(_) and
4242
p.getCallable().(Method).overrides(overriddenMethod)
@@ -168,10 +168,10 @@ class ImplicitVarargsArray extends ApplicationModeEndpoint, TImplicitVarargsArra
168168
* An endpoint that represents a method call. The `ReturnValue` of a method call
169169
* may be a source.
170170
*/
171-
class MethodCall extends ApplicationModeEndpoint, TMethodCall {
171+
class MethodReturnValue extends ApplicationModeEndpoint, TMethodReturnValue {
172172
Call call;
173173

174-
MethodCall() { this = TMethodCall(call) }
174+
MethodReturnValue() { this = TMethodReturnValue(call) }
175175

176176
override Callable getCallable() { result = call.getCallee() }
177177

0 commit comments

Comments
 (0)