|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.cunit.classFile.constantPool.visitors.ADefaultPoolInfoVisitor<APoolInfo,java.lang.Object>
edu.rice.cs.cunit.classFile.constantPool.visitors.CheckClassOrEmptyVisitor
public class CheckClassOrEmptyVisitor
Check that the host is a class info.
| Field Summary | |
|---|---|
private static CheckClassOrEmptyVisitor |
_instance
Singleton instance. |
| Constructor Summary | |
|---|---|
private |
CheckClassOrEmptyVisitor()
Singleton constructor. |
| Method Summary | |
|---|---|
APoolInfo |
classCase(ClassPoolInfo host,
java.lang.Object o)
Return host. |
ClassPoolInfo |
defaultCase(APoolInfo host,
java.lang.Object o)
All other cases throw. |
APoolInfo |
emptyCase(EmptyPoolInfo host,
java.lang.Object o)
Return host. |
static CheckClassOrEmptyVisitor |
singleton()
Singleton accessor. |
| Methods inherited from class edu.rice.cs.cunit.classFile.constantPool.visitors.ADefaultPoolInfoVisitor |
|---|
asciizCase, doubleCase, 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 CheckClassOrEmptyVisitor _instance
| Constructor Detail |
|---|
private CheckClassOrEmptyVisitor()
| Method Detail |
|---|
public static CheckClassOrEmptyVisitor singleton()
public ClassPoolInfo defaultCase(APoolInfo host,
java.lang.Object o)
defaultCase in class ADefaultPoolInfoVisitor<APoolInfo,java.lang.Object>host - non-class hosto - not used
public APoolInfo classCase(ClassPoolInfo host,
java.lang.Object o)
classCase in interface IPoolInfoVisitor<APoolInfo,java.lang.Object>classCase in class ADefaultPoolInfoVisitor<APoolInfo,java.lang.Object>host - class hosto - not used
public APoolInfo emptyCase(EmptyPoolInfo host,
java.lang.Object o)
emptyCase in interface IPoolInfoVisitor<APoolInfo,java.lang.Object>emptyCase in class ADefaultPoolInfoVisitor<APoolInfo,java.lang.Object>host - empty infoo - not used
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||