BlockReference
public abstract class LazyBlockReference extends Object implements BlockReference
Constructor | Description |
---|---|
LazyBlockReference() |
Modifier and Type | Method | Description |
---|---|---|
protected abstract JBlock |
create() |
Called when a block needs to be created.
|
JBlock |
get(boolean create) |
protected abstract JBlock create()
public JBlock get(boolean create)
get
in interface BlockReference
create
- If false, the method will return null if the block is
not yet created.Copyright © 2018 Oracle Corporation. All rights reserved.