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