mirror of
https://github.com/corda/corda.git
synced 2025-01-11 15:32:49 +00:00
Merge pull request #1834 from corda/chrisr3-muppet-fix
Fix filterAnnotationsFor() to return MethodInfo.
This commit is contained in:
commit
7c8a23aea6
@ -286,7 +286,7 @@ public class ScanApi extends DefaultTask {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String filterAnnotationsFor(MethodInfo method) {
|
private MethodInfo filterAnnotationsFor(MethodInfo method) {
|
||||||
return new MethodInfo(
|
return new MethodInfo(
|
||||||
method.getClassName(),
|
method.getClassName(),
|
||||||
method.getMethodName(),
|
method.getMethodName(),
|
||||||
@ -295,7 +295,7 @@ public class ScanApi extends DefaultTask {
|
|||||||
method.getAnnotationNames().stream()
|
method.getAnnotationNames().stream()
|
||||||
.filter(ScanApi::isVisibleAnnotation)
|
.filter(ScanApi::isVisibleAnnotation)
|
||||||
.collect(toList())
|
.collect(toList())
|
||||||
).toString();
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user