Uses of Class
com.github.javaparser.ast.expr.SimpleName
Package
Description
-
Uses of SimpleName in com.github.javaparser
Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionAnnotationMemberDeclaration.getName()
CallableDeclaration.getName()
CompactConstructorDeclaration.getName()
EnumConstantDeclaration.getName()
Parameter.getName()
TypeDeclaration.getName()
VariableDeclarator.getName()
Modifier 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)
ModifierConstructorDescriptionAnnotationDeclaration(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
Modifier and TypeMethodDescriptionSimpleName.clone()
FieldAccessExpr.getName()
MemberValuePair.getName()
MethodCallExpr.getName()
NameExpr.getName()
PatternExpr.getName()
SimpleName.setIdentifier(String identifier)
Modifier and TypeMethodDescriptionInstanceOfExpr.getName()
Helper method which, if this is an expression with a pattern, returns the identifier/name.Modifier and TypeMethodDescriptionFieldAccessExpr.setName(SimpleName name)
MemberValuePair.setName(SimpleName name)
MethodCallExpr.setName(SimpleName name)
NameExpr.setName(SimpleName name)
PatternExpr.setName(SimpleName name)
ModifierConstructorDescriptionFieldAccessExpr(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
Modifier and TypeMethodDescriptionNodeWithOptionalLabel.setLabel(SimpleName label)
NodeWithSimpleName.setName(SimpleName name)
-
Uses of SimpleName in com.github.javaparser.ast.stmt
Modifier and TypeMethodDescriptionBreakStmt.setLabel(SimpleName label)
Sets the labelContinueStmt.setLabel(SimpleName label)
Sets the labelLabeledStmt.setLabel(SimpleName label)
ModifierConstructorDescriptionBreakStmt(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
Modifier and TypeMethodDescriptionClassOrInterfaceType.getName()
TypeParameter.getName()
Return the name of the paramenter.Modifier and TypeMethodDescriptionClassOrInterfaceType.setName(SimpleName name)
TypeParameter.setName(SimpleName name)
ModifierConstructorDescriptionClassOrInterfaceType(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
Modifier and TypeMethodDescriptionvoid
RecordAsTypeIdentifierNotAllowed.visit(SimpleName n, ProblemReporter arg)
void
ReservedKeywordValidator.visit(SimpleName n, ProblemReporter arg)
-
Uses of SimpleName in com.github.javaparser.ast.validator.language_level_validations.chunks
Modifier and TypeMethodDescriptionvoid
UnderscoreKeywordValidator.visit(SimpleName n, ProblemReporter arg)
-
Uses of SimpleName in com.github.javaparser.ast.visitor
Modifier 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
Modifier and TypeMethodDescriptionvoid
DefaultPrettyPrinterVisitor.visit(SimpleName n, Void arg)
void
PrettyPrintVisitor.visit(SimpleName n, Void arg)
Deprecated.