From fed00071afb2c1e7928b9954f179f8f373ff4e54 Mon Sep 17 00:00:00 2001 From: Max Medvedev Date: Fri, 22 Feb 2013 15:20:07 +0400 Subject: [PATCH] toString --- .../plugins/groovy/lang/resolve/DeclarationCacheKey.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/groovy/src/org/jetbrains/plugins/groovy/lang/resolve/DeclarationCacheKey.java b/plugins/groovy/src/org/jetbrains/plugins/groovy/lang/resolve/DeclarationCacheKey.java index f572fc37de16..a21ab1256c74 100644 --- a/plugins/groovy/src/org/jetbrains/plugins/groovy/lang/resolve/DeclarationCacheKey.java +++ b/plugins/groovy/src/org/jetbrains/plugins/groovy/lang/resolve/DeclarationCacheKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2012 JetBrains s.r.o. + * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -180,6 +180,10 @@ class DeclarationCacheKey { return true; } + @Override + public String toString() { + return "[scope=" + scope.toString() + ", plain=" + plainDeclarations.size() + ", nonCode=" + nonCodeDeclarations.size(); + } } private class MyCollectProcessor extends ResolverProcessor {