MCPcopy Create free account
hub / github.com/LFYSec/MScan / isFieldRef

Method isFieldRef

src/main/java/pascal/taie/ir/exp/MethodHandle.java:80–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78 }
79
80 public boolean isFieldRef() {
81 return switch (kind) {
82 case REF_getField, REF_getStatic,
83 REF_putField, REF_putStatic -> true;
84 default -> false;
85 };
86 }
87
88 public FieldRef getFieldRef() {
89 assert isFieldRef() : "This method handle is not field reference";

Callers 2

MethodHandleMethod · 0.95
getFieldRefMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected