public static void processVariableScopes(SourceUnit source, ClassNode classNode, MethodNode methodNode) {
VariableScopeVisitor scopeVisitor = new VariableScopeVisitor(source);
if(methodNode == null) {
scopeVisitor.visitClass(classNode);
} else {
scopeVisitor.prepareVisit(classNode);
scopeVisitor.visitMethod(methodNode);
}
}
public static boolean isSetterOrGetterMethod(MethodNode md) {