Created
April 6, 2011 18:05
-
-
Save vazexqi/906173 to your computer and use it in GitHub Desktop.
Shows how XMLEncoder would encode the information in a problem marker for Eclipse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<java version="1.6.0_24" class="java.beans.XMLDecoder"> | |
<object class="edu.illinois.codingspectator.refactoringproblems.logger.RefactoringProblem"> | |
<void property="persistableAttributes"> | |
<object class="java.util.HashMap"> | |
<void method="put"> | |
<string>id</string> | |
<string>33554772</string> | |
</void> | |
<void method="put"> | |
<string>message</string> | |
<string>Duplicate field Hello.i</string> | |
</void> | |
<void method="put"> | |
<string>arguments</string> | |
<string>2:Hello#i</string> | |
</void> | |
<void method="put"> | |
<string>categoryId</string> | |
<string>50</string> | |
</void> | |
<void method="put"> | |
<string>charStart</string> | |
<string>48</string> | |
</void> | |
<void method="put"> | |
<string>lineNumber</string> | |
<string>5</string> | |
</void> | |
<void method="put"> | |
<string>severity</string> | |
<string>2</string> | |
</void> | |
<void method="put"> | |
<string>charEnd</string> | |
<string>49</string> | |
</void> | |
<void method="put"> | |
<string>sourceId</string> | |
<string>JDT</string> | |
</void> | |
</object> | |
</void> | |
<void property="projectName"> | |
<string>P/Test</string> | |
</void> | |
<void property="resourcePath"> | |
<string>/Test/src/src/Hello.java</string> | |
</void> | |
</object> | |
</java> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment