public abstract class LazyBlockReference extends Object implements BlockReference
| Constructor and Description |
|---|
LazyBlockReference() |
| Modifier and Type | Method and 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 BlockReferencecreate - If false, the method will return null if the block is
not yet created.Copyright © 2018 JBoss by Red Hat. All rights reserved.