aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/handlers/HandleExtensionMethod.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lombok/javac/handlers/HandleExtensionMethod.java')
-rw-r--r--src/core/lombok/javac/handlers/HandleExtensionMethod.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/lombok/javac/handlers/HandleExtensionMethod.java b/src/core/lombok/javac/handlers/HandleExtensionMethod.java
index 788a16a0..3aee2f51 100644
--- a/src/core/lombok/javac/handlers/HandleExtensionMethod.java
+++ b/src/core/lombok/javac/handlers/HandleExtensionMethod.java
@@ -87,9 +87,9 @@ public class HandleExtensionMethod extends JavacAnnotationHandler<ExtensionMetho
annotationNode.rebuild();
}
-
-
- private List<Extension> getExtensions(final JavacNode typeNode, final List<Object> extensionProviders) {
+
+
+ public List<Extension> getExtensions(final JavacNode typeNode, final List<Object> extensionProviders) {
List<Extension> extensions = new ArrayList<Extension>();
for (Object extensionProvider : extensionProviders) {
if (!(extensionProvider instanceof JCFieldAccess)) continue;
@@ -104,7 +104,7 @@ public class HandleExtensionMethod extends JavacAnnotationHandler<ExtensionMetho
return extensions;
}
- private Extension getExtension(final JavacNode typeNode, final ClassType extensionMethodProviderType) {
+ public Extension getExtension(final JavacNode typeNode, final ClassType extensionMethodProviderType) {
List<MethodSymbol> extensionMethods = new ArrayList<MethodSymbol>();
TypeSymbol tsym = extensionMethodProviderType.asElement();
if (tsym != null) for (Symbol member : tsym.getEnclosedElements()) {