blob: d513c36dd2c3437d9039d6c2b1acdd2cdf984daa [file] [log] [blame]
/**
* This is about <code>ClassName</code>.
* {@link com.yourCompany.aPackage.Interface}
* @author author
* @deprecated use <code>OtherClass</code>
*/
public class ClassName<E> extends AnyClass implements InterfaceName<String> {
enum Color { RED, GREEN, BLUE };
record Point(int x, int y) {};
/* 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(inheritedField);
int local= 42*hashCode();
var varLocal= local;
staticMethod();
return bar(varLocal) + parameter;
}
}