public static FieldDeclaration scanForSimpleType(ITextSelection selection)(Code)
This method scans all java source files in the workspace if one
contains the given simple type. If a match has been found a
FieldDeclaration instance and its compilation unit will be returned
by a map.
Parameters: selection - the text selection of the type in the active editor a field declaration instance of the selected type