TypeDeclaration getTypeDeclaration(TypeId<?> type) {
    TypeDeclaration result = types.get(type);
    if (result == null) {
      result = new TypeDeclaration(type);
      types.put(type, result);
    }
    return result;
  }
Creates a new {@code DexMaker} instance, which can be used to create a single dex file.
android/android_framework/dex-maker/src/main/java/com/android/dx/DexMaker.java