aboutsummaryrefslogtreecommitdiffstats
path: root/bcel-builder
diff options
context:
space:
mode:
authoraclement <aclement>2009-09-15 16:39:56 +0000
committeraclement <aclement>2009-09-15 16:39:56 +0000
commit250b7a1b0648d25ea6a9d29232ece43293589928 (patch)
tree0890814dbc8ce2f2ab87ac53e646d96dfb3f7463 /bcel-builder
parentf5aab0994645ac03545fbab7b74fcb6e42968bc5 (diff)
downloadaspectj-250b7a1b0648d25ea6a9d29232ece43293589928.tar.gz
aspectj-250b7a1b0648d25ea6a9d29232ece43293589928.zip
refactoring
Diffstat (limited to 'bcel-builder')
-rw-r--r--bcel-builder/src/org/aspectj/apache/bcel/classfile/JavaClass.java11
-rw-r--r--bcel-builder/src/org/aspectj/apache/bcel/classfile/annotation/AnnotationGen.java6
2 files changed, 1 insertions, 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 <a href="../generic/ClassGen.html">ClassGen</a> 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 <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
*/
@@ -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) {