Why is it that the function bind()
exist only when set inside scope curly braces?
public void initialize() {
inputsAreFull = new BooleanBinding() {
{
bind();
}
@Override
protected boolean computeValue() {
return false;
}
};
}
IntelliJ automatically recommends bind()
when inside curly braces, but the function doesn't exist outside of them?
This won't work:
public void initialize() {
inputsAreFull = new BooleanBinding() {
bind();
@Override
protected boolean computeValue() {
return false;
}
};
}