public void outASigFieldRef(ASigFieldRef node) { SootFieldRef field = (SootFieldRef) mProductions.removeLast(); field = Scene.v().makeFieldRef(field.declaringClass(), field.name(), field.type(), true); mProductions.addLast(Jimple.v().newStaticFieldRef(field)); }
public Type getType() { return fieldRef.type(); }
public String toString() { return fieldRef.getSignature(); }
public SootField getField() { return fieldRef.resolve(); }
protected StaticFieldRef(SootFieldRef fieldRef) { if (!fieldRef.isStatic()) throw new RuntimeException("wrong static-ness"); this.fieldRef = fieldRef; }