1 19 20 25 26 27 28 package soot.tagkit; 29 30 31 import soot.*; 32 import java.util.*; 33 34 35 public class LineNumberTagAggregator extends FirstTagAggregator 36 { 37 public LineNumberTagAggregator( Singletons.Global g ) {} 38 public static LineNumberTagAggregator v() { return G.v().soot_tagkit_LineNumberTagAggregator(); } 39 40 41 public boolean wantTag(Tag t) 42 { 43 return (t instanceof LineNumberTag) || (t instanceof SourceLnPosTag); 44 } 45 46 public String aggregatedName() 47 { 48 return "LineNumberTable"; 49 } 50 51 public void considerTag(Tag t, Unit u){ 52 if (!(u instanceof IdentityUnit)) super.considerTag(t, u); 54 } 55 } 56 57 58 59 60 61 62 63 | Popular Tags |