diff options
author | aclement <aclement> | 2008-05-30 17:29:13 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-05-30 17:29:13 +0000 |
commit | ba83575cf27d18f02b995db8b34c5615001d2351 (patch) | |
tree | 4ed1af0f7367071c17af7a0207d310064e6f84b4 /bcel-builder | |
parent | 86a5a9463954483d63253fc9f3cf2d300931e460 (diff) | |
download | aspectj-ba83575cf27d18f02b995db8b34c5615001d2351.tar.gz aspectj-ba83575cf27d18f02b995db8b34c5615001d2351.zip |
organized imports
Diffstat (limited to 'bcel-builder')
4 files changed, 16 insertions, 23 deletions
diff --git a/bcel-builder/src/org/aspectj/apache/bcel/classfile/ClassParser.java b/bcel-builder/src/org/aspectj/apache/bcel/classfile/ClassParser.java index faa365357..f7e794c8c 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/classfile/ClassParser.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/classfile/ClassParser.java @@ -54,9 +54,14 @@ package org.aspectj.apache.bcel.classfile; * <http://www.apache.org/>. */ -import org.aspectj.apache.bcel.Constants; -import java.io.*; -import java.util.zip.*; +import java.io.BufferedInputStream; +import java.io.ByteArrayInputStream; +import java.io.DataInputStream; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; + +import org.aspectj.apache.bcel.Constants; /** * Wrapper class that parses a given Java .class file. The method <A @@ -70,7 +75,7 @@ import java.util.zip.*; * JVM specification 1.0</a>. See this paper for * further details about the structure of a bytecode file. * - * @version $Id: ClassParser.java,v 1.5 2008/05/28 23:53:01 aclement Exp $ + * @version $Id: ClassParser.java,v 1.6 2008/05/30 17:29:14 aclement Exp $ * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> */ public final class ClassParser { diff --git a/bcel-builder/src/org/aspectj/apache/bcel/classfile/Method.java b/bcel-builder/src/org/aspectj/apache/bcel/classfile/Method.java index 3f552e536..861280888 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/classfile/Method.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/classfile/Method.java @@ -55,21 +55,21 @@ package org.aspectj.apache.bcel.classfile; */ import java.io.DataInputStream; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; import org.aspectj.apache.bcel.Constants; import org.aspectj.apache.bcel.classfile.annotation.AnnotationGen; import org.aspectj.apache.bcel.classfile.annotation.RuntimeInvisibleParameterAnnotations; import org.aspectj.apache.bcel.classfile.annotation.RuntimeVisibleParameterAnnotations; import org.aspectj.apache.bcel.generic.Type; -import java.io.*; -import java.util.*; /** * This class represents the method info structure, i.e., the representation * for a method in the class. See JVM specification for details. * A method has access flags, a name, a signature and a number of attributes. * - * @version $Id: Method.java,v 1.5 2008/05/28 23:53:02 aclement Exp $ + * @version $Id: Method.java,v 1.6 2008/05/30 17:29:14 aclement Exp $ * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> */ public final class Method extends FieldOrMethod { diff --git a/bcel-builder/src/org/aspectj/apache/bcel/classfile/Utility.java b/bcel-builder/src/org/aspectj/apache/bcel/classfile/Utility.java index 0e221ff1b..2b59f2eb7 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/classfile/Utility.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/classfile/Utility.java @@ -54,23 +54,12 @@ package org.aspectj.apache.bcel.classfile; * <http://www.apache.org/>. */ -import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; -import java.io.CharArrayReader; -import java.io.CharArrayWriter; import java.io.DataOutputStream; -import java.io.FilterReader; -import java.io.FilterWriter; import java.io.IOException; -import java.io.PrintStream; -import java.io.PrintWriter; -import java.io.Reader; -import java.io.Writer; import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import java.util.zip.GZIPInputStream; -import java.util.zip.GZIPOutputStream; import org.aspectj.apache.bcel.Constants; import org.aspectj.apache.bcel.classfile.annotation.AnnotationGen; @@ -83,7 +72,7 @@ import org.aspectj.apache.bcel.util.ByteSequence; /** * Utility functions that do not really belong to any class in particular. * - * @version $Id: Utility.java,v 1.6 2008/05/28 23:53:01 aclement Exp $ + * @version $Id: Utility.java,v 1.7 2008/05/30 17:29:13 aclement Exp $ * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> * * modified: Andy Clement 2-mar-05 Removed unnecessary static and optimized diff --git a/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionHandle.java b/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionHandle.java index 7680cd841..681147e78 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionHandle.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionHandle.java @@ -54,10 +54,9 @@ package org.aspectj.apache.bcel.generic; * <http://www.apache.org/>. */ -import org.aspectj.apache.bcel.classfile.Utility; import java.util.HashSet; -import java.util.Collection; -import java.util.HashMap; + +import org.aspectj.apache.bcel.classfile.Utility; /** * Instances of this class give users a handle to the instructions contained in @@ -71,7 +70,7 @@ import java.util.HashMap; * can traverse the list via an Enumeration returned by * InstructionList.elements(). * - * @version $Id: InstructionHandle.java,v 1.4 2008/05/28 23:52:59 aclement Exp $ + * @version $Id: InstructionHandle.java,v 1.5 2008/05/30 17:29:14 aclement Exp $ * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> * @see Instruction * @see BranchHandle |