Guest User

Untitled

a guest
Dec 13th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. /**
  2. * This is about <code>ClassName</code>.
  3. * {@link com.yourCompany.aPackage.Interface}
  4. * @author author
  5. * @deprecated use <code>OtherClass</code>
  6. */
  7. public class ClassName<E> implements InterfaceName<String> {
  8. enum Color { RED, GREEN, BLUE };
  9. /* This comment may span multiple lines. */
  10. static Object staticField;
  11. // This comment may span only this line
  12. private E field;
  13. private AbstractClassName field2;
  14. // TASK: refactor
  15. @SuppressWarnings(value="all")
  16. public int foo(Integer parameter) {
  17. abstractMethod();
  18. int local= 42*hashCode();
  19. staticMethod();
  20. return bar(local) + parameter;
  21. }
  22. }
Add Comment
Please, Sign In to add comment