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