Uses of Class
com.github.javaparser.ast.expr.SimpleName
Packages that use SimpleName
Package
Description
-
Uses of SimpleName in com.github.javaparser
Fields in com.github.javaparser with type parameters of type SimpleNameMethods in com.github.javaparser that return SimpleNameModifier and TypeMethodDescriptionstatic SimpleName
StaticJavaParser.parseSimpleName(String name)
Parses a simple name (one that can NOT have "."s in it) and returns it as a SimpleName.Methods in com.github.javaparser that return types with arguments of type SimpleNameModifier and TypeMethodDescriptionJavaParser.parseSimpleName(String name)
Parses a simple name (one that can NOT have "."s in it) and returns it as a SimpleName. -
Uses of SimpleName in com.github.javaparser.ast.body
Methods in com.github.javaparser.ast.body that return SimpleNameModifier and TypeMethodDescriptionAnnotationMemberDeclaration.getName()
CallableDeclaration.getName()
CompactConstructorDeclaration.getName()
EnumConstantDeclaration.getName()
Parameter.getName()
TypeDeclaration.getName()
VariableDeclarator.getName()
Methods in com.github.javaparser.ast.body with parameters of type SimpleNameModifier and TypeMethodDescriptionAnnotationMemberDeclaration.setName(SimpleName name)
CallableDeclaration.setName(SimpleName name)
CompactConstructorDeclaration.setName(SimpleName name)
ConstructorDeclaration.setName(SimpleName name)
EnumConstantDeclaration.setName(SimpleName name)
MethodDeclaration.setName(SimpleName name)
Parameter.setName(SimpleName name)
TypeDeclaration.setName(SimpleName name)
VariableDeclarator.setName(SimpleName name)
Constructors in com.github.javaparser.ast.body with parameters of type SimpleNameModifierConstructorDescriptionAnnotationDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members)
AnnotationDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.AnnotationMemberDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, SimpleName name, Expression defaultValue)
AnnotationMemberDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, SimpleName name, Expression defaultValue)
This constructor is used by the parser and is considered private.CallableDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, ReceiverParameter receiverParameter)
This constructor is used by the parser and is considered private.ClassOrInterfaceDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, boolean isInterface, SimpleName name, NodeList<TypeParameter> typeParameters, NodeList<ClassOrInterfaceType> extendedTypes, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<BodyDeclaration<?>> members)
ClassOrInterfaceDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, boolean isInterface, SimpleName name, NodeList<TypeParameter> typeParameters, NodeList<ClassOrInterfaceType> extendedTypes, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.CompactConstructorDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<ReferenceType> thrownExceptions, BlockStmt body)
CompactConstructorDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<ReferenceType> thrownExceptions, BlockStmt body)
This constructor is used by the parser and is considered private.ConstructorDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body)
ConstructorDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body, ReceiverParameter receiverParameter)
ConstructorDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body, ReceiverParameter receiverParameter)
This constructor is used by the parser and is considered private.EnumConstantDeclaration(NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<Expression> arguments, NodeList<BodyDeclaration<?>> classBody)
EnumConstantDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<Expression> arguments, NodeList<BodyDeclaration<?>> classBody)
This constructor is used by the parser and is considered private.EnumDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<EnumConstantDeclaration> entries, NodeList<BodyDeclaration<?>> members)
EnumDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<EnumConstantDeclaration> entries, NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.MethodDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, Type type, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body)
MethodDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, Type type, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body, ReceiverParameter receiverParameter)
MethodDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, Type type, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body, ReceiverParameter receiverParameter)
This constructor is used by the parser and is considered private.Parameter(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, boolean isVarArgs, NodeList<AnnotationExpr> varArgsAnnotations, SimpleName name)
Parameter(NodeList<Modifier> modifiers, Type type, SimpleName name)
Parameter(Type type, SimpleName name)
Parameter(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, boolean isVarArgs, NodeList<AnnotationExpr> varArgsAnnotations, SimpleName name)
This constructor is used by the parser and is considered private.RecordDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<Parameter> parameters, NodeList<TypeParameter> typeParameters, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<BodyDeclaration<?>> members, ReceiverParameter receiverParameter)
RecordDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<Parameter> parameters, NodeList<TypeParameter> typeParameters, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<BodyDeclaration<?>> members, ReceiverParameter receiverParameter)
This constructor is used by the parser and is considered private.TypeDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members)
TypeDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.VariableDeclarator(Type type, SimpleName name)
VariableDeclarator(Type type, SimpleName name, Expression initializer)
Defines the declaration of a variable.VariableDeclarator(TokenRange tokenRange, Type type, SimpleName name, Expression initializer)
This constructor is used by the parser and is considered private. -
Uses of SimpleName in com.github.javaparser.ast.expr
Methods in com.github.javaparser.ast.expr that return SimpleNameModifier and TypeMethodDescriptionSimpleName.clone()
FieldAccessExpr.getName()
MemberValuePair.getName()
MethodCallExpr.getName()
NameExpr.getName()
PatternExpr.getName()
SimpleName.setIdentifier(String identifier)
Methods in com.github.javaparser.ast.expr that return types with arguments of type SimpleNameModifier and TypeMethodDescriptionInstanceOfExpr.getName()
Helper method which, if this is an expression with a pattern, returns the identifier/name.Methods in com.github.javaparser.ast.expr with parameters of type SimpleNameModifier and TypeMethodDescriptionFieldAccessExpr.setName(SimpleName name)
MemberValuePair.setName(SimpleName name)
MethodCallExpr.setName(SimpleName name)
NameExpr.setName(SimpleName name)
PatternExpr.setName(SimpleName name)
Constructors in com.github.javaparser.ast.expr with parameters of type SimpleNameModifierConstructorDescriptionFieldAccessExpr(Expression scope, NodeList<Type> typeArguments, SimpleName name)
FieldAccessExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, SimpleName name)
This constructor is used by the parser and is considered private.MemberValuePair(SimpleName name, Expression value)
MemberValuePair(TokenRange tokenRange, SimpleName name, Expression value)
This constructor is used by the parser and is considered private.MethodCallExpr(Expression scope, SimpleName name)
MethodCallExpr(Expression scope, SimpleName name, NodeList<Expression> arguments)
MethodCallExpr(Expression scope, NodeList<Type> typeArguments, SimpleName name, NodeList<Expression> arguments)
MethodCallExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, SimpleName name, NodeList<Expression> arguments)
This constructor is used by the parser and is considered private.NameExpr(SimpleName name)
NameExpr(TokenRange tokenRange, SimpleName name)
This constructor is used by the parser and is considered private.PatternExpr(ReferenceType type, SimpleName name)
PatternExpr(TokenRange tokenRange, ReferenceType type, SimpleName name)
This constructor is used by the parser and is considered private. -
Uses of SimpleName in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return SimpleNameMethods in com.github.javaparser.ast.nodeTypes that return types with arguments of type SimpleNameMethods in com.github.javaparser.ast.nodeTypes with parameters of type SimpleNameModifier and TypeMethodDescriptionNodeWithOptionalLabel.setLabel(SimpleName label)
NodeWithSimpleName.setName(SimpleName name)
-
Uses of SimpleName in com.github.javaparser.ast.stmt
Methods in com.github.javaparser.ast.stmt that return SimpleNameMethods in com.github.javaparser.ast.stmt that return types with arguments of type SimpleNameMethods in com.github.javaparser.ast.stmt with parameters of type SimpleNameModifier and TypeMethodDescriptionBreakStmt.setLabel(SimpleName label)
Sets the labelContinueStmt.setLabel(SimpleName label)
Sets the labelLabeledStmt.setLabel(SimpleName label)
Constructors in com.github.javaparser.ast.stmt with parameters of type SimpleNameModifierConstructorDescriptionBreakStmt(SimpleName label)
BreakStmt(TokenRange tokenRange, SimpleName label)
This constructor is used by the parser and is considered private.CatchClause(NodeList<Modifier> exceptModifier, NodeList<AnnotationExpr> exceptAnnotations, ClassOrInterfaceType exceptType, SimpleName exceptName, BlockStmt body)
ContinueStmt(SimpleName label)
ContinueStmt(TokenRange tokenRange, SimpleName label)
This constructor is used by the parser and is considered private.LabeledStmt(SimpleName label, Statement statement)
LabeledStmt(TokenRange tokenRange, SimpleName label, Statement statement)
This constructor is used by the parser and is considered private. -
Uses of SimpleName in com.github.javaparser.ast.type
Methods in com.github.javaparser.ast.type that return SimpleNameModifier and TypeMethodDescriptionClassOrInterfaceType.getName()
TypeParameter.getName()
Return the name of the paramenter.Methods in com.github.javaparser.ast.type with parameters of type SimpleNameModifier and TypeMethodDescriptionClassOrInterfaceType.setName(SimpleName name)
TypeParameter.setName(SimpleName name)
Constructors in com.github.javaparser.ast.type with parameters of type SimpleNameModifierConstructorDescriptionClassOrInterfaceType(ClassOrInterfaceType scope, SimpleName name, NodeList<Type> typeArguments)
ClassOrInterfaceType(ClassOrInterfaceType scope, SimpleName name, NodeList<Type> typeArguments, NodeList<AnnotationExpr> annotations)
ClassOrInterfaceType(TokenRange tokenRange, ClassOrInterfaceType scope, SimpleName name, NodeList<Type> typeArguments, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.TypeParameter(SimpleName name, NodeList<ClassOrInterfaceType> typeBound, NodeList<AnnotationExpr> annotations)
TypeParameter(TokenRange tokenRange, SimpleName name, NodeList<ClassOrInterfaceType> typeBound, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private. -
Uses of SimpleName in com.github.javaparser.ast.validator
Methods in com.github.javaparser.ast.validator with parameters of type SimpleNameModifier and TypeMethodDescriptionvoid
ReservedKeywordValidator.visit(SimpleName n, ProblemReporter arg)
-
Uses of SimpleName in com.github.javaparser.ast.validator.language_level_validations.chunks
Methods in com.github.javaparser.ast.validator.language_level_validations.chunks with parameters of type SimpleNameModifier and TypeMethodDescriptionvoid
UnderscoreKeywordValidator.visit(SimpleName n, ProblemReporter arg)
-
Uses of SimpleName in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type SimpleNameModifier and TypeMethodDescriptionCloneVisitor.visit(SimpleName n, Object arg)
EqualsVisitor.visit(SimpleName n, Visitable arg)
GenericListVisitorAdapter.visit(SimpleName n, A arg)
GenericVisitor.visit(SimpleName n, A arg)
GenericVisitorAdapter.visit(SimpleName n, A arg)
GenericVisitorWithDefaults.visit(SimpleName n, A arg)
HashCodeVisitor.visit(SimpleName n, Void arg)
ModifierVisitor.visit(SimpleName n, A arg)
NoCommentEqualsVisitor.visit(SimpleName n, Visitable arg)
NoCommentHashCodeVisitor.visit(SimpleName n, Void arg)
ObjectIdentityEqualsVisitor.visit(SimpleName n, Visitable arg)
ObjectIdentityHashCodeVisitor.visit(SimpleName n, Void arg)
void
VoidVisitor.visit(SimpleName n, A arg)
void
VoidVisitorAdapter.visit(SimpleName n, A arg)
void
VoidVisitorWithDefaults.visit(SimpleName n, A arg)
-
Uses of SimpleName in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type SimpleNameModifier and TypeMethodDescriptionvoid
DefaultPrettyPrinterVisitor.visit(SimpleName n, Void arg)
void
PrettyPrintVisitor.visit(SimpleName n, Void arg)
Deprecated.