e.g. class MyClass { }, class MyClass extends SuperClass implements Interface1, Interface2 { const MY_CONSTANT = 3; public static final $myVar = 5, $yourVar; var $anotherOne; private function myFunction($a) { } }
class MyClass { }, class MyClass extends SuperClass implements Interface1, Interface2 { const MY_CONSTANT = 3; public static final $myVar = 5, $yourVar; var $anotherOne; private function myFunction($a) { } }
116117118119120121122123124125126127128
public boolean visit(MethodDeclaration s) throws Exception { if (s == methodDecl && currentType instanceof ClassDeclaration) { ClassDeclaration classDecl = (ClassDeclaration) currentType; ASTListNode superClasses = classDecl .getSuperClasses(); List childs = superClasses.getChilds(); for (Iterator iterator = childs.iterator(); iterator .hasNext();) { ASTNode node = (ASTNode) iterator.next();