peichhorn/lombok-pg — Issue #68: @Singleton bug
Author: nicholas22
Created: 2012-01-26 10:14:36+00:00
State: open
Labels: Bug, Eclipse

This @singleton declaration does not instantiate the instance (it leaves it as null)...

@Singleton(style = Singleton.Style.HOLDER)
public final class ConnectRequest
implements IRequestMessage
{
@Getter
private final Object input = null;

@Override
public RequestType getType()
{
return RequestType.Connect;
}
}

public interface IRequestMessage
{
/**
* Returns the type of request (enum)
*/
RequestType getType();

/**
* Returns the input
*/
Object getInput();
}