public abstract static class SynonymTypesProvider.Acceptor
extends java.lang.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,
java.util.EnumSet<ConformanceHint> hints) |
protected abstract boolean |
accept(LightweightTypeReference synonym,
int flags) |
protected java.util.EnumSet<ConformanceHint> |
fromFlags(int flags)
Converts flag bits to type safe hints.
|
protected int |
toFlags(java.util.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, java.util.EnumSet<ConformanceHint> hints)
true
if the client is interested in more synonyms. false
to skip
further computation.protected int toFlags(java.util.EnumSet<ConformanceHint> hints)
protected java.util.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.ConformanceFlags