|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface DocFactory
CtDocBlock以降の要素を生成するファクトリ。
| メソッドの詳細 |
|---|
CtJavadoc newJavadoc()
CtJavadoc).
CtDocBlock newDocBlock(String tag)
CtDocBlock).
tag - tag name, or null if synopsis block
CtDocArrayType newDocArrayType(CtDocType componentType)
CtDocArrayType).
componentType - component type
CtDocBasicType newDocBasicType(TypeKind kind)
CtDocBasicType).
kind - Kind of the type
CtDocNamedType newDocNamedType(CtDocName name)
CtDocNamedType).
name - name of the type
CtDocField newDocField(CtDocNamedType declaring,
CtDocSimpleName name)
CtDocField).
declaring - (nullable)name - name
CtDocMethod newDocMethod(CtDocNamedType declaring,
CtDocSimpleName name,
List<? extends CtDocMethodParameter> params)
CtDocMethod).
declaring - (nullable)name - nameparams - parameters
CtDocMethodParameter newDocMethodParameter(CtDocType type,
CtDocSimpleName name)
CtDocMethodParameter).
type - type of this parametername - name (nullable)
CtDocMethodParameter newDocMethodParameter(CtDocType type,
CtDocSimpleName name,
boolean varargs)
CtDocMethodParameter).
type - Type of this parametername - name (nullable)varargs - If true, parameter has variable arity
CtDocSimpleName newDocSimpleName(String identifier)
CtDocSimpleName).
identifier - Identifier of this name
CtDocQualifiedName newDocQualifiedName(CtDocName qualifier,
CtDocSimpleName simpleName)
CtDocQualifiedName).
qualifier - qualifier of this namesimpleName - the last name
CtDocText newDocText(String content)
CtDocText).
content - text
CtJavadoc parseJavadoc(String text)
text - Javadocを構成する文字列
NullPointerException - 引数にnullが含まれていた場合
IllegalArgumentException - 引数がJavadocを構成しない場合CtDocBlock parseDocBlock(String text)
text - Javadocに含まれるブロックを構成する文字列
NullPointerException - 引数にnullが含まれていた場合
IllegalArgumentException - 引数がJavadocに含まれるブロックを構成しない場合DocFactory borrow()
Tool の記述:
Tool 内の borrow
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||