Package lib.reports.info
Class InfoBuilder
java.lang.Object
lib.reports.info.InfoBuilder
Builder Pattern used to create
MethodInfo
and FieldInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbeginLine
(int line) Set the beginning line of the InfoCreate aFieldInfoImpl
Create aMethodInfoImpl
endLine
(int line) Set the end line of the InfoSet the modifiers of the InfoSet the name of the InfoSet the full parent report,ClassReport
orInterfaceReport
Set the type of the Info
-
Constructor Details
-
InfoBuilder
public InfoBuilder()
-
-
Method Details
-
report
Set the full parent report,ClassReport
orInterfaceReport
- Parameters:
report
- the report- Returns:
- the builder
-
name
Set the name of the Info- Parameters:
name
- the name- Returns:
- the builder
-
beginLine
Set the beginning line of the Info- Parameters:
line
- the beginning line- Returns:
- the builder
-
endLine
Set the end line of the Info- Parameters:
line
- the end line- Returns:
- the builder
-
modifiers
Set the modifiers of the Info- Parameters:
modifiers
- the modifiers- Returns:
- the builder
-
type
Set the type of the Info- Parameters:
type
- the type- Returns:
- the builder
-
buildMethod
Create aMethodInfoImpl
- Returns:
- a
MethodInfo
-
buildField
Create aFieldInfoImpl
- Returns:
- a
FieldInfo
-