1 19 20 25 26 27 package soot; 28 import soot.*; 29 30 import soot.util.*; 31 import java.util.*; 32 33 34 public class VoidType extends Type 35 { 36 public VoidType( Singletons.Global g ) {} 37 public static VoidType v() { return G.v().soot_VoidType(); } 38 39 public int hashCode() 40 { 41 return 0x3A8C1035; 42 } 43 44 public boolean equals(Object t) 45 { 46 return this == t; 47 } 48 49 public String toString() 50 { 51 return "void"; 52 } 53 54 public void apply(Switch sw) 55 { 56 ((TypeSwitch) sw).caseVoidType(this); 57 } 58 } 59 | Popular Tags |