public interface DescrBuilder<P extends DescrBuilder<?,?>,T extends BaseDescr>
Modifier and Type | Method and Description |
---|---|
P |
end()
Returns the parent container of this descr builder.
|
DescrBuilder<P,T> |
endCharacter(int offset)
Sets the offset of the starting character of the
corresponding construction in the source file.
|
DescrBuilder<P,T> |
endLocation(int line,
int column)
Sets the end location of the corresponding construction
in the source file.
|
T |
getDescr()
Returns the descriptor generated by this builder.
|
DescrBuilder<P,T> |
startCharacter(int offset)
Sets the offset of the starting character of the
corresponding construction in the source file.
|
DescrBuilder<P,T> |
startLocation(int line,
int column)
Sets the start location of the corresponding construction
in the source file.
|
DescrBuilder<P,T> startLocation(int line, int column)
line
- column
- DescrBuilder<P,T> endLocation(int line, int column)
line
- column
- DescrBuilder<P,T> startCharacter(int offset)
offset
- the offset of the first character of
this construction inside the source file, relative
to the start.DescrBuilder<P,T> endCharacter(int offset)
offset
- the offset of the first character of
this construction inside the source file, relative
to the start.T getDescr()
P end()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.