aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
diff options
context:
space:
mode:
authorJappe van der Hel <jappe.vanderhel@gmail.com>2012-01-04 00:18:35 +0100
committerJappe van der Hel <jappe.vanderhel@gmail.com>2012-01-10 08:53:13 +0100
commit3adf835e48f064a4b8ef1d24d3d32d1827c03f28 (patch)
tree760b17fe3b69b6c4f8f0e0f580dcfe583487ffbb /src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
parenta59a2c482b504a47a84b72313acfee361c516dbf (diff)
downloadlombok-3adf835e48f064a4b8ef1d24d3d32d1827c03f28.tar.gz
lombok-3adf835e48f064a4b8ef1d24d3d32d1827c03f28.tar.bz2
lombok-3adf835e48f064a4b8ef1d24d3d32d1827c03f28.zip
"QualifiedName"'s are now also marked as generated during ASTConverter phase (just like "SimpleName"'s)
This fixes "Rename" when inner types are used (for both the main type and the inner type)
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java')
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
index 53d60bde..9f7abbe3 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
@@ -212,7 +212,7 @@ public class PatchFixes {
}
}
- public static void setIsGeneratedFlagForSimpleName(SimpleName name, Object internalNode) throws Exception {
+ public static void setIsGeneratedFlagForName(org.eclipse.jdt.core.dom.Name name, Object internalNode) throws Exception {
if (internalNode instanceof org.eclipse.jdt.internal.compiler.ast.ASTNode) {
if (internalNode.getClass().getField("$generatedBy").get(internalNode) != null) {
name.getClass().getField("$isGenerated").set(name, true);