aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/bytecode
diff options
context:
space:
mode:
authornickl- <github@jigsoft.co.za>2017-10-30 21:27:52 +0200
committernickl- <github@jigsoft.co.za>2017-10-30 21:27:52 +0200
commite5656fc869ccc7f7b60a095e692c2475f7f130bf (patch)
tree9ef368fd89a76a6470c1c8d5fe9d96104e56f21e /src/main/javassist/bytecode
parent0165b2e18b4c044b135724a69ee84a9d104c79ed (diff)
downloadjavassist-e5656fc869ccc7f7b60a095e692c2475f7f130bf.tar.gz
javassist-e5656fc869ccc7f7b60a095e692c2475f7f130bf.zip
Organize imports to disolve ambiguity.
Diffstat (limited to 'src/main/javassist/bytecode')
-rw-r--r--src/main/javassist/bytecode/AnnotationDefaultAttribute.java8
-rw-r--r--src/main/javassist/bytecode/AnnotationsAttribute.java26
-rw-r--r--src/main/javassist/bytecode/AttributeInfo.java2
-rw-r--r--src/main/javassist/bytecode/ByteStream.java2
-rw-r--r--src/main/javassist/bytecode/ClassFilePrinter.java3
-rw-r--r--src/main/javassist/bytecode/ClassFileWriter.java3
-rw-r--r--src/main/javassist/bytecode/ConstPool.java4
-rw-r--r--src/main/javassist/bytecode/ConstantAttribute.java2
-rw-r--r--src/main/javassist/bytecode/Descriptor.java3
-rw-r--r--src/main/javassist/bytecode/EnclosingMethodAttribute.java2
-rw-r--r--src/main/javassist/bytecode/FieldInfo.java2
-rw-r--r--src/main/javassist/bytecode/InnerClassesAttribute.java2
-rw-r--r--src/main/javassist/bytecode/ParameterAnnotationsAttribute.java9
-rw-r--r--src/main/javassist/bytecode/SignatureAttribute.java2
-rw-r--r--src/main/javassist/bytecode/StackMapTable.java5
-rw-r--r--src/main/javassist/bytecode/TypeAnnotationsAttribute.java1
-rw-r--r--src/main/javassist/bytecode/annotation/Annotation.java14
-rw-r--r--src/main/javassist/bytecode/annotation/AnnotationMemberValue.java5
-rw-r--r--src/main/javassist/bytecode/annotation/AnnotationsWriter.java3
-rw-r--r--src/main/javassist/bytecode/annotation/ArrayMemberValue.java5
-rw-r--r--src/main/javassist/bytecode/annotation/BooleanMemberValue.java5
-rw-r--r--src/main/javassist/bytecode/annotation/ByteMemberValue.java5
-rw-r--r--src/main/javassist/bytecode/annotation/CharMemberValue.java5
-rw-r--r--src/main/javassist/bytecode/annotation/ClassMemberValue.java6
-rw-r--r--src/main/javassist/bytecode/annotation/DoubleMemberValue.java5
-rw-r--r--src/main/javassist/bytecode/annotation/FloatMemberValue.java5
-rw-r--r--src/main/javassist/bytecode/annotation/IntegerMemberValue.java5
-rw-r--r--src/main/javassist/bytecode/annotation/LongMemberValue.java5
-rw-r--r--src/main/javassist/bytecode/annotation/MemberValue.java7
-rw-r--r--src/main/javassist/bytecode/annotation/ShortMemberValue.java5
-rw-r--r--src/main/javassist/bytecode/annotation/StringMemberValue.java5
-rw-r--r--src/main/javassist/bytecode/stackmap/BasicBlock.java12
-rw-r--r--src/main/javassist/bytecode/stackmap/MapMaker.java9
-rw-r--r--src/main/javassist/bytecode/stackmap/Tracer.java6
-rw-r--r--src/main/javassist/bytecode/stackmap/TypeData.java13
-rw-r--r--src/main/javassist/bytecode/stackmap/TypedBlock.java6
36 files changed, 126 insertions, 81 deletions
diff --git a/src/main/javassist/bytecode/AnnotationDefaultAttribute.java b/src/main/javassist/bytecode/AnnotationDefaultAttribute.java
index b993694b..43021ecf 100644
--- a/src/main/javassist/bytecode/AnnotationDefaultAttribute.java
+++ b/src/main/javassist/bytecode/AnnotationDefaultAttribute.java
@@ -16,15 +16,15 @@
package javassist.bytecode;
-import javassist.CtClass;
-import javassist.bytecode.annotation.AnnotationsWriter;
-import javassist.bytecode.annotation.MemberValue;
-
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.IOException;
import java.util.Map;
+import javassist.CtClass;
+import javassist.bytecode.annotation.AnnotationsWriter;
+import javassist.bytecode.annotation.MemberValue;
+
/**
* A class representing <code>AnnotationDefault_attribute</code>.
*
diff --git a/src/main/javassist/bytecode/AnnotationsAttribute.java b/src/main/javassist/bytecode/AnnotationsAttribute.java
index 44c2d86d..73fcd73a 100644
--- a/src/main/javassist/bytecode/AnnotationsAttribute.java
+++ b/src/main/javassist/bytecode/AnnotationsAttribute.java
@@ -16,12 +16,28 @@
package javassist.bytecode;
-import java.util.Map;
-import java.util.HashMap;
-import java.io.IOException;
-import java.io.DataInputStream;
import java.io.ByteArrayOutputStream;
-import javassist.bytecode.annotation.*;
+import java.io.DataInputStream;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+
+import javassist.bytecode.annotation.Annotation;
+import javassist.bytecode.annotation.AnnotationMemberValue;
+import javassist.bytecode.annotation.AnnotationsWriter;
+import javassist.bytecode.annotation.ArrayMemberValue;
+import javassist.bytecode.annotation.BooleanMemberValue;
+import javassist.bytecode.annotation.ByteMemberValue;
+import javassist.bytecode.annotation.CharMemberValue;
+import javassist.bytecode.annotation.ClassMemberValue;
+import javassist.bytecode.annotation.DoubleMemberValue;
+import javassist.bytecode.annotation.EnumMemberValue;
+import javassist.bytecode.annotation.FloatMemberValue;
+import javassist.bytecode.annotation.IntegerMemberValue;
+import javassist.bytecode.annotation.LongMemberValue;
+import javassist.bytecode.annotation.MemberValue;
+import javassist.bytecode.annotation.ShortMemberValue;
+import javassist.bytecode.annotation.StringMemberValue;
/**
* A class representing
diff --git a/src/main/javassist/bytecode/AttributeInfo.java b/src/main/javassist/bytecode/AttributeInfo.java
index ac17b4c5..4bfd0dbb 100644
--- a/src/main/javassist/bytecode/AttributeInfo.java
+++ b/src/main/javassist/bytecode/AttributeInfo.java
@@ -21,9 +21,7 @@ import java.io.DataOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
-import java.util.Iterator;
import java.util.List;
-import java.util.ListIterator;
import java.util.Map;
// Note: if you define a new subclass of AttributeInfo, then
diff --git a/src/main/javassist/bytecode/ByteStream.java b/src/main/javassist/bytecode/ByteStream.java
index b5330a24..ee485911 100644
--- a/src/main/javassist/bytecode/ByteStream.java
+++ b/src/main/javassist/bytecode/ByteStream.java
@@ -16,8 +16,8 @@
package javassist.bytecode;
-import java.io.OutputStream;
import java.io.IOException;
+import java.io.OutputStream;
final class ByteStream extends OutputStream {
private byte[] buf;
diff --git a/src/main/javassist/bytecode/ClassFilePrinter.java b/src/main/javassist/bytecode/ClassFilePrinter.java
index 58efa0f5..a9c7d9ba 100644
--- a/src/main/javassist/bytecode/ClassFilePrinter.java
+++ b/src/main/javassist/bytecode/ClassFilePrinter.java
@@ -17,9 +17,10 @@
package javassist.bytecode;
import java.io.PrintWriter;
-import javassist.Modifier;
import java.util.List;
+import javassist.Modifier;
+
/**
* A utility class for priting the contents of a class file.
* It prints a constant pool table, fields, and methods in a
diff --git a/src/main/javassist/bytecode/ClassFileWriter.java b/src/main/javassist/bytecode/ClassFileWriter.java
index d1e76ce0..931ffcb4 100644
--- a/src/main/javassist/bytecode/ClassFileWriter.java
+++ b/src/main/javassist/bytecode/ClassFileWriter.java
@@ -16,10 +16,9 @@
package javassist.bytecode;
-import java.io.OutputStream;
import java.io.DataOutputStream;
-import java.io.ByteArrayOutputStream;
import java.io.IOException;
+import java.io.OutputStream;
/**
* A quick class-file writer. This is useful when a generated
diff --git a/src/main/javassist/bytecode/ConstPool.java b/src/main/javassist/bytecode/ConstPool.java
index 59ff5945..0447ece7 100644
--- a/src/main/javassist/bytecode/ConstPool.java
+++ b/src/main/javassist/bytecode/ConstPool.java
@@ -16,11 +16,11 @@
package javassist.bytecode;
+import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.PrintWriter;
import java.io.IOException;
+import java.io.PrintWriter;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
diff --git a/src/main/javassist/bytecode/ConstantAttribute.java b/src/main/javassist/bytecode/ConstantAttribute.java
index 405c954e..40c395c7 100644
--- a/src/main/javassist/bytecode/ConstantAttribute.java
+++ b/src/main/javassist/bytecode/ConstantAttribute.java
@@ -17,8 +17,8 @@
package javassist.bytecode;
import java.io.DataInputStream;
-import java.util.Map;
import java.io.IOException;
+import java.util.Map;
/**
* <code>ConstantValue_attribute</code>.
diff --git a/src/main/javassist/bytecode/Descriptor.java b/src/main/javassist/bytecode/Descriptor.java
index 0ed87cc5..fc49b876 100644
--- a/src/main/javassist/bytecode/Descriptor.java
+++ b/src/main/javassist/bytecode/Descriptor.java
@@ -16,11 +16,12 @@
package javassist.bytecode;
+import java.util.Map;
+
import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtPrimitiveType;
import javassist.NotFoundException;
-import java.util.Map;
/**
* A support class for dealing with descriptors.
diff --git a/src/main/javassist/bytecode/EnclosingMethodAttribute.java b/src/main/javassist/bytecode/EnclosingMethodAttribute.java
index ae7c28d8..9eee2a0e 100644
--- a/src/main/javassist/bytecode/EnclosingMethodAttribute.java
+++ b/src/main/javassist/bytecode/EnclosingMethodAttribute.java
@@ -20,8 +20,6 @@ import java.io.DataInputStream;
import java.io.IOException;
import java.util.Map;
-import javassist.CtConstructor;
-
/**
* <code>EnclosingMethod_attribute</code>.
*/
diff --git a/src/main/javassist/bytecode/FieldInfo.java b/src/main/javassist/bytecode/FieldInfo.java
index 6a5204e5..7d26327a 100644
--- a/src/main/javassist/bytecode/FieldInfo.java
+++ b/src/main/javassist/bytecode/FieldInfo.java
@@ -19,8 +19,8 @@ package javassist.bytecode;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
-import java.util.List;
import java.util.ArrayList;
+import java.util.List;
/**
* <code>field_info</code> structure.
diff --git a/src/main/javassist/bytecode/InnerClassesAttribute.java b/src/main/javassist/bytecode/InnerClassesAttribute.java
index ce730a2f..1bce893b 100644
--- a/src/main/javassist/bytecode/InnerClassesAttribute.java
+++ b/src/main/javassist/bytecode/InnerClassesAttribute.java
@@ -17,8 +17,8 @@
package javassist.bytecode;
import java.io.DataInputStream;
-import java.util.Map;
import java.io.IOException;
+import java.util.Map;
/**
* <code>InnerClasses_attribute</code>.
diff --git a/src/main/javassist/bytecode/ParameterAnnotationsAttribute.java b/src/main/javassist/bytecode/ParameterAnnotationsAttribute.java
index 5e4949fd..49e2646f 100644
--- a/src/main/javassist/bytecode/ParameterAnnotationsAttribute.java
+++ b/src/main/javassist/bytecode/ParameterAnnotationsAttribute.java
@@ -16,16 +16,17 @@
package javassist.bytecode;
+import java.io.ByteArrayOutputStream;
+import java.io.DataInputStream;
+import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
-import java.io.IOException;
-import java.io.DataInputStream;
-import java.io.ByteArrayOutputStream;
import javassist.bytecode.AnnotationsAttribute.Copier;
import javassist.bytecode.AnnotationsAttribute.Parser;
import javassist.bytecode.AnnotationsAttribute.Renamer;
-import javassist.bytecode.annotation.*;
+import javassist.bytecode.annotation.Annotation;
+import javassist.bytecode.annotation.AnnotationsWriter;
/**
* A class representing <code>RuntimeVisibleAnnotations_attribute</code> and
diff --git a/src/main/javassist/bytecode/SignatureAttribute.java b/src/main/javassist/bytecode/SignatureAttribute.java
index 78500aaa..1a8a62dc 100644
--- a/src/main/javassist/bytecode/SignatureAttribute.java
+++ b/src/main/javassist/bytecode/SignatureAttribute.java
@@ -18,10 +18,10 @@ package javassist.bytecode;
import java.io.DataInputStream;
import java.io.IOException;
-import java.util.Map;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
+import java.util.Map;
import javassist.CtClass;
diff --git a/src/main/javassist/bytecode/StackMapTable.java b/src/main/javassist/bytecode/StackMapTable.java
index de4f27b8..9b8e5fae 100644
--- a/src/main/javassist/bytecode/StackMapTable.java
+++ b/src/main/javassist/bytecode/StackMapTable.java
@@ -16,12 +16,13 @@
package javassist.bytecode;
+import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.PrintWriter;
import java.io.IOException;
+import java.io.PrintWriter;
import java.util.Map;
+
import javassist.CannotCompileException;
/**
diff --git a/src/main/javassist/bytecode/TypeAnnotationsAttribute.java b/src/main/javassist/bytecode/TypeAnnotationsAttribute.java
index 862ab1a1..86fea728 100644
--- a/src/main/javassist/bytecode/TypeAnnotationsAttribute.java
+++ b/src/main/javassist/bytecode/TypeAnnotationsAttribute.java
@@ -4,6 +4,7 @@ import java.io.DataInputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
+
import javassist.bytecode.annotation.TypeAnnotationsWriter;
/**
diff --git a/src/main/javassist/bytecode/annotation/Annotation.java b/src/main/javassist/bytecode/annotation/Annotation.java
index cd44d822..1cec468b 100644
--- a/src/main/javassist/bytecode/annotation/Annotation.java
+++ b/src/main/javassist/bytecode/annotation/Annotation.java
@@ -16,18 +16,18 @@
package javassist.bytecode.annotation;
-import javassist.bytecode.ConstPool;
-import javassist.bytecode.Descriptor;
-import javassist.ClassPool;
-import javassist.CtClass;
-import javassist.CtMethod;
-import javassist.NotFoundException;
-
import java.io.IOException;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
+import javassist.ClassPool;
+import javassist.CtClass;
+import javassist.CtMethod;
+import javassist.NotFoundException;
+import javassist.bytecode.ConstPool;
+import javassist.bytecode.Descriptor;
+
/**
* The <code>annotation</code> structure.
*
diff --git a/src/main/javassist/bytecode/annotation/AnnotationMemberValue.java b/src/main/javassist/bytecode/annotation/AnnotationMemberValue.java
index b2143808..7691e44f 100644
--- a/src/main/javassist/bytecode/annotation/AnnotationMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/AnnotationMemberValue.java
@@ -15,11 +15,12 @@
*/
package javassist.bytecode.annotation;
-import javassist.ClassPool;
-import javassist.bytecode.ConstPool;
import java.io.IOException;
import java.lang.reflect.Method;
+import javassist.ClassPool;
+import javassist.bytecode.ConstPool;
+
/**
* Nested annotation.
*
diff --git a/src/main/javassist/bytecode/annotation/AnnotationsWriter.java b/src/main/javassist/bytecode/annotation/AnnotationsWriter.java
index e2203d4e..8095fbe1 100644
--- a/src/main/javassist/bytecode/annotation/AnnotationsWriter.java
+++ b/src/main/javassist/bytecode/annotation/AnnotationsWriter.java
@@ -16,7 +16,8 @@
package javassist.bytecode.annotation;
-import java.io.*;
+import java.io.IOException;
+import java.io.OutputStream;
import javassist.bytecode.ByteArray;
import javassist.bytecode.ConstPool;
diff --git a/src/main/javassist/bytecode/annotation/ArrayMemberValue.java b/src/main/javassist/bytecode/annotation/ArrayMemberValue.java
index a6d9029a..d1eeb271 100644
--- a/src/main/javassist/bytecode/annotation/ArrayMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/ArrayMemberValue.java
@@ -15,12 +15,13 @@
*/
package javassist.bytecode.annotation;
-import javassist.ClassPool;
-import javassist.bytecode.ConstPool;
import java.io.IOException;
import java.lang.reflect.Array;
import java.lang.reflect.Method;
+import javassist.ClassPool;
+import javassist.bytecode.ConstPool;
+
/**
* Array member.
*
diff --git a/src/main/javassist/bytecode/annotation/BooleanMemberValue.java b/src/main/javassist/bytecode/annotation/BooleanMemberValue.java
index 02215625..c9ec3c32 100644
--- a/src/main/javassist/bytecode/annotation/BooleanMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/BooleanMemberValue.java
@@ -15,11 +15,12 @@
*/
package javassist.bytecode.annotation;
-import javassist.ClassPool;
-import javassist.bytecode.ConstPool;
import java.io.IOException;
import java.lang.reflect.Method;
+import javassist.ClassPool;
+import javassist.bytecode.ConstPool;
+
/**
* Boolean constant value.
*
diff --git a/src/main/javassist/bytecode/annotation/ByteMemberValue.java b/src/main/javassist/bytecode/annotation/ByteMemberValue.java
index ab3ee6aa..be3f6e2e 100644
--- a/src/main/javassist/bytecode/annotation/ByteMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/ByteMemberValue.java
@@ -15,11 +15,12 @@
*/
package javassist.bytecode.annotation;
-import javassist.ClassPool;
-import javassist.bytecode.ConstPool;
import java.io.IOException;
import java.lang.reflect.Method;
+import javassist.ClassPool;
+import javassist.bytecode.ConstPool;
+
/**
* Byte constant value.
*
diff --git a/src/main/javassist/bytecode/annotation/CharMemberValue.java b/src/main/javassist/bytecode/annotation/CharMemberValue.java
index 53049c06..bf8d7b44 100644
--- a/src/main/javassist/bytecode/annotation/CharMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/CharMemberValue.java
@@ -16,11 +16,12 @@
package javassist.bytecode.annotation;
-import javassist.ClassPool;
-import javassist.bytecode.ConstPool;
import java.io.IOException;
import java.lang.reflect.Method;
+import javassist.ClassPool;
+import javassist.bytecode.ConstPool;
+
/**
* Char constant value.
*
diff --git a/src/main/javassist/bytecode/annotation/ClassMemberValue.java b/src/main/javassist/bytecode/annotation/ClassMemberValue.java
index 3c850a91..e9fd7ec4 100644
--- a/src/main/javassist/bytecode/annotation/ClassMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/ClassMemberValue.java
@@ -16,15 +16,15 @@
package javassist.bytecode.annotation;
+import java.io.IOException;
+import java.lang.reflect.Method;
+
import javassist.ClassPool;
import javassist.bytecode.BadBytecode;
import javassist.bytecode.ConstPool;
import javassist.bytecode.Descriptor;
import javassist.bytecode.SignatureAttribute;
-import java.io.IOException;
-import java.lang.reflect.Method;
-
/**
* Class value.
*
diff --git a/src/main/javassist/bytecode/annotation/DoubleMemberValue.java b/src/main/javassist/bytecode/annotation/DoubleMemberValue.java
index 2a58e060..3d9fdb28 100644
--- a/src/main/javassist/bytecode/annotation/DoubleMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/DoubleMemberValue.java
@@ -16,11 +16,12 @@
package javassist.bytecode.annotation;
-import javassist.ClassPool;
-import javassist.bytecode.ConstPool;
import java.io.IOException;
import java.lang.reflect.Method;
+import javassist.ClassPool;
+import javassist.bytecode.ConstPool;
+
/**
* Double floating-point number constant value.
*
diff --git a/src/main/javassist/bytecode/annotation/FloatMemberValue.java b/src/main/javassist/bytecode/annotation/FloatMemberValue.java
index 679ec8c2..ef993792 100644
--- a/src/main/javassist/bytecode/annotation/FloatMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/FloatMemberValue.java
@@ -16,11 +16,12 @@
package javassist.bytecode.annotation;
-import javassist.ClassPool;
-import javassist.bytecode.ConstPool;
import java.io.IOException;
import java.lang.reflect.Method;
+import javassist.ClassPool;
+import javassist.bytecode.ConstPool;
+
/**
* Floating-point number constant value.
*
diff --git a/src/main/javassist/bytecode/annotation/IntegerMemberValue.java b/src/main/javassist/bytecode/annotation/IntegerMemberValue.java
index 4863dd18..538b620c 100644
--- a/src/main/javassist/bytecode/annotation/IntegerMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/IntegerMemberValue.java
@@ -16,11 +16,12 @@
package javassist.bytecode.annotation;
-import javassist.ClassPool;
-import javassist.bytecode.ConstPool;
import java.io.IOException;
import java.lang.reflect.Method;
+import javassist.ClassPool;
+import javassist.bytecode.ConstPool;
+
/**
* Integer constant value.
*
diff --git a/src/main/javassist/bytecode/annotation/LongMemberValue.java b/src/main/javassist/bytecode/annotation/LongMemberValue.java
index cd950c28..3dd29a37 100644
--- a/src/main/javassist/bytecode/annotation/LongMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/LongMemberValue.java
@@ -16,11 +16,12 @@
package javassist.bytecode.annotation;
-import javassist.ClassPool;
-import javassist.bytecode.ConstPool;
import java.io.IOException;
import java.lang.reflect.Method;
+import javassist.ClassPool;
+import javassist.bytecode.ConstPool;
+
/**
* Long integer constant value.
*
diff --git a/src/main/javassist/bytecode/annotation/MemberValue.java b/src/main/javassist/bytecode/annotation/MemberValue.java
index a20a438f..da99885c 100644
--- a/src/main/javassist/bytecode/annotation/MemberValue.java
+++ b/src/main/javassist/bytecode/annotation/MemberValue.java
@@ -16,14 +16,13 @@
package javassist.bytecode.annotation;
+import java.io.IOException;
+import java.lang.reflect.Method;
+
import javassist.ClassPool;
import javassist.bytecode.ConstPool;
import javassist.bytecode.Descriptor;
-import java.io.IOException;
-import java.lang.reflect.Array;
-import java.lang.reflect.Method;
-
/**
* The value of a member declared in an annotation.
*
diff --git a/src/main/javassist/bytecode/annotation/ShortMemberValue.java b/src/main/javassist/bytecode/annotation/ShortMemberValue.java
index 36c5b08d..277c2820 100644
--- a/src/main/javassist/bytecode/annotation/ShortMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/ShortMemberValue.java
@@ -16,11 +16,12 @@
package javassist.bytecode.annotation;
-import javassist.ClassPool;
-import javassist.bytecode.ConstPool;
import java.io.IOException;
import java.lang.reflect.Method;
+import javassist.ClassPool;
+import javassist.bytecode.ConstPool;
+
/**
* Short integer constant value.
*
diff --git a/src/main/javassist/bytecode/annotation/StringMemberValue.java b/src/main/javassist/bytecode/annotation/StringMemberValue.java
index 645e78ea..48fe1f6e 100644
--- a/src/main/javassist/bytecode/annotation/StringMemberValue.java
+++ b/src/main/javassist/bytecode/annotation/StringMemberValue.java
@@ -16,11 +16,12 @@
package javassist.bytecode.annotation;
-import javassist.ClassPool;
-import javassist.bytecode.ConstPool;
import java.io.IOException;
import java.lang.reflect.Method;
+import javassist.ClassPool;
+import javassist.bytecode.ConstPool;
+
/**
* String constant value.
*
diff --git a/src/main/javassist/bytecode/stackmap/BasicBlock.java b/src/main/javassist/bytecode/stackmap/BasicBlock.java
index 60f7c874..231ffc3a 100644
--- a/src/main/javassist/bytecode/stackmap/BasicBlock.java
+++ b/src/main/javassist/bytecode/stackmap/BasicBlock.java
@@ -16,12 +16,18 @@
package javassist.bytecode.stackmap;
-import javassist.bytecode.*;
+import java.util.ArrayList;
+import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import java.util.ArrayList;
-import java.util.Arrays;
+
+import javassist.bytecode.BadBytecode;
+import javassist.bytecode.CodeAttribute;
+import javassist.bytecode.CodeIterator;
+import javassist.bytecode.ExceptionTable;
+import javassist.bytecode.MethodInfo;
+import javassist.bytecode.Opcode;
/**
* A basic block is a sequence of bytecode that does not contain jump/branch
diff --git a/src/main/javassist/bytecode/stackmap/MapMaker.java b/src/main/javassist/bytecode/stackmap/MapMaker.java
index 5431f6b7..538fba67 100644
--- a/src/main/javassist/bytecode/stackmap/MapMaker.java
+++ b/src/main/javassist/bytecode/stackmap/MapMaker.java
@@ -21,7 +21,14 @@ import java.util.List;
import javassist.ClassPool;
import javassist.NotFoundException;
-import javassist.bytecode.*;
+import javassist.bytecode.BadBytecode;
+import javassist.bytecode.ByteArray;
+import javassist.bytecode.Bytecode;
+import javassist.bytecode.CodeAttribute;
+import javassist.bytecode.ConstPool;
+import javassist.bytecode.MethodInfo;
+import javassist.bytecode.StackMap;
+import javassist.bytecode.StackMapTable;
/**
* Stack map maker.
diff --git a/src/main/javassist/bytecode/stackmap/Tracer.java b/src/main/javassist/bytecode/stackmap/Tracer.java
index 224bcc20..6f99e5f7 100644
--- a/src/main/javassist/bytecode/stackmap/Tracer.java
+++ b/src/main/javassist/bytecode/stackmap/Tracer.java
@@ -16,12 +16,12 @@
package javassist.bytecode.stackmap;
+import javassist.ClassPool;
+import javassist.bytecode.BadBytecode;
import javassist.bytecode.ByteArray;
-import javassist.bytecode.Opcode;
import javassist.bytecode.ConstPool;
import javassist.bytecode.Descriptor;
-import javassist.bytecode.BadBytecode;
-import javassist.ClassPool;
+import javassist.bytecode.Opcode;
/*
* A class for performing abstract interpretation.
diff --git a/src/main/javassist/bytecode/stackmap/TypeData.java b/src/main/javassist/bytecode/stackmap/TypeData.java
index 6d225748..9bc837d3 100644
--- a/src/main/javassist/bytecode/stackmap/TypeData.java
+++ b/src/main/javassist/bytecode/stackmap/TypeData.java
@@ -16,18 +16,19 @@
package javassist.bytecode.stackmap;
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
+
import javassist.ClassPool;
import javassist.CtClass;
import javassist.NotFoundException;
+import javassist.bytecode.BadBytecode;
import javassist.bytecode.ConstPool;
import javassist.bytecode.Descriptor;
import javassist.bytecode.StackMapTable;
-import javassist.bytecode.BadBytecode;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-import java.util.ArrayList;
public abstract class TypeData {
/* Memo:
diff --git a/src/main/javassist/bytecode/stackmap/TypedBlock.java b/src/main/javassist/bytecode/stackmap/TypedBlock.java
index 23bdd6f0..14fa7f22 100644
--- a/src/main/javassist/bytecode/stackmap/TypedBlock.java
+++ b/src/main/javassist/bytecode/stackmap/TypedBlock.java
@@ -16,7 +16,11 @@
package javassist.bytecode.stackmap;
-import javassist.bytecode.*;
+import javassist.bytecode.AccessFlag;
+import javassist.bytecode.BadBytecode;
+import javassist.bytecode.CodeAttribute;
+import javassist.bytecode.ConstPool;
+import javassist.bytecode.MethodInfo;
public class TypedBlock extends BasicBlock {
public int stackTop, numLocals;