|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.rice.cs.cunit.classFile.constantPool.visitors.ADefaultPoolInfoVisitor<AUTFPoolInfo,java.lang.Object> edu.rice.cs.cunit.classFile.constantPool.visitors.CheckUTFVisitor
public class CheckUTFVisitor
Check that the host is a UTF info.
Field Summary | |
---|---|
private static CheckUTFVisitor |
_instance
Singleton instance. |
Constructor Summary | |
---|---|
private |
CheckUTFVisitor()
Singleton constructor. |
Method Summary | |
---|---|
AUTFPoolInfo |
asciizCase(ASCIIPoolInfo host,
java.lang.Object o)
Return host. |
AUTFPoolInfo |
defaultCase(APoolInfo host,
java.lang.Object o)
All other cases throw. |
static CheckUTFVisitor |
singleton()
Singleton accessor. |
AUTFPoolInfo |
unicodeCase(UnicodePoolInfo host,
java.lang.Object o)
Return host. |
Methods inherited from class edu.rice.cs.cunit.classFile.constantPool.visitors.ADefaultPoolInfoVisitor |
---|
classCase, doubleCase, emptyCase, fieldCase, floatCase, intCase, interfaceMethodCase, longCase, methodCase, nameAndTypeCase, stringCase |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static CheckUTFVisitor _instance
Constructor Detail |
---|
private CheckUTFVisitor()
Method Detail |
---|
public static CheckUTFVisitor singleton()
public AUTFPoolInfo defaultCase(APoolInfo host, java.lang.Object o)
defaultCase
in class ADefaultPoolInfoVisitor<AUTFPoolInfo,java.lang.Object>
host
- non-UTF hosto
- not used
public AUTFPoolInfo asciizCase(ASCIIPoolInfo host, java.lang.Object o)
asciizCase
in interface IPoolInfoVisitor<AUTFPoolInfo,java.lang.Object>
asciizCase
in class ADefaultPoolInfoVisitor<AUTFPoolInfo,java.lang.Object>
host
- UTF hosto
- not used
public AUTFPoolInfo unicodeCase(UnicodePoolInfo host, java.lang.Object o)
unicodeCase
in interface IPoolInfoVisitor<AUTFPoolInfo,java.lang.Object>
unicodeCase
in class ADefaultPoolInfoVisitor<AUTFPoolInfo,java.lang.Object>
host
- UTF hosto
- not used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |