| Modifier and Type | Class and Description |
|---|---|
| public static class | AnnotationParanamer.Jsr330Helper
This is a different class, because the @Inject jar may not be in the classpath. |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private final Paranamer |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | Returns: a the name value.the annotation in question ann)Override this if you want something other than JSR 330's Named annotation. |
| protected boolean | Returns: whether it is the annotation holding the parameter namethe annotation in question ann)Override this if you want something other than JSR 330's Named annotation. |
| 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. |
| __PARANAMER_DATA | back to summary |
|---|---|
| public static final String __PARANAMER_DATA | |
| fallback | back to summary |
|---|---|
| private final Paranamer fallback | |
| AnnotationParanamer | back to summary |
|---|---|
| public AnnotationParanamer() | |
| AnnotationParanamer | back to summary |
|---|---|
| public AnnotationParanamer(Paranamer fallback) | |
| getNamedValue | back to summary |
|---|---|
| protected String getNamedValue(Annotation ann) Override this if you want something other than JSR 330's Named annotation. return ((Named) ann).value();
| |
| isNamed | back to summary |
|---|---|
| protected boolean isNamed(Annotation ann) Override this if you want something other than JSR 330's Named annotation. return ann instanceof Named;
| |
| 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.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| private static boolean |
| Jsr330Helper | back to summary |
|---|---|
| public Jsr330Helper() | |
| getNamedValue | back to summary |
|---|---|
| private static String getNamedValue(Annotation ann) | |
| isNamed | back to summary |
|---|---|
| private static boolean isNamed(Annotation ann) | |