From 250b7a1b0648d25ea6a9d29232ece43293589928 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 15 Sep 2009 16:39:56 +0000 Subject: [PATCH] refactoring --- .../org/aspectj/apache/bcel/classfile/JavaClass.java | 11 +---------- .../bcel/classfile/annotation/AnnotationGen.java | 6 ------ 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/bcel-builder/src/org/aspectj/apache/bcel/classfile/JavaClass.java b/bcel-builder/src/org/aspectj/apache/bcel/classfile/JavaClass.java index 4971d8534..27d2c241a 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/classfile/JavaClass.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/classfile/JavaClass.java @@ -80,7 +80,7 @@ import org.aspectj.apache.bcel.util.SyntheticRepository; * The intent of this class is to represent a parsed or otherwise existing class file. Those interested in programatically * generating classes should see the ClassGen class. * - * @version $Id: JavaClass.java,v 1.20 2009/09/15 03:33:52 aclement Exp $ + * @version $Id: JavaClass.java,v 1.21 2009/09/15 16:39:56 aclement Exp $ * @see org.aspectj.apache.bcel.generic.ClassGen * @author M. Dahm */ @@ -240,9 +240,6 @@ public class JavaClass extends Modifiers implements Cloneable, Node { /** * Dump Java class to output stream in binary format. - * - * @param file Output stream - * @exception IOException */ public void dump(OutputStream file) throws IOException { dump(new DataOutputStream(file)); @@ -250,9 +247,6 @@ public class JavaClass extends Modifiers implements Cloneable, Node { /** * Dump Java class to output stream in binary format. - * - * @param file Output stream - * @exception IOException */ public void dump(DataOutputStream file) throws IOException { file.writeInt(0xcafebabe); @@ -285,9 +279,6 @@ public class JavaClass extends Modifiers implements Cloneable, Node { file.close(); } - /** - * @return Attributes of the class. - */ public Attribute[] getAttributes() { return attributes; } diff --git a/bcel-builder/src/org/aspectj/apache/bcel/classfile/annotation/AnnotationGen.java b/bcel-builder/src/org/aspectj/apache/bcel/classfile/annotation/AnnotationGen.java index 9efdeb7b9..e5d2566b7 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/classfile/annotation/AnnotationGen.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/classfile/annotation/AnnotationGen.java @@ -32,12 +32,6 @@ public class AnnotationGen { private ConstantPool cpool; private boolean isRuntimeVisible = false; - /** - * Here we are taking a fixed annotation of type Annotation and building a modifiable AnnotationGen object. If the pool passed - * in is for a different class file, then copyPoolEntries should have been passed as true as that will force us to do a deep - * copy of the annotation and move the cpool entries across. We need to copy the type and the element name value pairs and the - * visibility. - */ public AnnotationGen(AnnotationGen a, ConstantPool cpool, boolean copyPoolEntries) { this.cpool = cpool; if (copyPoolEntries) { -- 2.39.5