fixed bug in AppliedAttribute.type
Use actual type arguments in getAttribute
some fixes to type arguments
declaration containers