Package | Description |
---|---|
org.tio.utils.thoughtworksparanamer |
特别说明:这个包的代码摘自:@see https://github.com/paul-hammant/paranamer/tree/master/paranamer
不直接引用paranamer的原因主要是减少本项目依赖,减少用户维护pom的烦琐度
本次拷贝,已经得到作者的许可:@see https://github.com/paul-hammant/paranamer/issues/32
再次感谢:https://github.com/paul-hammant/paranamer/tree/master/paranamer
|
Modifier and Type | Class and Description |
---|---|
class |
AdaptiveParanamer
Implementation of Paranamer which chooses between a series of Paranamer instances depending on which can supply data.
|
class |
BytecodeReadingParanamer
An ASM-based implementation of Paranamer.
|
class |
CachingParanamer
Implementation of Paranamer which delegate to another Paranamer implementation,
adding caching functionality to speed up usage.
|
static class |
CachingParanamer.WithoutWeakReferences
This implementation has a better concurrent design (ConcurrentHashMap) which
has a better strategy to implement concurrency: segments instead of synchronized.
|
class |
DefaultParanamer
Default implementation of Paranamer reads from a post-compile added field called '__PARANAMER_DATA'
|
class |
JavadocParanamer
Accesses Javadocs to extract parameter names.
|
class |
NullParanamer
Implementation of Paranamer which adheres to the NullObject pattern
|
class |
PositionalParanamer
Paranamer that works on basis of the parameter position and can be used as
last fallback of the
AdaptiveParanamer . |
Constructor and Description |
---|
AdaptiveParanamer(Paranamer... paranamers)
Prioritize a series of Paranamers
|
CachingParanamer(Paranamer delegate)
Specify a Paranamer instance to delegates to.
|
WithoutWeakReferences(Paranamer delegate) |
Copyright © 2018. All rights reserved.