Package com.igormaznitsa.jbbp.compiler
Class JBBPNamedFieldInfo
java.lang.Object
com.igormaznitsa.jbbp.compiler.JBBPNamedFieldInfo
- All Implemented Interfaces:
Serializable
The Class describes a named field info item. Such objects are presented
inside compiled blocks only for fields which have names.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJBBPNamedFieldInfo(String fieldPath, String fieldName, int offsetInCompiledBlock) The Constructor -
Method Summary
-
Constructor Details
-
JBBPNamedFieldInfo
The Constructor- Parameters:
fieldPath- the field pathfieldName- the field nameoffsetInCompiledBlock- the offset in the compiled block for the field
-
-
Method Details
-
getFieldPath
Get the field path.- Returns:
- the field path as string
-
getFieldName
Get the field name.- Returns:
- the field name as string
-
getFieldOffsetInCompiledBlock
public int getFieldOffsetInCompiledBlock()Get the field offset in the compiled byte-code block.- Returns:
- the field offset in the byte-code block
-
equals
-
hashCode
public int hashCode() -
toString
-