mirror of
https://github.com/corda/corda.git
synced 2025-02-20 17:33:15 +00:00
Fix filterAnnotationsFor() to return MethodInfo.
This commit is contained in:
parent
3afe855042
commit
d761d52c16
@ -286,7 +286,7 @@ public class ScanApi extends DefaultTask {
|
||||
return 0;
|
||||
}
|
||||
|
||||
private String filterAnnotationsFor(MethodInfo method) {
|
||||
private MethodInfo filterAnnotationsFor(MethodInfo method) {
|
||||
return new MethodInfo(
|
||||
method.getClassName(),
|
||||
method.getMethodName(),
|
||||
@ -295,7 +295,7 @@ public class ScanApi extends DefaultTask {
|
||||
method.getAnnotationNames().stream()
|
||||
.filter(ScanApi::isVisibleAnnotation)
|
||||
.collect(toList())
|
||||
).toString();
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user