aboutsummaryrefslogtreecommitdiff
path: root/src/installer/lombok
diff options
context:
space:
mode:
authorgrootjans <grootjans@gmail.com>2011-05-17 01:42:02 +0200
committergrootjans <grootjans@gmail.com>2011-05-17 01:42:02 +0200
commit489f506ba1f9ec99892797a912867322ea7d6478 (patch)
tree1229e6e98ff479d0b08d51bce18a51f9803ca4c2 /src/installer/lombok
parent85f7122ab5841460f5a39dacd47543c0c7bc535c (diff)
downloadlombok-489f506ba1f9ec99892797a912867322ea7d6478.tar.gz
lombok-489f506ba1f9ec99892797a912867322ea7d6478.tar.bz2
lombok-489f506ba1f9ec99892797a912867322ea7d6478.zip
Added a layer of indirection between the patched calls for delegate to guard against situations in which lombok can't possibly work, since there is not enough of eclipse on the classpath. Major example of this is when we are called through jsps in the eclipse help.
Also added an extra check before the patchval is performed by checking if previous patch calls failed in TransformEclipseAST. This fixes Issue #207.
Diffstat (limited to 'src/installer/lombok')
-rw-r--r--src/installer/lombok/installer/eclipse/EclipseFinder.java2
-rw-r--r--src/installer/lombok/installer/eclipse/EclipseLocationProvider.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/installer/lombok/installer/eclipse/EclipseFinder.java b/src/installer/lombok/installer/eclipse/EclipseFinder.java
index cf8c5149..e7716281 100644
--- a/src/installer/lombok/installer/eclipse/EclipseFinder.java
+++ b/src/installer/lombok/installer/eclipse/EclipseFinder.java
@@ -1,5 +1,5 @@
/*
- * Copyright © 2009 Reinier Zwitserloot and Roel Spilker.
+ * Copyright © 2009-2011 Reinier Zwitserloot, Roel Spilker and Robbert Jan Grootjans.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/src/installer/lombok/installer/eclipse/EclipseLocationProvider.java b/src/installer/lombok/installer/eclipse/EclipseLocationProvider.java
index 29c3b918..2108ea60 100644
--- a/src/installer/lombok/installer/eclipse/EclipseLocationProvider.java
+++ b/src/installer/lombok/installer/eclipse/EclipseLocationProvider.java
@@ -1,5 +1,5 @@
/*
- * Copyright © 2009 Reinier Zwitserloot and Roel Spilker.
+ * Copyright © 2009-2011 Reinier Zwitserloot, Roel Spilker and Robbert Jan Grootjans.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal