]> source.dussan.org Git - aspectj.git/commitdiff
312839: smaller class files
authoraclement <aclement>
Mon, 17 May 2010 16:40:20 +0000 (16:40 +0000)
committeraclement <aclement>
Mon, 17 May 2010 16:40:20 +0000 (16:40 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/ConstantPoolReader.java [new file with mode: 0644]
org.aspectj.matcher/src/org/aspectj/weaver/ConstantPoolWriter.java [new file with mode: 0644]

diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/ConstantPoolReader.java b/org.aspectj.matcher/src/org/aspectj/weaver/ConstantPoolReader.java
new file mode 100644 (file)
index 0000000..1345e7e
--- /dev/null
@@ -0,0 +1,23 @@
+/* *******************************************************************
+ * Copyright (c) 2010 Contributors
+ * All rights reserved. 
+ * This program and the accompanying materials are made available 
+ * under the terms of the Eclipse Public License v1.0 
+ * which accompanies this distribution and is available at 
+ * http://www.eclipse.org/legal/epl-v10.html 
+ *
+ * Contributors:
+ * Andy Clement (SpringSource)
+ * ******************************************************************/
+package org.aspectj.weaver;
+
+/**
+ * Used during attribute reading to decode constant pool references.
+ * 
+ * @author Andy Clement
+ */
+public interface ConstantPoolReader {
+
+       String readUtf8(int constantPoolIndex);
+
+}
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/ConstantPoolWriter.java b/org.aspectj.matcher/src/org/aspectj/weaver/ConstantPoolWriter.java
new file mode 100644 (file)
index 0000000..2b145a1
--- /dev/null
@@ -0,0 +1,23 @@
+/* *******************************************************************
+ * Copyright (c) 2010 Contributors
+ * All rights reserved. 
+ * This program and the accompanying materials are made available 
+ * under the terms of the Eclipse Public License v1.0 
+ * which accompanies this distribution and is available at 
+ * http://www.eclipse.org/legal/epl-v10.html 
+ * 
+ * Contributors:
+ * Andy Clement (SpringSource)
+ * ******************************************************************/
+package org.aspectj.weaver;
+
+/**
+ * Used during attribute writing to encode common strings/etc as constant pool references.
+ * 
+ * @author Andy Clement
+ */
+public interface ConstantPoolWriter {
+
+       int writeUtf8(String string);
+
+}