Changeset 1146
- Timestamp:
- 05/01/08 00:12:07 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/descent.core/src/descent/core/Signature.java
r1141 r1146 1620 1620 @Override 1621 1621 public void acceptModule(char[][] compoundName, String signature) { 1622 acceptIdentifier(compoundName, signature); 1622 Stack<StringBuilder> st = stack.peek(); 1623 1624 StringBuilder sb = new StringBuilder(); 1625 1626 for (int i = 0; i < compoundName.length; i++) { 1627 if (i != 0) { 1628 sb.append('.'); 1629 } 1630 sb.append(compoundName[i]); 1631 } 1632 1633 st.push(sb); 1623 1634 } 1624 1635 @Override trunk/descent.core/src/descent/internal/core/SearchableEnvironment.java
r1132 r1146 468 468 storage.acceptType(packageName, simpleTypeName, templateParametersSignature, enclosingTypeNames, modifiers, declarationStart, access); 469 469 } 470 public void acceptField(long modifiers, char[] packageName, char[] name, char[] typeName, char[][] enclosingTypeNames, String path, AccessRestriction access) {470 public void acceptField(long modifiers, char[] packageName, char[] name, char[] typeName, char[][] enclosingTypeNames, String path, int declarationStart, AccessRestriction access) { 471 471 if (excludePath != null && excludePath.equals(path)) 472 472 return; 473 473 if (!findMembers && enclosingTypeNames != null && enclosingTypeNames.length > 0) 474 474 return; // accept only top level types 475 storage.acceptField(packageName, name, typeName, enclosingTypeNames, modifiers, access);475 storage.acceptField(packageName, name, typeName, enclosingTypeNames, modifiers, declarationStart, access); 476 476 } 477 477 public void acceptMethod(long modifiers, char[] packageName, char[] name, char[][] enclosingTypeNames, char[] signature, char[] templateParametersSignature, String path, int declarationStart, AccessRestriction access) { trunk/descent.ui/src/descent/ui/text/java/CompletionProposalLabelProvider.java
r1132 r1146 544 544 if (declSignature != null && declSignature.length != 0) { 545 545 buf.append(JavaElementLabels.CONCAT_STRING); 546 547 if (new String(declSignature).equals("3Foo!^i^f\'")) {548 System.out.println(1);549 }550 546 551 547 buf.append(Signature.toCharArray(declSignature,
