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