public class StandardRebindOracle extends Object implements RebindOracle
Constructor and Description |
---|
StandardRebindOracle(PropertyOracle propOracle,
Deque<Rule> rules,
StandardGeneratorContext genCtx) |
Modifier and Type | Method and Description |
---|---|
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, Deque<Rule> rules, StandardGeneratorContext genCtx)
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.