| Modifier and Type | Class and Description |
|---|---|
| public static class | CachingParanamer.WithoutWeakReferences
This implementation has a better concurrent design (ConcurrentHashMap) which has a better strategy to implement concurrency: segments instead of synchronized. |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private final Paranamer | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CachingParanamer(Paranamer
the paranamer instance to use delegate)Specify a Paranamer instance to delegates to. |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | lookupParameterNames(AccessibleObject
the methodOrConstructor)Method or Constructor for which the parameter names
are looked up.Implements com. |
| public String[] | lookupParameterNames(AccessibleObject
the methodOrCtor, boolean Method or Constructor for which the parameter names
are looked up.whether to throw an exception if no Paranamer data found (versus return null). throwExceptionIfMissing)Implements com. |
| protected Map |
| __PARANAMER_DATA | back to summary |
|---|---|
| public static final String __PARANAMER_DATA | |
| delegate | back to summary |
|---|---|
| private final Paranamer delegate | |
| methodCache | back to summary |
|---|---|
| private final Map<AccessibleObject, String[]> methodCache | |
| CachingParanamer | back to summary |
|---|---|
| public CachingParanamer() Uses a DefaultParanamer as the implementation it delegates to. | |
| CachingParanamer | back to summary |
|---|---|
| public CachingParanamer(Paranamer delegate) Specify a Paranamer instance to delegates to.
| |
| lookupParameterNames | back to summary |
|---|---|
| public String[] lookupParameterNames(AccessibleObject methodOrConstructor) Implements com. Doc from com. Lookup the parameter names of a given method.
| |
| lookupParameterNames | back to summary |
|---|---|
| public String[] lookupParameterNames(AccessibleObject methodOrCtor, boolean throwExceptionIfMissing) Implements com. Doc from com. Lookup the parameter names of a given method.
| |
| makeMethodCache | back to summary |
|---|---|
| protected Map | |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Map |
| WithoutWeakReferences | back to summary |
|---|---|
| public WithoutWeakReferences() | |
| WithoutWeakReferences | back to summary |
|---|---|
| public WithoutWeakReferences(Paranamer delegate) | |
| makeMethodCache | back to summary |
|---|---|
| protected Map Overrides com.
| |