summaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher/src/org/aspectj/weaver/StaticJoinPointFactory.java
blob: 591e6c47047a69ac41c361284acaca90e2a79648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* *******************************************************************
 * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
 * 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: 
 *     PARC     initial implementation 
 * ******************************************************************/

package org.aspectj.weaver;

public class StaticJoinPointFactory {
	// int usedKeys;
	//	
	// List/*String*/ strings = new ArrayList();
	// Map/*String,Integer*/ keysForStrings = new HashMap();
	//	
	// public StaticJoinPointFactory() {
	// super();
	// }
	//
	// static char[] encoding = new char[] {
	// '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',//10
	// 'a', 'b', 'z', //36
	// 'A', 'B', 'Z', //62
	// '%', '$', //64
	// };
	//    
	// static int TWO_WORDS = 64*64-1;
	// static int WORD_MASK = 63;
	//    
	// public void write(String s, StringBuffer result) {
	// int i = getIndex(s);
	// encode(i, result);
	// }
	//    
	// void encode(int i, StringBuffer result) {
	// if (i > TWO_WORDS) {
	// throw new RuntimeException("unimplemented");
	// } else {
	// result.append( encoding[(i >> 6) & WORD_MASK] );
	// result.append( encoding[i & WORD_MASK] );
	// }
	// }
	//    
	// public String read(StringReader reader) {
	// int i = reader.read();
	//    	
	// }

}