Uses of Class
com.github.javaparser.ast.expr.Name
Packages that use Name
Package
Description
Implementation of model based on JavaParser.
-
Uses of Name in com.github.javaparser
Fields in com.github.javaparser with type parameters of type NameMethods in com.github.javaparser that return NameModifier and TypeMethodDescriptionfinal Name
GeneratedJavaParser.Name()
ASimpleName
is just an identifier.final Name
GeneratedJavaParser.NameParseStart()
static Name
Parses a qualified name (one that can have "."s in it) and returns it as a Name.final Name
GeneratedJavaParser.ReceiverParameterId()
https://docs.oracle.com/javase/specs/jls/se15/html/jls-8.html#jls-8.4 https://docs.oracle.com/javase/specs/jls/se15/html/jls-8.html#jls-ReceiverParameter(package private) Name
GeneratedJavaParserBase.scopeToName
(Expression scope) Converts a NameExpr or a FieldAccessExpr scope to a Name.Methods in com.github.javaparser that return types with arguments of type NameModifier and TypeMethodDescriptionParses a qualified name (one that can have "."s in it) and returns it as a Name. -
Uses of Name in com.github.javaparser.ast
Fields in com.github.javaparser.ast declared as NameModifier and TypeFieldDescriptionprivate Name
ImportDeclaration.name
private Name
PackageDeclaration.name
Methods in com.github.javaparser.ast that return NameModifier and TypeMethodDescriptionImportDeclaration.getName()
Retrieves the name of the import (.* is not included.)PackageDeclaration.getName()
Return the name expression of the package.Methods in com.github.javaparser.ast that return types with arguments of type NameModifier and TypeMethodDescriptionCompilationUnit.getImportPackageName
(ImportDeclaration importDeclaration) Methods in com.github.javaparser.ast with parameters of type NameModifier and TypeMethodDescriptionSets the name of this package declaration.Constructors in com.github.javaparser.ast with parameters of type NameModifierConstructorDescriptionImportDeclaration
(Name name, boolean isStatic, boolean isAsterisk) ImportDeclaration
(TokenRange tokenRange, Name name, boolean isStatic, boolean isAsterisk) This constructor is used by the parser and is considered private.PackageDeclaration
(Name name) PackageDeclaration
(NodeList<AnnotationExpr> annotations, Name name) PackageDeclaration
(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Name name) This constructor is used by the parser and is considered private. -
Uses of Name in com.github.javaparser.ast.body
Fields in com.github.javaparser.ast.body declared as NameMethods in com.github.javaparser.ast.body that return NameMethods in com.github.javaparser.ast.body with parameters of type NameConstructors in com.github.javaparser.ast.body with parameters of type NameModifierConstructorDescriptionReceiverParameter
(NodeList<AnnotationExpr> annotations, Type type, Name name) ReceiverParameter
(Type type, Name name) ReceiverParameter
(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Type type, Name name) This constructor is used by the parser and is considered private. -
Uses of Name in com.github.javaparser.ast.expr
Fields in com.github.javaparser.ast.expr declared as NameModifier and TypeFieldDescriptionprotected Name
AnnotationExpr.name
private Name
Name.qualifier
private Name
SuperExpr.typeName
private Name
ThisExpr.typeName
Methods in com.github.javaparser.ast.expr that return NameModifier and TypeMethodDescriptionName.clone()
AnnotationExpr.getName()
Name.removeQualifier()
Name.setIdentifier
(String identifier) Name.setQualifier
(Name qualifier) Methods in com.github.javaparser.ast.expr that return types with arguments of type NameModifier and TypeMethodDescriptionName.getQualifier()
SuperExpr.getTypeName()
ThisExpr.getTypeName()
Methods in com.github.javaparser.ast.expr with parameters of type NameModifier and TypeMethodDescriptionName.setQualifier
(Name qualifier) SuperExpr.setTypeName
(Name typeName) ThisExpr.setTypeName
(Name typeName) Constructors in com.github.javaparser.ast.expr with parameters of type NameModifierConstructorDescriptionAnnotationExpr
(Name name) AnnotationExpr
(TokenRange tokenRange, Name name) This constructor is used by the parser and is considered private.MarkerAnnotationExpr
(Name name) MarkerAnnotationExpr
(TokenRange tokenRange, Name name) This constructor is used by the parser and is considered private.Name
(TokenRange tokenRange, Name qualifier, String identifier) This constructor is used by the parser and is considered private.NormalAnnotationExpr
(Name name, NodeList<MemberValuePair> pairs) NormalAnnotationExpr
(TokenRange tokenRange, Name name, NodeList<MemberValuePair> pairs) This constructor is used by the parser and is considered private.SingleMemberAnnotationExpr
(Name name, Expression memberValue) SingleMemberAnnotationExpr
(TokenRange tokenRange, Name name, Expression memberValue) This constructor is used by the parser and is considered private.SuperExpr
(TokenRange tokenRange, Name typeName) This constructor is used by the parser and is considered private.ThisExpr
(TokenRange tokenRange, Name typeName) This constructor is used by the parser and is considered private. -
Uses of Name in com.github.javaparser.ast.modules
Fields in com.github.javaparser.ast.modules declared as NameModifier and TypeFieldDescriptionprivate Name
ModuleDeclaration.name
private Name
ModuleExportsDirective.name
private Name
ModuleOpensDirective.name
private Name
ModuleProvidesDirective.name
private Name
ModuleRequiresDirective.name
private Name
ModuleUsesDirective.name
Fields in com.github.javaparser.ast.modules with type parameters of type NameModifier and TypeFieldDescriptionModuleExportsDirective.moduleNames
ModuleOpensDirective.moduleNames
ModuleProvidesDirective.with
Methods in com.github.javaparser.ast.modules that return NameModifier and TypeMethodDescriptionModuleDeclaration.getName()
ModuleExportsDirective.getName()
ModuleOpensDirective.getName()
ModuleProvidesDirective.getName()
ModuleRequiresDirective.getName()
ModuleUsesDirective.getName()
Methods in com.github.javaparser.ast.modules that return types with arguments of type NameModifier and TypeMethodDescriptionModuleExportsDirective.getModuleNames()
ModuleOpensDirective.getModuleNames()
ModuleProvidesDirective.getWith()
Methods in com.github.javaparser.ast.modules with parameters of type NameModifier and TypeMethodDescriptionMethod parameters in com.github.javaparser.ast.modules with type arguments of type NameModifier and TypeMethodDescriptionModuleExportsDirective.setModuleNames
(NodeList<Name> moduleNames) ModuleOpensDirective.setModuleNames
(NodeList<Name> moduleNames) Constructors in com.github.javaparser.ast.modules with parameters of type NameModifierConstructorDescriptionModuleDeclaration
(Name name, boolean isOpen) ModuleDeclaration
(NodeList<AnnotationExpr> annotations, Name name, boolean isOpen, NodeList<ModuleDirective> directives) ModuleDeclaration
(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Name name, boolean isOpen, NodeList<ModuleDirective> directives) This constructor is used by the parser and is considered private.ModuleExportsDirective
(Name name, NodeList<Name> moduleNames) ModuleExportsDirective
(TokenRange tokenRange, Name name, NodeList<Name> moduleNames) This constructor is used by the parser and is considered private.ModuleOpensDirective
(Name name, NodeList<Name> moduleNames) ModuleOpensDirective
(TokenRange tokenRange, Name name, NodeList<Name> moduleNames) This constructor is used by the parser and is considered private.ModuleProvidesDirective
(Name name, NodeList<Name> with) ModuleProvidesDirective
(TokenRange tokenRange, Name name, NodeList<Name> with) This constructor is used by the parser and is considered private.ModuleRequiresDirective
(NodeList<Modifier> modifiers, Name name) ModuleRequiresDirective
(TokenRange tokenRange, NodeList<Modifier> modifiers, Name name) This constructor is used by the parser and is considered private.ModuleUsesDirective
(Name name) ModuleUsesDirective
(TokenRange tokenRange, Name name) This constructor is used by the parser and is considered private.Constructor parameters in com.github.javaparser.ast.modules with type arguments of type NameModifierConstructorDescriptionModuleExportsDirective
(Name name, NodeList<Name> moduleNames) ModuleExportsDirective
(TokenRange tokenRange, Name name, NodeList<Name> moduleNames) This constructor is used by the parser and is considered private.ModuleOpensDirective
(Name name, NodeList<Name> moduleNames) ModuleOpensDirective
(TokenRange tokenRange, Name name, NodeList<Name> moduleNames) This constructor is used by the parser and is considered private.ModuleProvidesDirective
(Name name, NodeList<Name> with) ModuleProvidesDirective
(TokenRange tokenRange, Name name, NodeList<Name> with) This constructor is used by the parser and is considered private. -
Uses of Name in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return NameMethods in com.github.javaparser.ast.nodeTypes with parameters of type Name -
Uses of Name in com.github.javaparser.ast.validator
Methods in com.github.javaparser.ast.validator with parameters of type NameModifier and TypeMethodDescriptionvoid
RecordAsTypeIdentifierNotAllowed.visit
(Name n, ProblemReporter arg) void
ReservedKeywordValidator.visit
(Name n, ProblemReporter arg) -
Uses of Name 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 NameModifier and TypeMethodDescriptionvoid
UnderscoreKeywordValidator.visit
(Name n, ProblemReporter arg) -
Uses of Name in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type NameModifier and TypeMethodDescriptionvoid
void
void
void
-
Uses of Name in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type Name -
Uses of Name in com.github.javaparser.symbolsolver.javaparsermodel
Methods in com.github.javaparser.symbolsolver.javaparsermodel with parameters of type NameModifier and TypeMethodDescription -
Uses of Name in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Methods in com.github.javaparser.symbolsolver.javaparsermodel.contexts with parameters of type Name