AnonymousClassDeclaration anon= (AnonymousClassDeclaration)((ClassInstanceCreation)node).getAnonymousClassDeclaration();
AnonymousClassDeclaration anon= ((ClassInstanceCreation)node).getAnonymousClassDeclaration();
    private static AnonymousClassDeclaration getAnonymousInnerClass(ASTNode node) {    	if (node == null)    		return null;    	if (node instanceof AnonymousClassDeclaration)    		return (AnonymousClassDeclaration)node;    	if (node instanceof ClassInstanceCreation){    		AnonymousClassDeclaration anon= (AnonymousClassDeclaration)((ClassInstanceCreation)node).getAnonymousClassDeclaration();    		if (anon != null)    			return anon;    	}	    	if (node.getParent() instanceof ClassInstanceCreation){    		AnonymousClassDeclaration anon= (AnonymousClassDeclaration)((ClassInstanceCreation)node.getParent()).getAnonymousClassDeclaration();    		if (anon != null)    			return anon;    	}			return (AnonymousClassDeclaration)ASTNodes.getParent(node, AnonymousClassDeclaration.class);    }