Uses of Class
com.github.javaparser.ast.body.Parameter
Packages that use Parameter
Package
Description
Implementation of model based on JavaParser.
-
Uses of Parameter in com.github.javaparser
Fields in com.github.javaparser with type parameters of type ParameterMethods in com.github.javaparser that return ParameterModifier and TypeMethodDescriptionfinal ParameterGeneratedJavaParser.Parameter()https://docs.oracle.com/javase/specs/jls/se15/html/jls-8.html#jls-8.4.1final ParameterGeneratedJavaParser.ParameterParseStart()JavaParserAdapter.parseParameter(String parameter) static ParameterStaticJavaParser.parseParameter(String parameter) Parses a single parameter (a type and a name) and returns it as a Parameter.Methods in com.github.javaparser that return types with arguments of type ParameterModifier and TypeMethodDescriptionGeneratedJavaParser.InferredLambdaParameters()Note: Similar, but not identical to,FormalParameter.GeneratedJavaParser.LambdaParameters()Note: Similar, but not identical to,FormalParameter.final Pair<NodeList<Parameter>, ReceiverParameter> GeneratedJavaParser.Parameters()The JLS refers to parameters asFormalParameter.JavaParser.parseParameter(String parameter) Parses a single parameter (a type and a name) and returns it as a Parameter. -
Uses of Parameter in com.github.javaparser.ast.body
Classes in com.github.javaparser.ast.body that implement interfaces with type arguments of type ParameterModifier and TypeClassDescriptionclassThe parameters to a method or lambda.classThe parameters to a method or lambda.classThe parameters to a method or lambda.classThe parameters to a method or lambda.Fields in com.github.javaparser.ast.body with type parameters of type ParameterMethods in com.github.javaparser.ast.body that return ParameterModifier and TypeMethodDescriptionParameter.clone()Parameter.setAnnotations(NodeList<AnnotationExpr> annotations) Parameter.setModifiers(NodeList<Modifier> modifiers) Parameter.setName(SimpleName name) Parameter.setVarArgs(boolean isVarArgs) Parameter.setVarArgsAnnotations(NodeList<AnnotationExpr> varArgsAnnotations) Methods in com.github.javaparser.ast.body that return types with arguments of type ParameterModifier and TypeMethodDescriptionCallableDeclaration.getParameters()RecordDeclaration.getParameters()Type declarations do not normally have parameters - e.g.Methods in com.github.javaparser.ast.body with parameters of type ParameterModifier and TypeMethodDescriptionprivate TypeCallableDeclaration.getTypeWithVarargsAsArray(Parameter p) Method parameters in com.github.javaparser.ast.body with type arguments of type ParameterModifier and TypeMethodDescriptionCallableDeclaration.setParameters(NodeList<Parameter> parameters) ConstructorDeclaration.setParameters(NodeList<Parameter> parameters) MethodDeclaration.setParameters(NodeList<Parameter> parameters) RecordDeclaration.setParameters(NodeList<Parameter> parameters) -
Uses of Parameter in com.github.javaparser.ast.expr
Fields in com.github.javaparser.ast.expr with type parameters of type ParameterMethods in com.github.javaparser.ast.expr that return types with arguments of type ParameterMethod parameters in com.github.javaparser.ast.expr with type arguments of type ParameterConstructors in com.github.javaparser.ast.expr with parameters of type ParameterModifierConstructorDescriptionLambdaExpr(Parameter parameter, Expression body) Creates a single parameter lambda expression.LambdaExpr(Parameter parameter, BlockStmt body) Creates a single parameter lambda expression.Constructor parameters in com.github.javaparser.ast.expr with type arguments of type ParameterModifierConstructorDescriptionLambdaExpr(NodeList<Parameter> parameters, Expression body) Creates a zero or multi-parameter lambda expression with its parameters wrapped in ( ).LambdaExpr(NodeList<Parameter> parameters, BlockStmt body) Creates a zero or multi-parameter lambda expression with its parameters wrapped in ( ).LambdaExpr(NodeList<Parameter> parameters, Statement body, boolean isEnclosingParameters) LambdaExpr(TokenRange tokenRange, NodeList<Parameter> parameters, Statement body, boolean isEnclosingParameters) This constructor is used by the parser and is considered private. -
Uses of Parameter in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return ParameterModifier and TypeMethodDescriptiondefault ParameterNodeWithParameters.addAndGetParameter(Parameter parameter) default ParameterNodeWithParameters.addAndGetParameter(Type type, String name) default ParameterNodeWithParameters.addAndGetParameter(Class<?> paramClass, String name) default ParameterNodeWithParameters.addAndGetParameter(String className, String name) Remember to import the class in the compilation unit yourselfdefault ParameterNodeWithParameters.getParameter(int i) Methods in com.github.javaparser.ast.nodeTypes that return types with arguments of type ParameterModifier and TypeMethodDescriptionNodeWithParameters.getParameterByName(String name) Try to find aParameterby its nameNodeWithParameters.getParameterByType(Class<?> type) Try to find aParameterby its typeNodeWithParameters.getParameterByType(String type) Try to find aParameterby its typeNodeWithParameters.getParameters()Methods in com.github.javaparser.ast.nodeTypes with parameters of type ParameterModifier and TypeMethodDescriptiondefault ParameterNodeWithParameters.addAndGetParameter(Parameter parameter) default NNodeWithParameters.addParameter(Parameter parameter) default NNodeWithParameters.setParameter(int i, Parameter parameter) Method parameters in com.github.javaparser.ast.nodeTypes with type arguments of type ParameterModifier and TypeMethodDescriptionNodeWithParameters.setParameters(NodeList<Parameter> parameters) -
Uses of Parameter in com.github.javaparser.ast.stmt
Fields in com.github.javaparser.ast.stmt declared as ParameterMethods in com.github.javaparser.ast.stmt that return ParameterModifier and TypeMethodDescriptionCatchClause.getParameter()Note that the type of the Parameter can be a UnionType.Methods in com.github.javaparser.ast.stmt with parameters of type ParameterConstructors in com.github.javaparser.ast.stmt with parameters of type ParameterModifierConstructorDescriptionCatchClause(Parameter parameter, BlockStmt body) CatchClause(TokenRange tokenRange, Parameter parameter, BlockStmt body) This constructor is used by the parser and is considered private. -
Uses of Parameter in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type ParameterModifier and TypeMethodDescriptionvoidvoidvoidvoid -
Uses of Parameter in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type Parameter -
Uses of Parameter in com.github.javaparser.resolution
Methods in com.github.javaparser.resolution that return types with arguments of type ParameterModifier and TypeMethodDescriptionContext.parameterDeclarationInScope(String name) Context.parametersExposedToChild(Node child) The parameters that are declared in this immediate context and made visible to a given child. -
Uses of Parameter in com.github.javaparser.symbolsolver
Methods in com.github.javaparser.symbolsolver with parameters of type ParameterModifier and TypeMethodDescriptionprivate Optional<ResolvedParameterDeclaration> JavaSymbolSolver.resolveParameterDeclaration(Parameter parameter) private Optional<ResolvedParameterDeclaration> JavaSymbolSolver.resolveParameterDeclaration(ResolvedMethodLikeDeclaration resolvedMethodLikeDeclaration, Parameter parameter) private Optional<ResolvedParameterDeclaration> JavaSymbolSolver.resolveParameterDeclaration(ResolvedReferenceTypeDeclaration resolvedReferenceTypeDeclaration, Parameter parameter) -
Uses of Parameter in com.github.javaparser.symbolsolver.javaparsermodel
Methods in com.github.javaparser.symbolsolver.javaparsermodel with parameters of type ParameterModifier and TypeMethodDescription -
Uses of Parameter in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Methods in com.github.javaparser.symbolsolver.javaparsermodel.contexts that return types with arguments of type ParameterModifier and TypeMethodDescriptionCatchClauseContext.parametersExposedToChild(Node child) ConstructorContext.parametersExposedToChild(Node child) LambdaExprContext.parametersExposedToChild(Node child) MethodContext.parametersExposedToChild(Node child) -
Uses of Parameter in com.github.javaparser.symbolsolver.javaparsermodel.declarations
Fields in com.github.javaparser.symbolsolver.javaparsermodel.declarations declared as ParameterModifier and TypeFieldDescriptionprivate ParameterJavaParserRecordDeclaration.ImplicitGetterMethod.correspondingParameterprivate final ParameterJavaParserParameterDeclaration.wrappedNodeMethods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return ParameterModifier and TypeMethodDescriptionJavaParserParameterDeclaration.getWrappedNode()Returns the JavaParser node associated with this JavaParserParameterDeclaration.Methods in com.github.javaparser.symbolsolver.javaparsermodel.declarations with parameters of type ParameterModifier and TypeMethodDescriptionstatic intJavaParserSymbolDeclaration.getParamPos(Parameter parameter) JavaParserSymbolDeclaration.parameter(Parameter parameter, TypeSolver typeSolver) Constructors in com.github.javaparser.symbolsolver.javaparsermodel.declarations with parameters of type ParameterModifierConstructorDescriptionImplicitGetterMethod(Parameter correspondingParameter, RecordDeclaration recordDeclaration, TypeSolver typeSolver) JavaParserParameterDeclaration(Parameter wrappedNode, TypeSolver typeSolver) -
Uses of Parameter in com.github.javaparser.symbolsolver.javaparsermodel.declarators
Subclasses with type arguments of type Parameter in com.github.javaparser.symbolsolver.javaparsermodel.declaratorsConstructors in com.github.javaparser.symbolsolver.javaparsermodel.declarators with parameters of type ParameterModifierConstructorDescriptionParameterSymbolDeclarator(Parameter wrappedNode, TypeSolver typeSolver)