1 21 package proguard.evaluation.value; 22 23 import proguard.classfile.ClassConstants; 24 25 32 public class TopValue extends Category1Value 33 { 34 36 public final Value generalize(Value other) 37 { 38 return this.getClass() == other.getClass() ? this : null; 39 } 40 41 public final int computationalType() 42 { 43 return TYPE_TOP; 44 } 45 46 public final String internalType() 47 { 48 return null; 49 } 50 51 52 54 public boolean equals(Object object) 55 { 56 return object != null && 57 this.getClass() == object.getClass(); 58 } 59 60 61 public int hashCode() 62 { 63 return this.getClass().hashCode(); 64 } 65 66 67 public String toString() 68 { 69 return "T"; 70 } 71 } 72 | Popular Tags |