Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357552

Summary: Revert modifier change of JavaElement.escapeMementoName(..)
Product: [Tools] Objectteams Reporter: Stephan Herrmann <stephan.herrmann>
Component: OTDTAssignee: Stephan Herrmann <stephan.herrmann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M2   
Hardware: Other   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 351085    
Attachments:
Description Flags
fix none

Description Stephan Herrmann CLA 2011-09-13 15:57:56 EDT
Some time ago we changed JavaElement.escapeMementoName(..) from protected 
to public static to enable access from OT model elements.

This breaks the AJDT which tries to invoke the method from its own
subclass of JavaElement (AspectJMemberElement).

Also, the change is no longer relevant since meanwhile all OT model elements
subclass JavaElement, too.
Comment 1 Stephan Herrmann CLA 2011-09-13 16:01:57 EDT
Created attachment 203297 [details]
fix

The fix is straight-forward.
Comment 2 Stephan Herrmann CLA 2011-09-13 16:03:12 EDT
Released for 2.1 M2 (r2014).
Comment 3 Stephan Herrmann CLA 2012-09-22 11:08:35 EDT
Verified via code inspection.