1 19 20 25 26 package soot.tagkit; 27 28 public class LongConstantValueTag extends ConstantValueTag 29 { 30 private final long value; 31 32 public LongConstantValueTag(long value) { 33 this.value = value; 34 this.bytes = new byte[] { 35 (byte)((value >> 56) & 0xff), 36 (byte)((value >> 48) & 0xff), 37 (byte)((value >> 40) & 0xff), 38 (byte)((value >> 32) & 0xff), 39 (byte)((value >> 24) & 0xff), 40 (byte)((value >> 16) & 0xff), 41 (byte)((value >> 8) & 0xff), 42 (byte)((value ) & 0xff) 43 }; 44 } 45 46 public long getLongValue() { 47 return value; 48 } 49 public String toString() { 50 return "ConstantValue: "+Long.toString(value); 51 } 52 } 53 54 | Popular Tags |