Class TypeSection.FieldDefinition
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.documentation.comment.TypeSection.FieldDefinition
-
- Enclosing class:
- TypeSection
public static class TypeSection.FieldDefinition extends Object
Class represents extra fields inTypeSection.TypeDefinition
and parameter definition inBslDocumentationComment.ParametersSection
-
-
Constructor Summary
Constructors Constructor Description FieldDefinition()
ConstructorFieldDefinition(String name)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BslDocumentationComment.Description
getDescription()
GetsBslDocumentationComment.Description
of the field, description is text writed before type section of the fieldint
getLineNumber()
Gets line number of starting field definitionString
getName()
Gets name of the fieldint
getNameOffset()
Gets offset on the line of begining field nameList<TypeSection>
getTypeSections()
GetsTypeSection
s of the fieldvoid
setLineNumber(int lineNumber)
Sets line number of starting field definitionvoid
setName(String name)
Sets name of the fieldvoid
setNameOffset(int offset)
Sets offset on the line of begining field name
-
-
-
Constructor Detail
-
FieldDefinition
public FieldDefinition()
Constructor
-
FieldDefinition
public FieldDefinition(String name)
Constructor. Creates field with concrete name- Parameters:
name
- name of the creating field, cannot benull
-
-
Method Detail
-
getName
public String getName()
Gets name of the field- Returns:
- name of the field, never
null
-
setName
public void setName(String name)
Sets name of the field- Parameters:
name
- name of the field, cannot benull
-
getDescription
public BslDocumentationComment.Description getDescription()
GetsBslDocumentationComment.Description
of the field, description is text writed before type section of the field- Returns:
BslDocumentationComment.Description
of the field, cannot benull
-
getTypeSections
public List<TypeSection> getTypeSections()
GetsTypeSection
s of the field- Returns:
TypeSection
s of the field, nevernull
-
setNameOffset
public void setNameOffset(int offset)
Sets offset on the line of begining field name- Parameters:
offset
- on the line of begining field name
-
getNameOffset
public int getNameOffset()
Gets offset on the line of begining field name- Returns:
- offset on the line of begining field name
-
setLineNumber
public void setLineNumber(int lineNumber)
Sets line number of starting field definition- Parameters:
lineNumber
- line number of starting field definition, line number compute from the start comment section
-
getLineNumber
public int getLineNumber()
Gets line number of starting field definition- Returns:
- lineNumber line number of starting field definition, line number compute from the start comment section
-
-