Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * This is about <code>ClassName</code>.
- * {@link com.yourCompany.aPackage.Interface}
- * @author author
- * @deprecated use <code>OtherClass</code>
- */
- public class ClassName<E> implements InterfaceName<String> {
- enum Color { RED, GREEN, BLUE };
- /* This comment may span multiple lines. */
- static Object staticField;
- // This comment may span only this line
- private E field;
- private AbstractClassName field2;
- // TASK: refactor
- @SuppressWarnings(value="all")
- public int foo(Integer parameter) {
- abstractMethod();
- int local= 42*hashCode();
- staticMethod();
- return bar(local) + parameter;
- }
- }
Add Comment
Please, Sign In to add comment