|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jnetpcap.packet.structure.AnnotatedMethod
public abstract class AnnotatedMethod
The Class AnnotatedMethod.
| Field Summary | |
|---|---|
protected java.lang.Class<?> |
declaringClass
The declaring class. |
protected boolean |
isMapped
The is mapped. |
protected java.lang.reflect.Method |
method
The method. |
protected java.lang.Object |
object
The object. |
| Constructor Summary | |
|---|---|
AnnotatedMethod()
Instantiates a new annotated method. |
|
AnnotatedMethod(java.lang.reflect.Method method)
Instantiates a new annotated method. |
|
AnnotatedMethod(java.lang.reflect.Method method,
java.lang.Object object)
Instantiates a new annotated method. |
|
| Method Summary | |
|---|---|
java.lang.reflect.Method |
getMethod()
Gets the method. |
static java.lang.reflect.Method[] |
getMethods(java.lang.Class<?> c,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Gets the methods. |
void |
setIsMapped(boolean state)
Sets the checks if is mapped. |
java.lang.String |
toString()
To string. |
protected abstract void |
validateSignature(java.lang.reflect.Method method)
Validate signature. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.reflect.Method method
protected boolean isMapped
protected final java.lang.Class<?> declaringClass
protected final java.lang.Object object
| Constructor Detail |
|---|
public AnnotatedMethod()
public AnnotatedMethod(java.lang.reflect.Method method,
java.lang.Object object)
method - the methodobject - the objectpublic AnnotatedMethod(java.lang.reflect.Method method)
method - the method| Method Detail |
|---|
public void setIsMapped(boolean state)
state - the new checks if is mappedpublic java.lang.reflect.Method getMethod()
protected abstract void validateSignature(java.lang.reflect.Method method)
method - the methodpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
public static java.lang.reflect.Method[] getMethods(java.lang.Class<?> c,
java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
c - the cannotation - the annotation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||