public class StandardRebindOracle extends Object implements RebindOracle
Constructor and Description |
---|
StandardRebindOracle(PropertyOracle propOracle,
Rules rules,
StandardGeneratorContext genCtx) |
Modifier and Type | Method and Description |
---|---|
void |
invalidateRebind(String sourceTypeName)
Invalidates the given source type name, so the next rebind request will
generate the type again.
|
String |
rebind(TreeLogger logger,
String typeName)
Determines which type should be substituted for the requested type.
|
String |
rebind(TreeLogger logger,
String typeName,
ArtifactAcceptor artifactAcceptor) |
void |
setRebindCache(RebindCache cache) |
public StandardRebindOracle(PropertyOracle propOracle, Rules rules, StandardGeneratorContext genCtx)
public void invalidateRebind(String sourceTypeName)
public String rebind(TreeLogger logger, String typeName) throws UnableToCompleteException
RebindOracle
rebind
in interface RebindOracle
null
if sourceTypeName is
not null
UnableToCompleteException
public String rebind(TreeLogger logger, String typeName, ArtifactAcceptor artifactAcceptor) throws UnableToCompleteException
UnableToCompleteException
public void setRebindCache(RebindCache cache)
Copyright © 2018. All rights reserved.