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