public Set<Type> usedTypes(){
  Set<Type> types=new HashSet<Type>();
  for (  DexlibAbstractInstruction i : instructions)   types.addAll(i.introducedTypes());
  if (tries != null) {
    for (    TryBlock<? extends ExceptionHandler> tryItem : tries) {
      List<? extends ExceptionHandler> hList=tryItem.getExceptionHandlers();
      for (      ExceptionHandler handler : hList) {
        String exType=handler.getExceptionType();
        if (exType == null)         continue;
        types.add(DexType.toSoot(exType));
      }
    }
  }
  return types;
}

public Set < Type > usedTypes ( ) { Set < Type > types = new HashSet < Type > ( ) ; for ( DexlibAbstractInstruction i : instructions ) types . addAll ( i . introducedTypes ( ) ) ; if ( tries != null ) { for ( TryBlock < ? extends ExceptionHandler > tryItem : tries ) { List < ? extends ExceptionHandler > hList = tryItem . getExceptionHandlers ( ) ; for ( ExceptionHandler handler : hList ) { String exType = handler . getExceptionType ( ) ; if ( exType == null ) continue ; types . add ( DexType . toSoot ( exType ) ) ; } } } return types ; }
return the types that are used in this body .
