]> source.dussan.org Git - aspectj.git/commitdiff
passing the correct compressors around (for small class file sizes enhancement)
authoraclement <aclement>
Tue, 18 May 2010 19:46:37 +0000 (19:46 +0000)
committeraclement <aclement>
Tue, 18 May 2010 19:46:37 +0000 (19:46 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/EclipseAttributeAdapter.java

index 4d1a80b55385aa1e4b902a494704ca8bf7fbed6a..a6539247aee4f6c7208f6b442ade2c8b90c96959 100644 (file)
  *     PARC     initial implementation 
  * ******************************************************************/
 
-
 package org.aspectj.ajdt.internal.compiler.ast;
 
 import org.aspectj.weaver.AjAttribute;
 import org.aspectj.org.eclipse.jdt.internal.compiler.IAttribute;
+import org.aspectj.org.eclipse.jdt.internal.compiler.codegen.ConstantPool;
 
 public class EclipseAttributeAdapter implements IAttribute {
        AjAttribute attr;
@@ -27,8 +27,8 @@ public class EclipseAttributeAdapter implements IAttribute {
                return attr.getNameChars();
        }
 
-       public byte[] getAllBytes(short nameIndex) {
-               return attr.getAllBytes(nameIndex);
+       public byte[] getAllBytes(short nameIndex, ConstantPool constantPool) {
+               return attr.getAllBytes(nameIndex, new EclipseConstantPoolWriter(constantPool));
        }
 
 }