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