OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:methodImplementation
(Results
1 - 11
of
11
) sorted by null
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
MethodImplementationRewriter.java
35
import org.jf.dexlib2.iface.
MethodImplementation
;
43
public class MethodImplementationRewriter implements Rewriter<
MethodImplementation
> {
50
@Nonnull @Override public
MethodImplementation
rewrite(@Nonnull
MethodImplementation
methodImplementation
) {
51
return new RewrittenMethodImplementation(
methodImplementation
);
54
protected class RewrittenMethodImplementation implements
MethodImplementation
{
55
@Nonnull protected
MethodImplementation
methodImplementation
;
57
public RewrittenMethodImplementation(@Nonnull
MethodImplementation
methodImplementation)
[
all
...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
ImmutableMethodImplementation.java
36
import org.jf.dexlib2.iface.
MethodImplementation
;
48
public class ImmutableMethodImplementation implements
MethodImplementation
{
75
public static ImmutableMethodImplementation of(@Nullable
MethodImplementation
methodImplementation
) {
76
if (
methodImplementation
== null) {
79
if (
methodImplementation
instanceof ImmutableMethodImplementation) {
80
return (ImmutableMethodImplementation)
methodImplementation
;
83
methodImplementation
.getRegisterCount(),
84
methodImplementation
.getInstructions(),
85
methodImplementation
.getTryBlocks()
[
all
...]
ImmutableMethod.java
41
import org.jf.dexlib2.iface.
MethodImplementation
;
57
@Nullable protected final ImmutableMethodImplementation
methodImplementation
;
65
@Nullable
MethodImplementation
methodImplementation
) {
72
this.
methodImplementation
= ImmutableMethodImplementation.of(
methodImplementation
);
81
@Nullable ImmutableMethodImplementation
methodImplementation
) {
88
this.
methodImplementation
=
methodImplementation
;
112
@Override @Nullable public ImmutableMethodImplementation getImplementation() { return
methodImplementation
; }
[
all
...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
BuilderMethod.java
36
import org.jf.dexlib2.iface.
MethodImplementation
;
48
@Nullable final
MethodImplementation
methodImplementation
;
57
@Nullable
MethodImplementation
methodImplementation
) {
62
this.
methodImplementation
=
methodImplementation
;
72
@Override @Nullable public
MethodImplementation
getImplementation() { return
methodImplementation
; }
DexBuilder.java
41
import org.jf.dexlib2.iface.
MethodImplementation
;
105
@Nullable
MethodImplementation
methodImplementation
) {
113
methodImplementation
);
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
MutableMethodImplementationTest.java
37
import org.jf.dexlib2.iface.
MethodImplementation
;
58
MethodImplementation
methodImplementation
= builder.getMethodImplementation();
60
Assert.assertEquals(0,
methodImplementation
.getTryBlocks().get(0).getStartCodeAddress());
61
Assert.assertEquals(8,
methodImplementation
.getTryBlocks().get(0).getCodeUnitCount());
63
methodImplementation
= new MutableMethodImplementation(
methodImplementation
);
65
Assert.assertEquals(0,
methodImplementation
.getTryBlocks().get(0).getStartCodeAddress());
66
Assert.assertEquals(8,
methodImplementation
.getTryBlocks().get(0).getCodeUnitCount());
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
MutableMethodImplementation.java
43
import org.jf.dexlib2.iface.
MethodImplementation
;
56
public class MutableMethodImplementation implements
MethodImplementation
{
62
public MutableMethodImplementation(@Nonnull
MethodImplementation
methodImplementation
) {
63
this.registerCount =
methodImplementation
.getRegisterCount();
68
for (Instruction instruction:
methodImplementation
.getInstructions()) {
84
for (final Instruction instruction:
methodImplementation
.getInstructions()) {
105
for (DebugItem debugItem:
methodImplementation
.getDebugItems()) {
114
for (TryBlock<? extends ExceptionHandler> tryBlock:
methodImplementation
.getTryBlocks()) {
[
all
...]
/external/smali/smali/src/main/antlr/
smaliTreeWalker.g
57
import org.jf.dexlib2.iface.
MethodImplementation
;
395
MethodImplementation
methodImplementation
= null;
407
methodImplementation
= $method::methodBuilder.getMethodImplementation();
409
if (Iterables.isEmpty(
methodImplementation
.getInstructions())) {
429
if (
methodImplementation
.getTryBlocks().size() > 0) {
433
if (!Iterables.isEmpty(
methodImplementation
.getDebugItems())) {
437
methodImplementation
= null;
464
methodImplementation
);
[
all
...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DexWriter.java
[
all
...]
/external/smali/smali/src/main/java/org/jf/smali/
smaliTreeWalker.java
23
import org.jf.dexlib2.iface.
MethodImplementation
;
[
all
...]
/prebuilts/tools/common/m2/repository/org/smali/dexlib2/2.1.3/
dexlib2-2.1.3.jar
Completed in 74 milliseconds