Removed instanceof Method check since the Code attribute can only possibly be in the attribute table of Method.