This repository was archived by the owner on Apr 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,6 @@ class ChannelReadMethod extends Method {
1616 }
1717}
1818
19- /** The ChannelInboundHandlerl.channelRead(1) source */
20- class ChannelReadSource extends RemoteFlowSource {
21- ChannelReadSource ( ) {
22- exists ( ChannelReadMethod m |
23- this .asParameter ( ) = m .getParameter ( 1 )
24- )
25- }
26- override string getSourceType ( ) { result = "Netty Handler Source" }
27- }
28-
2919/** The ByteToMessageDecoder class */
3020class ByteToMessageDecoder extends Class {
3121 ByteToMessageDecoder ( ) {
@@ -41,6 +31,16 @@ class DecodeMethod extends Method {
4131 }
4232}
4333
34+ /** The ChannelInboundHandlerl.channelRead(1) source */
35+ class ChannelReadSource extends RemoteFlowSource {
36+ ChannelReadSource ( ) {
37+ exists ( ChannelReadMethod m |
38+ this .asParameter ( ) = m .getParameter ( 1 )
39+ )
40+ }
41+ override string getSourceType ( ) { result = "Netty Handler Source" }
42+ }
43+
4444/** The ByteToMessageDecoder.decode(1) source */
4545class DecodeSource extends RemoteFlowSource {
4646 DecodeSource ( ) {
5858 source instanceof DecodeSource
5959 ) and
6060 not source .getLocation ( ) .getFile ( ) .getRelativePath ( ) .matches ( "%/src/test/%" )
61- select source , source .getEnclosingCallable ( ) .getDeclaringType ( ) , source .getSourceType ( )
62-
63-
61+ select
62+ source ,
63+ source .getEnclosingCallable ( ) .getDeclaringType ( ) ,
64+ source .getSourceType ( )
You can’t perform that action at this time.
0 commit comments