diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/tests/src/com/vaadin/tests/VaadinClasses.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/tests/src/com/vaadin/tests/VaadinClasses.java b/server/tests/src/com/vaadin/tests/VaadinClasses.java index c0e026a5ca..b0d06ea897 100644 --- a/server/tests/src/com/vaadin/tests/VaadinClasses.java +++ b/server/tests/src/com/vaadin/tests/VaadinClasses.java @@ -244,7 +244,9 @@ public class VaadinClasses { Class<?> c = Class.forName(fullyQualifiedClassName); if (baseClass.isAssignableFrom(c) - && !Modifier.isAbstract(c.getModifiers())) { + && !Modifier.isAbstract(c.getModifiers()) + && !c.isAnonymousClass() && !c.isMemberClass() + && !c.isLocalClass()) { result.add((Class<? extends T>) c); } } catch (Exception e) { |