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

Method get

src/main/java/pascal/taie/ir/proginfo/FieldRef.java:74–78  ·  view source on GitHub ↗
(
            JClass declaringClass, String name, Type type, boolean isStatic)

Source from the content-addressed store, hash-verified

72 private transient JField field;
73
74 public static FieldRef get(
75 JClass declaringClass, String name, Type type, boolean isStatic) {
76 Key key = new Key(declaringClass, name, type);
77 return map.computeIfAbsent(key, k -> new FieldRef(k, isStatic));
78 }
79
80 private FieldRef(Key key, boolean isStatic) {
81 super(key.declaringClass, key.name, isStatic);

Callers 3

testResolveFieldMethod · 0.95
convertFieldRefMethod · 0.95
getRefMethod · 0.95

Calls 1

computeIfAbsentMethod · 0.80

Tested by 1

testResolveFieldMethod · 0.76