Uses of Class
com.github.javaparser.ast.body.MethodDeclaration
-
-
Uses of MethodDeclaration in com.github.javaparser.ast.body
Methods in com.github.javaparser.ast.body that return MethodDeclaration Modifier and Type Method Description MethodDeclarationBodyDeclaration. asMethodDeclaration()MethodDeclarationMethodDeclaration. asMethodDeclaration()MethodDeclarationMethodDeclaration. clone()MethodDeclarationFieldDeclaration. createGetter()Create a getter for this field, will only work if this field declares only 1 identifier and if this field is already added to a ClassOrInterfaceDeclarationMethodDeclarationFieldDeclaration. createSetter()Create a setter for this field, will only work if this field declares only 1 identifier and if this field is already added to a ClassOrInterfaceDeclarationMethodDeclarationMethodDeclaration. removeBody()MethodDeclarationMethodDeclaration. setBody(BlockStmt body)Sets the bodyMethodDeclarationMethodDeclaration. setDefault(boolean set)MethodDeclarationMethodDeclaration. setModifiers(NodeList<Modifier> modifiers)MethodDeclarationMethodDeclaration. setName(SimpleName name)MethodDeclarationMethodDeclaration. setNative(boolean set)MethodDeclarationMethodDeclaration. setParameters(NodeList<Parameter> parameters)MethodDeclarationMethodDeclaration. setSynchronized(boolean set)MethodDeclarationMethodDeclaration. setThrownExceptions(NodeList<ReferenceType> thrownExceptions)MethodDeclarationMethodDeclaration. setType(Type type)MethodDeclarationMethodDeclaration. setTypeParameters(NodeList<TypeParameter> typeParameters)Methods in com.github.javaparser.ast.body that return types with arguments of type MethodDeclaration Modifier and Type Method Description Optional<MethodDeclaration>BodyDeclaration. toMethodDeclaration()Optional<MethodDeclaration>MethodDeclaration. toMethodDeclaration()Method parameters in com.github.javaparser.ast.body with type arguments of type MethodDeclaration Modifier and Type Method Description voidBodyDeclaration. ifMethodDeclaration(Consumer<MethodDeclaration> action)voidMethodDeclaration. ifMethodDeclaration(Consumer<MethodDeclaration> action) -
Uses of MethodDeclaration in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return MethodDeclaration Modifier and Type Method Description default MethodDeclarationNodeWithMembers. addMethod(String methodName, Modifier.Keyword... modifiers)Adds a methods with void return by default to this.Methods in com.github.javaparser.ast.nodeTypes that return types with arguments of type MethodDeclaration Modifier and Type Method Description default List<MethodDeclaration>NodeWithMembers. getMethods()Find all methods in the members of this node.default List<MethodDeclaration>NodeWithMembers. getMethodsByName(String name)Try to find aMethodDeclarationby its namedefault List<MethodDeclaration>NodeWithMembers. getMethodsByParameterTypes(Class<?>... paramTypes)Try to find aMethodDeclarationby its parameters typesdefault List<MethodDeclaration>NodeWithMembers. getMethodsByParameterTypes(String... paramTypes)Try to find aMethodDeclarationby its parameters typesdefault List<MethodDeclaration>NodeWithMembers. getMethodsBySignature(String name, String... paramTypes)Try to findMethodDeclarations by their name and parameters types -
Uses of MethodDeclaration in com.github.javaparser.ast.validator.chunks
Methods in com.github.javaparser.ast.validator.chunks with parameters of type MethodDeclaration Modifier and Type Method Description voidModifierValidator. visit(MethodDeclaration n, ProblemReporter reporter) -
Uses of MethodDeclaration in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type MethodDeclaration Modifier and Type Method Description VisitableCloneVisitor. visit(MethodDeclaration n, Object arg)BooleanEqualsVisitor. visit(MethodDeclaration n, Visitable arg)List<R>GenericListVisitorAdapter. visit(MethodDeclaration n, A arg)RGenericVisitor. visit(MethodDeclaration n, A arg)RGenericVisitorAdapter. visit(MethodDeclaration n, A arg)RGenericVisitorWithDefaults. visit(MethodDeclaration n, A arg)IntegerHashCodeVisitor. visit(MethodDeclaration n, Void arg)VisitableModifierVisitor. visit(MethodDeclaration n, A arg)BooleanNoCommentEqualsVisitor. visit(MethodDeclaration n, Visitable arg)IntegerNoCommentHashCodeVisitor. visit(MethodDeclaration n, Void arg)BooleanObjectIdentityEqualsVisitor. visit(MethodDeclaration n, Visitable arg)IntegerObjectIdentityHashCodeVisitor. visit(MethodDeclaration n, Void arg)voidVoidVisitor. visit(MethodDeclaration n, A arg)voidVoidVisitorAdapter. visit(MethodDeclaration n, A arg)voidVoidVisitorWithDefaults. visit(MethodDeclaration n, A arg) -
Uses of MethodDeclaration in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type MethodDeclaration Modifier and Type Method Description voidPrettyPrintVisitor. visit(MethodDeclaration n, Void arg)
-