本文整理汇总了Java中org.jf.baksmali.Renderers.IntegerRenderer类的典型用法代码示例。如果您正苦于以下问题:Java IntegerRenderer类的具体用法?Java IntegerRenderer怎么用?Java IntegerRenderer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IntegerRenderer类属于org.jf.baksmali.Renderers包,在下文中一共展示了IntegerRenderer类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: writeTo
import org.jf.baksmali.Renderers.IntegerRenderer; //导入依赖的package包/类
@Override
public boolean writeTo(IndentingWriter writer) throws IOException {
writer.write(".packed-switch ");
IntegerRenderer.writeTo(writer, firstKey);
writer.indent(4);
writer.write('\n');
int key = firstKey;
for (PackedSwitchTarget target: targets) {
target.writeTargetTo(writer);
writeResourceId(writer, key);
writer.write('\n');
key++;
}
writer.deindent(4);
writer.write(".end packed-switch");
return true;
}
开发者ID:Miracle963,项目名称:zjdroid,代码行数:18,代码来源:PackedSwitchMethodItem.java
示例2: writeTo
import org.jf.baksmali.Renderers.IntegerRenderer; //导入依赖的package包/类
@Override
public boolean writeTo(IndentingWriter writer) throws IOException {
writer.write(".packed-switch ");
IntegerRenderer.writeTo(writer, firstKey);
writer.indent(4);
writer.write('\n');
int key = firstKey;
for (PackedSwitchTarget target: targets) {
target.writeTargetTo(writer);
writeCommentIfResourceId(writer, key);
writer.write('\n');
key++;
}
writer.deindent(4);
writer.write(".end packed-switch");
return true;
}
开发者ID:Sukelluskello,项目名称:VectorAttackScanner,代码行数:18,代码来源:PackedSwitchMethodItem.java
示例3: writeTo
import org.jf.baksmali.Renderers.IntegerRenderer; //导入依赖的package包/类
@Override
public boolean writeTo(IndentingWriter writer) throws IOException {
writer.write(".sparse-switch\n");
writer.indent(4);
for (SparseSwitchTarget target: targets) {
IntegerRenderer.writeTo(writer, target.getKey());
writer.write(" -> ");
target.writeTargetTo(writer);
writeResourceId(writer, target.getKey());
writer.write('\n');
}
writer.deindent(4);
writer.write(".end sparse-switch");
return true;
}
开发者ID:Miracle963,项目名称:zjdroid,代码行数:16,代码来源:SparseSwitchMethodItem.java
示例4: writeTo
import org.jf.baksmali.Renderers.IntegerRenderer; //导入依赖的package包/类
@Override
public boolean writeTo(IndentingWriter writer) throws IOException {
writer.write(".packed-switch ");
IntegerRenderer.writeTo(writer, instruction.getFirstKey());
writer.indent(4);
writer.write('\n');
for (LabelMethodItem label: labels) {
label.writeTo(writer);
writer.write('\n');
}
writer.deindent(4);
writer.write(".end packed-switch");
return true;
}
开发者ID:DocGerd,项目名称:DalvikSSA,代码行数:15,代码来源:PackedSwitchMethodItem.java
示例5: writeTo
import org.jf.baksmali.Renderers.IntegerRenderer; //导入依赖的package包/类
@Override
public boolean writeTo(IndentingWriter writer) throws IOException {
writer.write(".sparse-switch\n");
writer.indent(4);
for (SparseSwitchTarget target: targets) {
IntegerRenderer.writeTo(writer, target.Key);
writer.write(" -> ");
target.Target.writeTo(writer);
writer.write('\n');
}
writer.deindent(4);
writer.write(".end sparse-switch");
return true;
}
开发者ID:DocGerd,项目名称:DalvikSSA,代码行数:15,代码来源:SparseSwitchMethodItem.java
示例6: writeTo
import org.jf.baksmali.Renderers.IntegerRenderer; //导入依赖的package包/类
@Override
public boolean writeTo(IndentingWriter writer) throws IOException {
writer.write(".sparse-switch\n");
writer.indent(4);
for (SparseSwitchTarget target: targets) {
IntegerRenderer.writeTo(writer, target.getKey());
writer.write(" -> ");
target.writeTargetTo(writer);
writeCommentIfResourceId(writer, target.getKey());
writer.write('\n');
}
writer.deindent(4);
writer.write(".end sparse-switch");
return true;
}
开发者ID:Sukelluskello,项目名称:VectorAttackScanner,代码行数:16,代码来源:SparseSwitchMethodItem.java
示例7: writeTo
import org.jf.baksmali.Renderers.IntegerRenderer; //导入依赖的package包/类
@Override
public boolean writeTo(IndentingWriter writer) throws IOException {
writer.write(".packed-switch ");
IntegerRenderer.writeTo(writer, instruction.getFirstKey());
writer.indent(4);
writer.write('\n');
for (PackedSwitchTarget target: targets) {
target.writeTargetTo(writer);
writer.write('\n');
}
writer.deindent(4);
writer.write(".end packed-switch");
return true;
}
开发者ID:longluo,项目名称:smali,代码行数:15,代码来源:PackedSwitchMethodItem.java
示例8: writeTo
import org.jf.baksmali.Renderers.IntegerRenderer; //导入依赖的package包/类
@Override
public boolean writeTo(IndentingWriter writer) throws IOException {
writer.write(".sparse-switch\n");
writer.indent(4);
for (SparseSwitchTarget target: targets) {
IntegerRenderer.writeTo(writer, target.Key);
writer.write(" -> ");
target.writeTargetTo(writer);
writer.write('\n');
}
writer.deindent(4);
writer.write(".end sparse-switch");
return true;
}
开发者ID:longluo,项目名称:smali,代码行数:15,代码来源:SparseSwitchMethodItem.java
注:本文中的org.jf.baksmali.Renderers.IntegerRenderer类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论