1 19 20 25 26 package soot.tagkit; 27 import soot.*; 28 import java.util.*; 29 30 31 35 36 public class AnnotationDefaultTag implements Tag 37 { 38 private AnnotationElem defaultVal; 39 40 public AnnotationDefaultTag(AnnotationElem def){ 41 this.defaultVal = def; 42 } 43 44 public String toString() { 46 return "Annotation Default: "+defaultVal; 47 } 48 49 50 public String getName() { 51 return "AnnotationDefaultTag"; 52 } 53 54 public String getInfo(){ 55 return "AnnotationDefault"; 56 } 57 58 public AnnotationElem getDefaultVal(){ 59 return defaultVal; 60 } 61 62 63 public byte[] getValue() { 64 throw new RuntimeException ( "AnnotationDefaultTag has no value for bytecode" ); 65 } 66 67 } 68 69 | Popular Tags |