Example #1
0
 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));
 }
Example #2
0
 public Type getType() {
   return fieldRef.type();
 }
Example #3
0
 public String toString() {
   return fieldRef.getSignature();
 }
Example #4
0
 public SootField getField() {
   return fieldRef.resolve();
 }
Example #5
0
 protected StaticFieldRef(SootFieldRef fieldRef) {
   if (!fieldRef.isStatic()) throw new RuntimeException("wrong static-ness");
   this.fieldRef = fieldRef;
 }