@@ -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 { |
@@ -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 { |
@@ -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 |
@@ -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 |