本文整理汇总了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
}
}
示例2: getReference
import org.jf.dexlib2.immutable.reference.ImmutableReference; //导入依赖的package包/类
@Nonnull
@Override
public ImmutableReference getReference() {
return reference;
}
示例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
}
}
示例4: getReference
import org.jf.dexlib2.immutable.reference.ImmutableReference; //导入依赖的package包/类
@Nonnull @Override public ImmutableReference getReference() { return reference; }
示例5: getReference
import org.jf.dexlib2.immutable.reference.ImmutableReference; //导入依赖的package包/类
@Override public ImmutableReference getReference() { return reference; }