Home
last modified time | relevance | path

Searched refs:exceptionHandlers (Results 1 – 5 of 5) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableTryBlock.java48 @Nonnull protected final ImmutableList<? extends ImmutableExceptionHandler> exceptionHandlers; field in ImmutableTryBlock
52 @Nullable List<? extends ExceptionHandler> exceptionHandlers) { in ImmutableTryBlock() argument
55 this.exceptionHandlers = ImmutableExceptionHandler.immutableListOf(exceptionHandlers); in ImmutableTryBlock()
60 … @Nullable ImmutableList<? extends ImmutableExceptionHandler> exceptionHandlers) { in ImmutableTryBlock() argument
63 this.exceptionHandlers = ImmutableUtils.nullToEmptyList(exceptionHandlers); in ImmutableTryBlock()
80 return exceptionHandlers; in getExceptionHandlers()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderTryBlock.java42 @Nonnull private final List<? extends BuilderExceptionHandler> exceptionHandlers; field in BuilderTryBlock
45 @Nonnull List<? extends BuilderExceptionHandler> exceptionHandlers) { in BuilderTryBlock() argument
48 this.exceptionHandlers = exceptionHandlers; in BuilderTryBlock()
60 return exceptionHandlers; in getExceptionHandlers()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
DFixOffsetsTest.java110 … List<? extends TryBlock<? extends ExceptionHandler>> exceptionHandlers = impl.getTryBlocks(); in testFixOffsets() local
112 Assert.assertEquals(1, exceptionHandlers.size()); in testFixOffsets()
113 Assert.assertEquals(252, exceptionHandlers.get(0).getStartCodeAddress()); in testFixOffsets()
114 Assert.assertEquals(752, exceptionHandlers.get(0).getCodeUnitCount()); in testFixOffsets()
116 Assert.assertEquals(1, exceptionHandlers.get(0).getExceptionHandlers().size()); in testFixOffsets()
118 ExceptionHandler exceptionHandler = exceptionHandlers.get(0).getExceptionHandlers().get(0); in testFixOffsets()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/util/
DTryListBuilder.java105 @Nonnull public List<EH> exceptionHandlers = Lists.newArrayList(); field in TryListBuilder.MutableTryBlock
113 @Nonnull List<EH> exceptionHandlers) { in MutableTryBlock() argument
116 this.exceptionHandlers = Lists.newArrayList(exceptionHandlers); in MutableTryBlock()
128 return exceptionHandlers; in getExceptionHandlers()
133 …ryBlock<EH> newTryBlock = new MutableTryBlock<EH>(splitAddress, endCodeAddress, exceptionHandlers); in split()
165 for (ExceptionHandler existingHandler: exceptionHandlers) { in addHandler()
185 exceptionHandlers.add(handler); in addHandler()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DMethodAnalyzer.java457 AnalyzedInstruction[][] exceptionHandlers = new AnalyzedInstruction[instructions.size()][];
488 exceptionHandlers[i] = currentExceptionHandlers;
499 …addPredecessorSuccessor(startOfMethod, analyzedInstructions.valueAt(0), exceptionHandlers, instruc…
514 … addPredecessorSuccessor(instruction, nextInstruction, exceptionHandlers, instructionsToProcess);
535 addPredecessorSuccessor(instruction, targetInstruction, exceptionHandlers,
542 … addPredecessorSuccessor(instruction, targetInstruction, exceptionHandlers, instructionsToProcess);
550 @Nonnull AnalyzedInstruction[][] exceptionHandlers,
552 … addPredecessorSuccessor(predecessor, successor, exceptionHandlers, instructionsToProcess, false);
557 @Nonnull AnalyzedInstruction[][] exceptionHandlers,
580 …AnalyzedInstruction[] exceptionHandlersForSuccessor = exceptionHandlers[successor.instructionIndex…
[all …]