public static class IndexedAnnotationDB.StaticMethodRPFactory extends java.lang.Object implements IndexedAnnotationDB.ParserListenerFactory
Constructor and Description |
---|
StaticMethodRPFactory(java.lang.reflect.Method method)
Create a new StaticMethodRPFactory for a method.
|
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Method |
getMethod()
Get the Method used.
|
ParserListener |
getParserListener(TagValueListener tvl)
Get the ParserListener for a TagValueListener.
|
public StaticMethodRPFactory(java.lang.reflect.Method method) throws java.lang.IllegalArgumentException
method
- a Method to usejava.lang.IllegalArgumentException
- if the Method is not statically scoped,
or does not return a ParserListener or take a single argument of type
TagValueListenerpublic java.lang.reflect.Method getMethod()
public ParserListener getParserListener(TagValueListener tvl)
IndexedAnnotationDB.ParserListenerFactory
getParserListener
in interface IndexedAnnotationDB.ParserListenerFactory
tvl
- the TagValueListener to process