Cleaned up imports

git-svn-id: https://smali.googlecode.com/svn/trunk@161 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-06-18 01:56:53 +00:00
parent 8543d8b626
commit 5f50a1a8b3
69 changed files with 136 additions and 130 deletions

View File

@ -28,15 +28,15 @@
package org.jf.baksmali.Adaptors;
import org.jf.dexlib.ClassDefItem;
import org.jf.dexlib.TypeIdItem;
import org.jf.dexlib.ClassDataItem;
import org.jf.dexlib.ClassDefItem;
import org.jf.dexlib.EncodedArrayItem;
import org.jf.dexlib.EncodedValue.EncodedValue;
import org.jf.dexlib.TypeIdItem;
import org.jf.dexlib.util.AccessFlags;
import java.util.List;
import java.util.ArrayList;
import java.util.List;
public class ClassDefinition {
private ClassDefItem classDefItem;

View File

@ -28,14 +28,14 @@
package org.jf.baksmali.Adaptors;
import org.jf.dexlib.ClassDataItem;
import org.jf.dexlib.FieldIdItem;
import org.jf.dexlib.EncodedValue.EncodedValue;
import org.jf.dexlib.util.AccessFlags;
import org.jf.baksmali.Adaptors.EncodedValue.EncodedValueAdaptor;
import org.jf.dexlib.ClassDataItem;
import org.jf.dexlib.EncodedValue.EncodedValue;
import org.jf.dexlib.FieldIdItem;
import org.jf.dexlib.util.AccessFlags;
import java.util.List;
import java.util.ArrayList;
import java.util.List;
public class FieldDefinition {
private ClassDataItem.EncodedField encodedField;

View File

@ -30,8 +30,8 @@ package org.jf.baksmali.Adaptors.Format;
import org.jf.dexlib.code.Format.ArrayDataPseudoInstruction;
import java.util.List;
import java.util.ArrayList;
import java.util.List;
public class ArrayDataMethodItem extends InstructionFormatMethodItem<ArrayDataPseudoInstruction> {
public ArrayDataMethodItem(int offset, ArrayDataPseudoInstruction instruction) {

View File

@ -28,15 +28,15 @@
package org.jf.baksmali.Adaptors;
import org.jf.baksmali.Adaptors.Format.*;
import org.jf.dexlib.ClassDataItem;
import org.jf.dexlib.CodeItem;
import org.jf.dexlib.MethodIdItem;
import org.jf.dexlib.code.InstructionField;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.code.Format.*;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.InstructionField;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.AccessFlags;
import org.jf.baksmali.Adaptors.Format.*;
import java.util.*;

View File

@ -30,12 +30,12 @@ package org.jf.baksmali;
import org.antlr.stringtemplate.StringTemplate;
import org.antlr.stringtemplate.StringTemplateGroup;
import org.jf.dexlib.DexFile;
import org.jf.baksmali.Adaptors.ClassDefinition;
import org.jf.baksmali.Renderers.*;
import org.jf.dexlib.DexFile;
import java.io.FileReader;
import java.io.File;
import java.io.FileReader;
public class baksmali {
public static void main(String[] args) throws Exception

View File

@ -16,8 +16,6 @@
package org.jf.baksmali;
import org.jf.baksmali.UsageException;
/**
* Main class for baksmali. It recognizes enough options to be able to dispatch
* to the right "actual" main.

View File

@ -31,8 +31,8 @@ package org.jf.dexlib.EncodedValue;
import org.jf.dexlib.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Collections;
import java.util.List;
public class AnnotationEncodedValueSubField extends CompositeField<AnnotationEncodedValueSubField>
implements EncodedValueSubField<AnnotationEncodedValueSubField> {

View File

@ -28,8 +28,8 @@
package org.jf.dexlib.EncodedValue;
import org.jf.dexlib.util.Input;
import org.jf.dexlib.util.AnnotatedOutput;
import org.jf.dexlib.util.Input;
public class BoolEncodedValueSubField
extends SimpleEncodedValueSubField<Boolean, BoolEncodedValueSubField>

View File

@ -28,8 +28,8 @@
package org.jf.dexlib.EncodedValue;
import org.jf.dexlib.util.Input;
import org.jf.dexlib.util.AnnotatedOutput;
import org.jf.dexlib.util.Input;
public class ByteEncodedValueSubField
extends SimpleEncodedValueSubField<Byte, ByteEncodedValueSubField>

View File

@ -28,9 +28,9 @@
package org.jf.dexlib.EncodedValue;
import org.jf.dexlib.util.AnnotatedOutput;
import org.jf.dexlib.util.EncodedValueUtils;
import org.jf.dexlib.util.Input;
import org.jf.dexlib.util.AnnotatedOutput;
public class CharEncodedValueSubField
extends SimpleEncodedValueSubField<Character, CharEncodedValueSubField>

View File

@ -28,9 +28,9 @@
package org.jf.dexlib.EncodedValue;
import org.jf.dexlib.util.AnnotatedOutput;
import org.jf.dexlib.util.EncodedValueUtils;
import org.jf.dexlib.util.Input;
import org.jf.dexlib.util.AnnotatedOutput;
public class DoubleEncodedValueSubField
extends SimpleEncodedValueSubField<Double, DoubleEncodedValueSubField>

View File

@ -29,9 +29,9 @@
package org.jf.dexlib.EncodedValue;
import org.jf.dexlib.*;
import org.jf.dexlib.util.Input;
import org.jf.dexlib.util.EncodedValueUtils;
import org.jf.dexlib.util.AnnotatedOutput;
import org.jf.dexlib.util.EncodedValueUtils;
import org.jf.dexlib.util.Input;
public class EncodedIndexedItemReference<T extends IndexedItem<T>>
implements EncodedValueSubField<EncodedIndexedItemReference<T>> {

View File

@ -28,9 +28,9 @@
package org.jf.dexlib.EncodedValue;
import org.jf.dexlib.util.AnnotatedOutput;
import org.jf.dexlib.util.EncodedValueUtils;
import org.jf.dexlib.util.Input;
import org.jf.dexlib.util.AnnotatedOutput;
public class FloatEncodedValueSubField
extends SimpleEncodedValueSubField<Float, FloatEncodedValueSubField>

View File

@ -28,9 +28,9 @@
package org.jf.dexlib.EncodedValue;
import org.jf.dexlib.util.AnnotatedOutput;
import org.jf.dexlib.util.EncodedValueUtils;
import org.jf.dexlib.util.Input;
import org.jf.dexlib.util.AnnotatedOutput;
public class IntEncodedValueSubField
extends SimpleEncodedValueSubField<Integer, IntEncodedValueSubField>

View File

@ -28,9 +28,9 @@
package org.jf.dexlib.EncodedValue;
import org.jf.dexlib.util.AnnotatedOutput;
import org.jf.dexlib.util.EncodedValueUtils;
import org.jf.dexlib.util.Input;
import org.jf.dexlib.util.AnnotatedOutput;
public class LongEncodedValueSubField
extends SimpleEncodedValueSubField<Long, LongEncodedValueSubField>

View File

@ -28,8 +28,8 @@
package org.jf.dexlib.EncodedValue;
import org.jf.dexlib.util.Input;
import org.jf.dexlib.util.AnnotatedOutput;
import org.jf.dexlib.util.Input;
public class NullEncodedValueSubField
extends SimpleEncodedValueSubField<Object, NullEncodedValueSubField>

View File

@ -28,9 +28,9 @@
package org.jf.dexlib.EncodedValue;
import org.jf.dexlib.util.AnnotatedOutput;
import org.jf.dexlib.util.EncodedValueUtils;
import org.jf.dexlib.util.Input;
import org.jf.dexlib.util.AnnotatedOutput;
public class ShortEncodedValueSubField
extends SimpleEncodedValueSubField<Short, ShortEncodedValueSubField>

View File

@ -28,14 +28,14 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.Input;
import java.util.List;
import java.util.ArrayList;
import java.util.List;
public class ArrayDataPseudoInstruction extends Instruction
{

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
public class Instruction10t extends Instruction
{

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
public class Instruction10x extends Instruction
{

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction11n extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction11x extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction12x extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction20t extends Instruction

View File

@ -28,11 +28,11 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.TypeIdItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction21c extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction21h extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction21s extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction21t extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction22b extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction22c extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction22s extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction22t extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction22x extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction23x extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction30t extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction31c extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction31i extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction31t extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction32x extends Instruction

View File

@ -28,11 +28,14 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.*;
import org.jf.dexlib.util.NumberUtils;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.MethodIdItem;
import org.jf.dexlib.TypeIdItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import static org.jf.dexlib.code.Opcode.*;
import org.jf.dexlib.util.NumberUtils;
public class Instruction35c extends Instruction
{

View File

@ -28,11 +28,14 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.*;
import org.jf.dexlib.util.NumberUtils;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.MethodIdItem;
import org.jf.dexlib.TypeIdItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import static org.jf.dexlib.code.Opcode.*;
import org.jf.dexlib.util.NumberUtils;
public class Instruction3rc extends Instruction
{

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.NumberUtils;
public class Instruction51l extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.Input;
public class PackedSwitchDataPseudoInstruction extends Instruction

View File

@ -28,10 +28,10 @@
package org.jf.dexlib.code.Format;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Instruction;
import org.jf.dexlib.code.Opcode;
import org.jf.dexlib.util.Input;
public class SparseSwitchDataPseudoInstruction extends Instruction

View File

@ -30,11 +30,6 @@ package org.jf.dexlib.code;
import org.jf.dexlib.*;
import org.jf.dexlib.code.Format.Format;
import org.jf.dexlib.util.Input;
import org.jf.dexlib.util.AnnotatedOutput;
import java.util.Collections;
import java.lang.reflect.Array;
public abstract class Instruction {
private DexFile dexFile;

View File

@ -28,12 +28,12 @@
package org.jf.dexlib.code;
import org.jf.dexlib.Field;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.Field;
import org.jf.dexlib.IndexedItem;
import org.jf.dexlib.code.Format.ArrayDataPseudoInstruction;
import org.jf.dexlib.code.Format.PackedSwitchDataPseudoInstruction;
import org.jf.dexlib.code.Format.SparseSwitchDataPseudoInstruction;
import org.jf.dexlib.code.Format.ArrayDataPseudoInstruction;
import org.jf.dexlib.util.AnnotatedOutput;
import org.jf.dexlib.util.Input;

View File

@ -28,7 +28,7 @@
package org.jf.dexlib.code;
import org.jf.dexlib.code.Format.*;
import org.jf.dexlib.code.Format.Format;
import java.util.ArrayList;
import java.util.HashMap;

View File

@ -28,9 +28,9 @@
package org.jf.dexlib.debug;
import org.jf.dexlib.ByteField;
import org.jf.dexlib.CompositeField;
import org.jf.dexlib.Field;
import org.jf.dexlib.ByteField;
import org.jf.dexlib.SignedLeb128Field;
public class AdvanceLine extends CompositeField<AdvanceLine> implements DebugInstruction<AdvanceLine> {

View File

@ -28,7 +28,10 @@
package org.jf.dexlib.debug;
import org.jf.dexlib.*;
import org.jf.dexlib.ByteField;
import org.jf.dexlib.CompositeField;
import org.jf.dexlib.Field;
import org.jf.dexlib.Leb128Field;
public class AdvancePC extends CompositeField<AdvancePC> implements DebugInstruction<AdvancePC> {
private final ByteField opcodeField;

View File

@ -28,7 +28,10 @@
package org.jf.dexlib.debug;
import org.jf.dexlib.*;
import org.jf.dexlib.ByteField;
import org.jf.dexlib.CompositeField;
import org.jf.dexlib.Field;
import org.jf.dexlib.Leb128Field;
public class EndLocal extends CompositeField<EndLocal> implements DebugInstruction<EndLocal> {
private final ByteField opcode;

View File

@ -28,9 +28,9 @@
package org.jf.dexlib.debug;
import org.jf.dexlib.ByteField;
import org.jf.dexlib.CompositeField;
import org.jf.dexlib.Field;
import org.jf.dexlib.ByteField;
public class EndSequence extends CompositeField<EndSequence> implements DebugInstruction<EndSequence> {
public EndSequence() {

View File

@ -28,7 +28,10 @@
package org.jf.dexlib.debug;
import org.jf.dexlib.*;
import org.jf.dexlib.ByteField;
import org.jf.dexlib.CompositeField;
import org.jf.dexlib.Field;
import org.jf.dexlib.Leb128Field;
public class RestartLocal extends CompositeField<RestartLocal> implements DebugInstruction<RestartLocal> {
private final ByteField opcode;

View File

@ -28,9 +28,9 @@
package org.jf.dexlib.debug;
import org.jf.dexlib.ByteField;
import org.jf.dexlib.CompositeField;
import org.jf.dexlib.Field;
import org.jf.dexlib.ByteField;
public class SetEpilogueBegin extends CompositeField<SetEpilogueBegin> implements DebugInstruction<SetEpilogueBegin> {
public SetEpilogueBegin() {

View File

@ -28,9 +28,9 @@
package org.jf.dexlib.debug;
import org.jf.dexlib.ByteField;
import org.jf.dexlib.CompositeField;
import org.jf.dexlib.Field;
import org.jf.dexlib.ByteField;
public class SetPrologueEnd extends CompositeField<SetPrologueEnd> implements DebugInstruction<SetPrologueEnd> {
public SetPrologueEnd() {

View File

@ -28,9 +28,9 @@
package org.jf.dexlib.debug;
import org.jf.dexlib.ByteField;
import org.jf.dexlib.CompositeField;
import org.jf.dexlib.Field;
import org.jf.dexlib.ByteField;
public class SpecialOpcode extends CompositeField<SpecialOpcode> implements DebugInstruction<SpecialOpcode> {
private final byte opcode;

View File

@ -28,9 +28,9 @@
package org.jf.dexlib.util;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.ArrayList;
public enum AccessFlags
{

View File

@ -28,11 +28,11 @@
package org.jf.dexlib.util;
import org.jf.dexlib.debug.*;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.DebugInfoItem;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.StringIdItem;
import org.jf.dexlib.TypeIdItem;
import org.jf.dexlib.debug.*;
import java.util.ArrayList;
import java.util.List;

View File

@ -28,11 +28,14 @@
package org.jf.dexlib.util;
import org.jf.dexlib.TypeIdItem;
import org.jf.dexlib.CodeItem;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.TypeIdItem;
import java.util.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
public class TryListBuilder
{

View File

@ -16,11 +16,7 @@
package org.jf.dexlib.util;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.io.*;
/**
* Class that takes a combined output destination and provides two

View File

@ -28,8 +28,8 @@
package org.jf.dexlib.util;
import org.jf.dexlib.EncodedValue.*;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.EncodedValue.*;
public class TypeUtils
{

View File

@ -16,9 +16,6 @@
package org.jf.dexlib.util;
import org.jf.dexlib.util.ByteArray;
import org.jf.dexlib.util.Hex;
/**
* Constants of type <code>CONSTANT_Utf8_info</code>.
*/

View File

@ -27,12 +27,13 @@
*/
import org.jf.dexlib.util.TryListBuilder;
import org.jf.dexlib.util.Pair;
import org.jf.dexlib.TypeIdItem;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.CodeItem;
import org.junit.*;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.TypeIdItem;
import org.jf.dexlib.util.Pair;
import org.jf.dexlib.util.TryListBuilder;
import org.junit.Assert;
import org.junit.Test;
import java.util.List;

View File

@ -20,12 +20,9 @@ package org.jf;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.project.MavenProject;
import org.jf.smali.smali;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import org.jf.smali.smali;
/**
* Assembles files in the smali assembly language

View File

@ -28,8 +28,8 @@
package org.jf.smali;
import org.antlr.runtime.RecognitionException;
import org.antlr.runtime.IntStream;
import org.antlr.runtime.RecognitionException;
public class SemanticException extends RecognitionException {
private String errorMessage;

View File

@ -28,12 +28,12 @@
package org.jf.smali;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.util.ByteArrayAnnotatedOutput;
import org.antlr.runtime.ANTLRInputStream;
import org.antlr.runtime.CommonTokenStream;
import org.antlr.runtime.tree.CommonTree;
import org.antlr.runtime.tree.CommonTreeNodeStream;
import org.jf.dexlib.DexFile;
import org.jf.dexlib.util.ByteArrayAnnotatedOutput;
import java.io.*;
import java.util.LinkedHashSet;

View File

@ -26,8 +26,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
import org.junit.*;
import org.jf.smali.literalTools;
import org.junit.Assert;
import org.junit.Test;
public class ByteLiteralTest
{

View File

@ -26,8 +26,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
import org.junit.*;
import org.jf.smali.literalTools;
import org.junit.Assert;
import org.junit.Test;
public class IntLiteralTest
{

View File

@ -26,8 +26,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
import org.junit.*;
import org.jf.smali.literalTools;
import org.junit.Assert;
import org.junit.Test;
public class LongLiteralTest
{

View File

@ -26,8 +26,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
import org.junit.*;
import org.jf.smali.literalTools;
import org.junit.Assert;
import org.junit.Test;
public class ShortLiteralTest
{