The following document contains the results of PMD's CPD 4.2.1.
| File | Line |
|---|---|
| net/sf/tacos/annotations/InjectExternalLinkAnnotationWorker.java | 74 |
| net/sf/tacos/annotations/InjectPageLinkAnnotationWorker.java | 56 |
builder.end();
op.addMethod(Modifier.PUBLIC, new MethodSignature(method), builder
.toString(), location);
if (isGetter(method))
op.claimReadonlyProperty(AnnotationUtils.getPropertyName(method));
}
boolean isGetter(Method method) {
return method.getName().startsWith("get")
&& method.getParameterTypes().length == 0;
}
} | |