|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jnetpcap.packet.structure.AnnotatedMethod
org.jnetpcap.packet.structure.AnnotatedFieldMethod
public abstract class AnnotatedFieldMethod
The Class AnnotatedFieldMethod.
| Field Summary | |
|---|---|
protected java.lang.String |
field
The field. |
protected Field.Property |
function
The function. |
| Fields inherited from class org.jnetpcap.packet.structure.AnnotatedMethod |
|---|
declaringClass, isMapped, method, object |
| Constructor Summary | |
|---|---|
AnnotatedFieldMethod(AnnotatedField field,
Field.Property function)
Instantiates a new annotated field method. |
|
AnnotatedFieldMethod(AnnotatedField field,
Field.Property function,
java.lang.reflect.Method method)
Instantiates a new annotated field method. |
|
AnnotatedFieldMethod(java.lang.reflect.Method method,
Field.Property function)
Instantiates a new annotated field method. |
|
| Method Summary | |
|---|---|
boolean |
booleanMethod(JHeader header,
java.lang.String name)
Boolean method. |
static void |
checkAnnotation(java.lang.reflect.Method method,
java.util.List<AnnotatedField> fields)
Check annotation. |
abstract void |
configFromField(AnnotatedField field)
Config from field. |
static AnnotatedFieldMethod |
generateFunction(Field.Property function,
AnnotatedField field)
Generate function. |
java.lang.String |
getFieldName()
Gets the field name. |
Field.Property |
getFunction()
Gets the function. |
static AnnotatedFieldMethod |
inspectMethod(java.lang.reflect.Method method)
Inspect method. |
int |
intMethod(JHeader header,
java.lang.String name)
Int method. |
long |
longMethod(JHeader header,
java.lang.String name)
Long method. |
java.lang.Object |
objectMethod(JHeader header,
java.lang.String name)
Object method. |
java.lang.String |
stringMethod(JHeader header,
java.lang.String name)
String method. |
protected void |
validateSignature(java.lang.reflect.Method method)
Validate signature. |
| Methods inherited from class org.jnetpcap.packet.structure.AnnotatedMethod |
|---|
getMethod, getMethods, setIsMapped, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String field
protected final Field.Property function
| Constructor Detail |
|---|
public AnnotatedFieldMethod(AnnotatedField field,
Field.Property function)
field - the fieldfunction - the function
public AnnotatedFieldMethod(AnnotatedField field,
Field.Property function,
java.lang.reflect.Method method)
field - the fieldfunction - the functionmethod - the method
public AnnotatedFieldMethod(java.lang.reflect.Method method,
Field.Property function)
method - the methodfunction - the function| Method Detail |
|---|
public static void checkAnnotation(java.lang.reflect.Method method,
java.util.List<AnnotatedField> fields)
method - the methodfields - the fields
public static AnnotatedFieldMethod generateFunction(Field.Property function,
AnnotatedField field)
function - the functionfield - the field
public static AnnotatedFieldMethod inspectMethod(java.lang.reflect.Method method)
method - the method
public boolean booleanMethod(JHeader header,
java.lang.String name)
header - the headername - the name
public abstract void configFromField(AnnotatedField field)
field - the fieldpublic java.lang.String getFieldName()
public final Field.Property getFunction()
public int intMethod(JHeader header,
java.lang.String name)
header - the headername - the name
public java.lang.Object objectMethod(JHeader header,
java.lang.String name)
header - the headername - the name
public java.lang.String stringMethod(JHeader header,
java.lang.String name)
header - the headername - the name
protected void validateSignature(java.lang.reflect.Method method)
validateSignature in class AnnotatedMethodmethod - the methodAnnotatedMethod.validateSignature(java.lang.reflect.Method)
public long longMethod(JHeader header,
java.lang.String name)
header - the headername - the name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||