Searched refs:constantIndex (Results 1 - 25 of 36) sorted by relevance

12

/external/proguard/src/proguard/classfile/editor/
H A DConstantAdder.java38 private int constantIndex; field in class:ConstantAdder
55 public int addConstant(Clazz clazz, int constantIndex) argument
57 clazz.constantPoolEntryAccept(constantIndex, this);
59 return this.constantIndex;
71 return this.constantIndex;
81 return constantIndex;
89 constantIndex =
96 constantIndex =
103 constantIndex =
110 constantIndex
[all...]
H A DMethodInvocationFixer.java83 int constantIndex = constantInstruction.constantIndex;
88 clazz.constantPoolEntryAccept(constantIndex, this);
105 constantIndex).shrink();
126 constantIndex).shrink();
151 constantIndex,
176 constantIndex).shrink();
H A DInstructionAdder.java70 constantAdder.addConstant(clazz, constantInstruction.constantIndex),
H A DInstructionWriter.java86 constantInstruction.constantIndex,
92 constantInstruction.constantIndex = 0;
H A DConstantPoolRemapper.java457 int newConstantIndex = remapConstantIndex(constantInstruction.constantIndex);
458 if (newConstantIndex != constantInstruction.constantIndex)
613 private int remapConstantIndex(int constantIndex) argument
615 return constantIndexMap[constantIndex];
H A DMemberReferenceFixer.java54 private int constantIndex; field in class:MemberReferenceFixer
74 this.constantIndex = index;
195 ((ProgramClass)clazz).constantPool[this.constantIndex] =
251 ((ProgramClass)clazz).constantPool[this.constantIndex] =
/external/proguard/src/proguard/classfile/instruction/
H A DConstantInstruction.java39 public int constantIndex; field in class:ConstantInstruction
58 public ConstantInstruction(byte opcode, int constantIndex) argument
60 this(opcode, constantIndex, 0);
68 public ConstantInstruction(byte opcode, int constantIndex, int constant) argument
71 this.constantIndex = constantIndex;
84 this.constantIndex = constantInstruction.constantIndex;
133 constantIndex = readValue(code, offset, constantIndexSize); offset += constantIndexSize;
148 writeValue(code, offset, constantIndex, constantIndexSiz
[all...]
/external/proguard/src/proguard/classfile/
H A DClazz.java66 public int getTag(int constantIndex); argument
71 public String getString(int constantIndex); argument
76 public String getStringString(int constantIndex); argument
81 public String getClassName(int constantIndex); argument
86 public String getName(int constantIndex); argument
91 public String getType(int constantIndex); argument
H A DProgramClass.java74 public Constant getConstant(int constantIndex) argument
76 return constantPool[constantIndex];
107 public int getTag(int constantIndex) argument
109 return constantPool[constantIndex].getTag();
112 public String getString(int constantIndex) argument
116 return ((Utf8Constant)constantPool[constantIndex]).getString();
121 throw new ClassCastException("Expected Utf8Constant at index ["+constantIndex+"] in class ["+getName()+"], found ["+ex.getMessage()+"]");
125 public String getStringString(int constantIndex) argument
129 return ((StringConstant)constantPool[constantIndex]).getString(this);
133 throw new ClassCastException("Expected StringConstant at index ["+constantIndex
137 getClassName(int constantIndex) argument
149 getName(int constantIndex) argument
161 getType(int constantIndex) argument
[all...]
H A DLibraryClass.java109 public int getTag(int constantIndex) argument
114 public String getString(int constantIndex) argument
119 public String getStringString(int constantIndex) argument
124 public String getClassName(int constantIndex) argument
129 public String getName(int constantIndex) argument
134 public String getType(int constantIndex) argument
/external/proguard/src/proguard/optimize/info/
H A DReadWriteFieldMarker.java65 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
73 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
81 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
H A DDotClassMarker.java54 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
H A DInstanceofClassMarker.java53 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
H A DInstantiationClassMarker.java53 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
H A DMethodInvocationMarker.java51 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
H A DSuperInvocationMarker.java56 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
H A DAccessMethodMarker.java57 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
H A DSideEffectInstructionChecker.java132 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
/external/proguard/src/proguard/classfile/io/
H A DLibraryClassReader.java304 private String getClassName(int constantIndex) argument
306 ClassConstant classEntry = (ClassConstant)constantPool[constantIndex];
316 private String getString(int constantIndex) argument
318 return ((Utf8Constant)constantPool[constantIndex]).getString();
/external/proguard/src/proguard/classfile/visitor/
H A DDotClassClassVisitor.java75 clazz.constantPoolEntryAccept(constantInstruction.constantIndex,
/external/proguard/src/proguard/evaluation/
H A DProcessor.java557 int constantIndex = constantInstruction.constantIndex;
564 stack.push(cpValue(clazz, constantIndex, true));
579 stack.push(cpValue(clazz, constantIndex).referenceValue());
584 ReferenceValue referenceValue = cpValue(clazz, constantIndex).referenceValue();
597 castValue.isNull() == Value.NEVER ? cpValue(clazz, constantIndex).referenceValue() :
598 cpValue(clazz, constantIndex).referenceValue().generalize(valueFactory.createReferenceValueNull());
604 ReferenceValue referenceValue = cpValue(clazz, constantIndex).referenceValue();
624 stack.push(cpValue(clazz, constantIndex).referenceValue());
959 int constantIndex)
958 cpValue(Clazz clazz, int constantIndex) argument
968 cpValue(Clazz clazz, int constantIndex, boolean handleClassConstantAsClassValue) argument
[all...]
H A DBasicInvocationUnit.java140 int constantIndex = constantInstruction.constantIndex;
177 clazz.constantPoolEntryAccept(constantIndex, this);
/external/proguard/src/proguard/classfile/util/
H A DInstructionSequenceMatcher.java151 public int matchedConstantIndex(int constantIndex) argument
153 int argumentIndex = constantIndex - X;
155 matchedConstantIndices[constantIndex] :
235 constantInstruction.constantIndex,
236 ((ConstantInstruction)patternInstruction).constantIndex) &&
/external/proguard/src/proguard/optimize/
H A DDuplicateInitializerInvocationFixer.java106 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
/external/proguard/src/proguard/optimize/peephole/
H A DMethodInliner.java405 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this);
429 constantInstruction.constantIndex =
430 constantAdder.addConstant(clazz, constantInstruction.constantIndex);

Completed in 216 milliseconds

12