public abstract static class SynonymTypesProvider.Acceptor extends Object
SynonymTypesProvider may use a custom acceptor
to handle the available synonym types.| Constructor and Description |
|---|
SynonymTypesProvider.Acceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(LightweightTypeReference synonym,
ConformanceHint hint) |
protected boolean |
accept(LightweightTypeReference synonym,
EnumSet<ConformanceHint> hints) |
protected abstract boolean |
accept(LightweightTypeReference synonym,
int flags) |
protected EnumSet<ConformanceHint> |
fromFlags(int flags)
Converts flag bits to type safe hints.
|
protected int |
toFlags(EnumSet<ConformanceHint> hints)
Converts hints to flag bits.
|
protected final boolean accept(LightweightTypeReference synonym, ConformanceHint hint)
true if the client is interested in more synonyms. false to skip
further computation.protected final boolean accept(LightweightTypeReference synonym, EnumSet<ConformanceHint> hints)
true if the client is interested in more synonyms. false to skip
further computation.protected int toFlags(EnumSet<ConformanceHint> hints)
protected EnumSet<ConformanceHint> fromFlags(int flags)
protected abstract boolean accept(LightweightTypeReference synonym, int flags)
true if the client is interested in more synonyms. false to skip
further computation.ConformanceFlagsCopyright © 2015. All Rights Reserved.