1 19 20 package soot.jimple.spark.pag; 21 import soot.jimple.spark.*; 22 import soot.*; 23 24 28 public class AllocDotField extends Node { 29 30 public AllocNode getBase() { return base; } 31 32 public SparkField getField() { return field; } 33 public String toString() { 34 return "AllocDotField "+getNumber()+" "+base+"."+field; 35 } 36 37 38 39 AllocDotField( PAG pag, AllocNode base, SparkField field ) { 40 super( pag, null ); 41 if( field == null ) throw new RuntimeException ( "null field" ); 42 this.base = base; 43 this.field = field; 44 base.addField( this, field ); 45 pag.getAllocDotFieldNodeNumberer().add( this ); 46 } 47 48 49 50 protected AllocNode base; 51 protected SparkField field; 52 } 53 54 | Popular Tags |