| java.lang.Object tide.bytecode.asm.ClassVisitorAd tide.bytecode.asm.RecurseChecker
RecurseChecker | final public class RecurseChecker extends ClassVisitorAd (Code) | | Checks the @Recurse annotation contract. If present, a method must call itself in its block.
Also checks missing annotations.
We may also check for unchecked recursion, infinite loops, ... but this is already done by other tools...
|
Constructor Summary | |
public | RecurseChecker(boolean detectMissingRecurseAnn) |
Method Summary | |
public static List<ASMethod> | searchMissingRecurseCalls(String name, boolean detectMissingRecurseAnn) Analyse. | public void | visit(int version, int access, String name, String signature, String superName, String[] interfaces) | public MethodVisitor | visitMethod(int access, String name, String desc, String signature, String[] exceptions) | public void | visitSource(String source, String debugg) |
detectMissingRecurseAnn | final boolean detectMissingRecurseAnn(Code) | | |
RecurseChecker | public RecurseChecker(boolean detectMissingRecurseAnn)(Code) | | |
Fields inherited from tide.bytecode.asm.ClassVisitorAd | final static boolean debug(Code)(Java Doc)
|
Methods inherited from tide.bytecode.asm.ClassVisitorAd | public void visit(int version, int access, String name, String signature, String superName, String[] interfaces)(Code)(Java Doc) public AnnotationVisitor visitAnnotation(String desc, boolean visible)(Code)(Java Doc) public void visitAttribute(Attribute attr)(Code)(Java Doc) public void visitEnd()(Code)(Java Doc) public FieldVisitor visitField(int access, String name, String desc, String signature, Object value)(Code)(Java Doc) public void visitInnerClass(String name, String outerName, String innerName, int access)(Code)(Java Doc) public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)(Code)(Java Doc) public void visitOuterClass(String owner, String name, String desc)(Code)(Java Doc) public void visitSource(String source, String debugg)(Code)(Java Doc)
|
|
|