org.jnetpcap.packet.structure
Class AnnotatedMethod
java.lang.Object
org.jnetpcap.packet.structure.AnnotatedMethod
- Direct Known Subclasses:
- AnnotatedBindMethod, AnnotatedFieldMethod, AnnotatedHeaderLengthMethod, AnnotatedScannerMethod
public abstract class AnnotatedMethod
- extends java.lang.Object
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
|
Method Summary |
java.lang.reflect.Method |
getMethod()
|
static java.lang.reflect.Method[] |
getMethods(java.lang.Class<?> c,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
|
void |
setIsMapped(boolean state)
|
java.lang.String |
toString()
|
protected abstract void |
validateSignature(java.lang.reflect.Method method)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
method
protected final java.lang.reflect.Method method
isMapped
protected boolean isMapped
declaringClass
protected final java.lang.Class<?> declaringClass
object
protected final java.lang.Object object
AnnotatedMethod
public AnnotatedMethod()
AnnotatedMethod
public AnnotatedMethod(java.lang.reflect.Method method,
java.lang.Object object)
AnnotatedMethod
public AnnotatedMethod(java.lang.reflect.Method method)
setIsMapped
public void setIsMapped(boolean state)
getMethod
public java.lang.reflect.Method getMethod()
validateSignature
protected abstract void validateSignature(java.lang.reflect.Method method)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getMethods
public static java.lang.reflect.Method[] getMethods(java.lang.Class<?> c,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)