apt-mirror-api/src/main/java/com/sun/mirror/util/DeclarationScanner.java
public void visitExecutableDeclaration(ExecutableDeclaration d) {
		d.accept(pre);

		for (TypeParameterDeclaration tpDecl : d.getFormalTypeParameters()) {
			tpDecl.accept(this);
		}

		for (ParameterDeclaration pDecl : d.getParameters()) {
			pDecl.accept(this);
		}

		d.accept(post);
	}
public void visitExecutableDeclaration(ExecutableDeclaration d) {
		d.accept(pre);

		for (TypeParameterDeclaration tpDecl : d.getFormalTypeParameters()) {
			tpDecl.accept(this);
		}

		for (ParameterDeclaration pDecl : d.getParameters()) {
			pDecl.accept(this);
		}

		d.accept(post);
	}
Visits a method or constructor declaration.

@param d the declaration to visit