本文整理汇总了Java中org.jf.dexlib2.immutable.reference.ImmutableReference类的典型用法代码示例。如果您正苦于以下问题:Java ImmutableReference类的具体用法?Java ImmutableReference怎么用?Java ImmutableReference使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ImmutableReference类属于org.jf.dexlib2.immutable.reference包,在下文中一共展示了ImmutableReference类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: insn_format20bc
import org.jf.dexlib2.immutable.reference.ImmutableReference; //导入依赖的package包/类
public final void insn_format20bc() throws RecognitionException {
CommonTree INSTRUCTION_FORMAT20bc113=null;
int verification_error_type114 =0;
ImmutableReference verification_error_reference115 =null;
try {
// D:\\decomplier_tools\\smali\\smali\\smali\\src\\main\\antlr3\\smaliTreeWalker.g:797:3: ( ^( I_STATEMENT_FORMAT20bc INSTRUCTION_FORMAT20bc verification_error_type verification_error_reference ) )
// D:\\decomplier_tools\\smali\\smali\\smali\\src\\main\\antlr3\\smaliTreeWalker.g:798:5: ^( I_STATEMENT_FORMAT20bc INSTRUCTION_FORMAT20bc verification_error_type verification_error_reference )
{
match(input,I_STATEMENT_FORMAT20bc,FOLLOW_I_STATEMENT_FORMAT20bc_in_insn_format20bc2167);
match(input, Token.DOWN, null);
INSTRUCTION_FORMAT20bc113=(CommonTree)match(input,INSTRUCTION_FORMAT20bc,FOLLOW_INSTRUCTION_FORMAT20bc_in_insn_format20bc2169);
pushFollow(FOLLOW_verification_error_type_in_insn_format20bc2171);
verification_error_type114=verification_error_type();
state._fsp--;
pushFollow(FOLLOW_verification_error_reference_in_insn_format20bc2173);
verification_error_reference115=verification_error_reference();
state._fsp--;
match(input, Token.UP, null);
Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT20bc113!=null?INSTRUCTION_FORMAT20bc113.getText():null));
int verificationError = verification_error_type114;
ImmutableReference referencedItem = verification_error_reference115;
method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction20bc(opcode, verificationError,
dexBuilder.internReference(referencedItem)));
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
// do for sure before leaving
}
}
开发者ID:Miracle963,项目名称:zjdroid,代码行数:43,代码来源:smaliTreeWalker.java
示例2: getReference
import org.jf.dexlib2.immutable.reference.ImmutableReference; //导入依赖的package包/类
@Nonnull
@Override
public ImmutableReference getReference() {
return reference;
}
开发者ID:niranjan94,项目名称:show-java,代码行数:6,代码来源:ImmutableInstruction21c.java
示例3: insn_format20bc
import org.jf.dexlib2.immutable.reference.ImmutableReference; //导入依赖的package包/类
public final void insn_format20bc() throws RecognitionException {
CommonTree INSTRUCTION_FORMAT20bc113=null;
int verification_error_type114 =0;
ImmutableReference verification_error_reference115 =null;
try {
// /usr/local/google/home/bgruv/android/aosp-master/external/smali/smali/src/main/antlr3/smaliTreeWalker.g:797:3: ( ^( I_STATEMENT_FORMAT20bc INSTRUCTION_FORMAT20bc verification_error_type verification_error_reference ) )
// /usr/local/google/home/bgruv/android/aosp-master/external/smali/smali/src/main/antlr3/smaliTreeWalker.g:798:5: ^( I_STATEMENT_FORMAT20bc INSTRUCTION_FORMAT20bc verification_error_type verification_error_reference )
{
match(input,I_STATEMENT_FORMAT20bc,FOLLOW_I_STATEMENT_FORMAT20bc_in_insn_format20bc2167);
match(input, Token.DOWN, null);
INSTRUCTION_FORMAT20bc113=(CommonTree)match(input,INSTRUCTION_FORMAT20bc,FOLLOW_INSTRUCTION_FORMAT20bc_in_insn_format20bc2169);
pushFollow(FOLLOW_verification_error_type_in_insn_format20bc2171);
verification_error_type114=verification_error_type();
state._fsp--;
pushFollow(FOLLOW_verification_error_reference_in_insn_format20bc2173);
verification_error_reference115=verification_error_reference();
state._fsp--;
match(input, Token.UP, null);
Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT20bc113!=null?INSTRUCTION_FORMAT20bc113.getText():null));
int verificationError = verification_error_type114;
ImmutableReference referencedItem = verification_error_reference115;
method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction20bc(opcode, verificationError,
dexBuilder.internReference(referencedItem)));
}
}
catch (RecognitionException re) {
reportError(re);
recover(input,re);
}
finally {
// do for sure before leaving
}
}
开发者ID:Sukelluskello,项目名称:VectorAttackScanner,代码行数:43,代码来源:smaliTreeWalker.java
示例4: getReference
import org.jf.dexlib2.immutable.reference.ImmutableReference; //导入依赖的package包/类
@Nonnull @Override public ImmutableReference getReference() { return reference; }
开发者ID:CvvT,项目名称:andbg,代码行数:2,代码来源:ImmutableInstruction21c.java
示例5: getReference
import org.jf.dexlib2.immutable.reference.ImmutableReference; //导入依赖的package包/类
@Override public ImmutableReference getReference() { return reference; }
开发者ID:AndreJCL,项目名称:JCL,代码行数:2,代码来源:ImmutableInstruction21c.java
注:本文中的org.jf.dexlib2.immutable.reference.ImmutableReference类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论