Uses of Class
com.github.javaparser.ast.body.ConstructorDeclaration
-
-
Uses of ConstructorDeclaration in com.github.javaparser.ast.body
Methods in com.github.javaparser.ast.body that return ConstructorDeclaration Modifier and Type Method Description ConstructorDeclaration
BodyDeclaration. asConstructorDeclaration()
ConstructorDeclaration
ConstructorDeclaration. asConstructorDeclaration()
ConstructorDeclaration
ConstructorDeclaration. clone()
ConstructorDeclaration
ConstructorDeclaration. setBody(BlockStmt body)
Sets the bodyConstructorDeclaration
ConstructorDeclaration. setModifiers(EnumSet<Modifier> modifiers)
ConstructorDeclaration
ConstructorDeclaration. setName(SimpleName name)
ConstructorDeclaration
ConstructorDeclaration. setParameters(NodeList<Parameter> parameters)
ConstructorDeclaration
ConstructorDeclaration. setThrownExceptions(NodeList<ReferenceType> thrownExceptions)
ConstructorDeclaration
ConstructorDeclaration. setTypeParameters(NodeList<TypeParameter> typeParameters)
Methods in com.github.javaparser.ast.body that return types with arguments of type ConstructorDeclaration Modifier and Type Method Description Optional<ConstructorDeclaration>
BodyDeclaration. toConstructorDeclaration()
Optional<ConstructorDeclaration>
ConstructorDeclaration. toConstructorDeclaration()
Method parameters in com.github.javaparser.ast.body with type arguments of type ConstructorDeclaration Modifier and Type Method Description void
BodyDeclaration. ifConstructorDeclaration(Consumer<ConstructorDeclaration> action)
void
ConstructorDeclaration. ifConstructorDeclaration(Consumer<ConstructorDeclaration> action)
-
Uses of ConstructorDeclaration in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return ConstructorDeclaration Modifier and Type Method Description default ConstructorDeclaration
NodeWithConstructors. addConstructor(Modifier... modifiers)
Adds a constructor to thisMethods in com.github.javaparser.ast.nodeTypes that return types with arguments of type ConstructorDeclaration Modifier and Type Method Description default Optional<ConstructorDeclaration>
NodeWithConstructors. getConstructorByParameterTypes(Class<?>... paramTypes)
Try to find aConstructorDeclaration
by its parameters typesdefault Optional<ConstructorDeclaration>
NodeWithConstructors. getConstructorByParameterTypes(String... paramTypes)
Try to find aConstructorDeclaration
by its parameters typesdefault List<ConstructorDeclaration>
NodeWithConstructors. getConstructors()
Find all constructors for this class.default Optional<ConstructorDeclaration>
NodeWithConstructors. getDefaultConstructor()
Try to find aConstructorDeclaration
with no parameters by its name -
Uses of ConstructorDeclaration in com.github.javaparser.ast.validator.chunks
Methods in com.github.javaparser.ast.validator.chunks with parameters of type ConstructorDeclaration Modifier and Type Method Description void
ModifierValidator. visit(ConstructorDeclaration n, ProblemReporter reporter)
-
Uses of ConstructorDeclaration in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type ConstructorDeclaration Modifier and Type Method Description Visitable
CloneVisitor. visit(ConstructorDeclaration n, Object arg)
Boolean
EqualsVisitor. visit(ConstructorDeclaration n, Visitable arg)
List<R>
GenericListVisitorAdapter. visit(ConstructorDeclaration n, A arg)
R
GenericVisitor. visit(ConstructorDeclaration n, A arg)
R
GenericVisitorAdapter. visit(ConstructorDeclaration n, A arg)
R
GenericVisitorWithDefaults. visit(ConstructorDeclaration n, A arg)
Integer
HashCodeVisitor. visit(ConstructorDeclaration n, Void arg)
Visitable
ModifierVisitor. visit(ConstructorDeclaration n, A arg)
Boolean
NoCommentEqualsVisitor. visit(ConstructorDeclaration n, Visitable arg)
Integer
NoCommentHashCodeVisitor. visit(ConstructorDeclaration n, Void arg)
Boolean
ObjectIdentityEqualsVisitor. visit(ConstructorDeclaration n, Visitable arg)
Integer
ObjectIdentityHashCodeVisitor. visit(ConstructorDeclaration n, Void arg)
void
VoidVisitor. visit(ConstructorDeclaration n, A arg)
void
VoidVisitorAdapter. visit(ConstructorDeclaration n, A arg)
void
VoidVisitorWithDefaults. visit(ConstructorDeclaration n, A arg)
-
Uses of ConstructorDeclaration in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type ConstructorDeclaration Modifier and Type Method Description void
PrettyPrintVisitor. visit(ConstructorDeclaration n, Void arg)
-