Decorator.java

biz/hammurapi/convert/Decorator.java

Violations

Inspector Message Severity Location
Java Inspector 048 Copyrights information should be present in each file. 1
Java Inspector 089 Type documentation is too short. It is only 2 words. Should be at least 3 words. 2 7:1

Source code

1package biz.hammurapi.convert;
2
3/**
4 * Decorator interface.
5 * @author Pavel
6 */
7public interface Decorator {
8
9 /**
10 * Decorates source.
11 * @param source
12 * @return Instance of target type.
13 */
14 Object decorate(Object source);
15}
16