AttributeDefinitionBuilder #1067: don't try to find refined declarations for class parameters

because we can't refine them, they are consturctor parameters
Test for #1067: "no suitable constructor" for class with function parameters