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