public final class Nodes
extends java.lang.Object
| Constructor and Description |
|---|
Nodes() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationNodeBuilder |
annotation(java.lang.Class annotationClazz)
Creates an instance of
AnnotationNodeBuilder |
ClassNodeBuilder |
clazz(java.lang.Class type)
Creates an instance of
ClassNodeBuilder |
ClassNodeBuilder |
clazz(java.lang.String qualifiedName)
Creates an instance of
ClassNodeBuilder |
ClassNodeBuilder |
clazzWithGenerics(java.lang.Class type,
GenericsType... generics)
Creates an instance of
ClassNodeBuilder |
ConstructorNodeBuilder |
constructor(int modifiers)
Creates an instance of
ConstructorNodeBuilder |
GenericsTypeBuilder |
generics(ClassNode classNode)
Creates an instance of
GenericsTypeBuilder |
MethodNodeBuilder |
method(java.lang.String methodName)
Creates an instance of
MethodNodeBuilder |
ParameterNodeBuilder |
param(java.lang.String paramName)
Creates an instance of
ParameterNodeBuilder. |
PropertyNodeBuilder |
property(java.lang.String propertyName)
Creates an instnace of
PropertyNodeBuilder. |
public AnnotationNodeBuilder annotation(java.lang.Class annotationClazz)
AnnotationNodeBuilderannotationClazz - the annotation typeAnnotationNodeBuilderpublic ClassNodeBuilder clazz(java.lang.Class type)
ClassNodeBuildertype - the class typeClassNodeBuilderpublic ClassNodeBuilder clazz(java.lang.String qualifiedName)
ClassNodeBuilderqualifiedName - the class full qualified nameClassNodeBuilderpublic ClassNodeBuilder clazzWithGenerics(java.lang.Class type, GenericsType... generics)
ClassNodeBuildertype - the class typegenerics - related genericsClassNodeBuilderpublic GenericsTypeBuilder generics(ClassNode classNode)
GenericsTypeBuilderclassNode - the type of the generic typeGenericsTypeBuilderpublic ConstructorNodeBuilder constructor(int modifiers)
ConstructorNodeBuildermodifiers - set of modifiers for the constructor about to buildConstructorNodeBuilderpublic MethodNodeBuilder method(java.lang.String methodName)
MethodNodeBuildermethodName - name of the method to createMethodNodeBuilderpublic ParameterNodeBuilder param(java.lang.String paramName)
ParameterNodeBuilder. This
builder can create instances of type ParameterparamName - of the parameterParameterNodeBuilderpublic PropertyNodeBuilder property(java.lang.String propertyName)
PropertyNodeBuilder. This
builder can create instances of type PropertyNodepropertyName - the name of the propertyPropertyNodeBuilder