コード例 #1
0
 /*
  * (non-Javadoc)
  *
  * @see org.eclipse.jdt.debug.core.IJavaVariable#getGenericSignature()
  */
 @Override
 public String getGenericSignature() throws DebugException {
   try {
     String genericSignature = fLocal.genericSignature();
     if (genericSignature != null) {
       return genericSignature;
     }
     return fLocal.signature();
   } catch (RuntimeException e) {
     targetRequestFailed(
         MessageFormat.format(
             JDIDebugModelMessages
                 .JDILocalVariable_exception_retrieving_local_variable_type_signature,
             e.toString()),
         e);
     // execution will not reach this line, as
     // #targetRequestFailed will thrown an exception
     return null;
   }
 }