org.dellroad.jc.cgen
Class ClassConstant

java.lang.Object
  extended byorg.dellroad.jc.cgen.ClassConstant

public class ClassConstant
extends Object

Hack for representing class constants, which Soot doesn't yet support. We fake them as string constants with a special random prefix. This class provides methods for converting back and forth.


Method Summary
static String getClassName(StringConstant c)
           
static boolean isClassConstant(StringConstant c)
           
static StringConstant v(String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

v

public static StringConstant v(String className)

isClassConstant

public static boolean isClassConstant(StringConstant c)

getClassName

public static String getClassName(StringConstant c)