writer.writeSetSourceFile(setSourceFile.getCodeAddress(), setSourceFile.getSourceFile());
SetSourceFile setSourceFile = (SetSourceFile) debugItem; return new BuilderSetSourceFile( (StringReference) convertReference(setSourceFile.getSourceFileReference()) );
private void internDebug(@Nonnull Method method) { for (MethodParameter param: method.getParameters()) { String paramName = param.getName(); if (paramName != null) { dexPool.stringSection.intern(paramName); } } MethodImplementation methodImpl = method.getImplementation(); if (methodImpl != null) { for (DebugItem debugItem: methodImpl.getDebugItems()) { switch (debugItem.getDebugItemType()) { case DebugItemType.START_LOCAL: StartLocal startLocal = (StartLocal)debugItem; dexPool.stringSection.internNullable(startLocal.getName()); dexPool.typeSection.internNullable(startLocal.getType()); dexPool.stringSection.internNullable(startLocal.getSignature()); break; case DebugItemType.SET_SOURCE_FILE: dexPool.stringSection.internNullable(((SetSourceFile) debugItem).getSourceFile()); break; } } } }
writer.writeSetSourceFile(setSourceFile.getCodeAddress(), checkStringReference(setSourceFile.getSourceFileReference()));
public SetSourceFileMethodItem(int codeAddress, int sortOrder, @Nonnull SetSourceFile setSourceFile) { super(codeAddress, sortOrder); this.sourceFile = setSourceFile.getSourceFile(); }
writer.writeSetSourceFile(setSourceFile.getCodeAddress(), checkStringReference(setSourceFile.getSourceFileReference())); break;
@Nonnull public static ImmutableSetSourceFile of (@Nonnull SetSourceFile setSourceFile) { if (setSourceFile instanceof ImmutableSetSourceFile) { return (ImmutableSetSourceFile)setSourceFile; } return new ImmutableSetSourceFile( setSourceFile.getCodeAddress(), setSourceFile.getSourceFile()); }
public SetSourceFileMethodItem(int codeAddress, int sortOrder, @Nonnull SetSourceFile setSourceFile) { super(codeAddress, sortOrder); this.sourceFile = setSourceFile.getSourceFile(); }
writer.writeSetSourceFile(setSourceFile.getCodeAddress(), checkStringReference(setSourceFile.getSourceFileReference())); break;
return new BuilderSetSourceFile(setSourceFile.getSourceFileReference());
@Nonnull public static ImmutableSetSourceFile of (@Nonnull SetSourceFile setSourceFile) { if (setSourceFile instanceof ImmutableSetSourceFile) { return (ImmutableSetSourceFile)setSourceFile; } return new ImmutableSetSourceFile( setSourceFile.getCodeAddress(), setSourceFile.getSourceFile()); }
public SetSourceFileMethodItem(int codeAddress, int sortOrder, @Nonnull SetSourceFile setSourceFile) { super(codeAddress, sortOrder); this.sourceFile = setSourceFile.getSourceFile(); }
return new BuilderSetSourceFile(setSourceFile.getSourceFileReference());
@Nonnull public static ImmutableSetSourceFile of (@Nonnull SetSourceFile setSourceFile) { if (setSourceFile instanceof ImmutableSetSourceFile) { return (ImmutableSetSourceFile)setSourceFile; } return new ImmutableSetSourceFile( setSourceFile.getCodeAddress(), setSourceFile.getSourceFile()); }
public SetSourceFileMethodItem(int codeAddress, int sortOrder, @Nonnull SetSourceFile setSourceFile) { super(codeAddress, sortOrder); this.sourceFile = setSourceFile.getSourceFile(); }
return new BuilderSetSourceFile(setSourceFile.getSourceFileReference());
writer.writeSetSourceFile(setSourceFile.getCodeAddress(), setSourceFile.getSourceFile());
private void internDebug(@Nonnull Method method) { for (MethodParameter param: method.getParameters()) { String paramName = param.getName(); if (paramName != null) { dexPool.stringSection.intern(paramName); } } MethodImplementation methodImpl = method.getImplementation(); if (methodImpl != null) { for (DebugItem debugItem: methodImpl.getDebugItems()) { switch (debugItem.getDebugItemType()) { case DebugItemType.START_LOCAL: StartLocal startLocal = (StartLocal)debugItem; dexPool.stringSection.internNullable(startLocal.getName()); dexPool.typeSection.internNullable(startLocal.getType()); dexPool.stringSection.internNullable(startLocal.getSignature()); break; case DebugItemType.SET_SOURCE_FILE: dexPool.stringSection.internNullable(((SetSourceFile) debugItem).getSourceFile()); break; } } } }
SetSourceFile setSourceFile = (SetSourceFile) debugItem; return new BuilderSetSourceFile( (StringReference) convertReference(setSourceFile.getSourceFileReference()) );
writer.writeSetSourceFile(setSourceFile.getCodeAddress(), setSourceFile.getSourceFile());