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

Method JField

src/main/java/pascal/taie/language/classes/JField.java:46–53  ·  view source on GitHub ↗
(JClass declaringClass, String name, Set<Modifier> modifiers,
                  Type type, @Nullable ReferenceTypeGSignature gSignature,
                  AnnotationHolder annotationHolder)

Source from the content-addressed store, hash-verified

44 private final ReferenceTypeGSignature gSignature;
45
46 public JField(JClass declaringClass, String name, Set<Modifier> modifiers,
47 Type type, @Nullable ReferenceTypeGSignature gSignature,
48 AnnotationHolder annotationHolder) {
49 super(declaringClass, name, modifiers, annotationHolder);
50 this.type = type;
51 this.gSignature = gSignature;
52 this.signature = StringReps.getSignatureOf(this);
53 }
54
55 public Type getType() {
56 return type;

Callers

nothing calls this directly

Calls 1

getSignatureOfMethod · 0.95

Tested by

no test coverage detected