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

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

		for (FieldDeclaration fieldDecl : d.getFields()) {
			fieldDecl.accept(this);
		}

		for (MethodDeclaration methodDecl : d.getMethods()) {
			methodDecl.accept(this);
		}

		for (TypeDeclaration typeDecl : d.getNestedTypes()) {
			typeDecl.accept(this);
		}

		d.accept(post);
	}
public void visitTypeDeclaration(TypeDeclaration d) {
		d.accept(pre);

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

		for (FieldDeclaration fieldDecl : d.getFields()) {
			fieldDecl.accept(this);
		}

		for (MethodDeclaration methodDecl : d.getMethods()) {
			methodDecl.accept(this);
		}

		for (TypeDeclaration typeDecl : d.getNestedTypes()) {
			typeDecl.accept(this);
		}

		d.accept(post);
	}
public void visitTypeDeclaration ( TypeDeclaration d ) { d . accept ( pre ) ; for ( TypeParameterDeclaration tpDecl : d . getFormalTypeParameters ( ) ) { tpDecl . accept ( this ) ; } for ( FieldDeclaration fieldDecl : d . getFields ( ) ) { fieldDecl . accept ( this ) ; } for ( MethodDeclaration methodDecl : d . getMethods ( ) ) { methodDecl . accept ( this ) ; } for ( TypeDeclaration typeDecl : d . getNestedTypes ( ) ) { typeDecl . accept ( this ) ; } d . accept ( post ) ; }
Visits a type declaration.

@param d the declaration to visit
Visits a type declaration .