Uses of Class
com.github.javaparser.ast.expr.Name
-
-
Uses of Name in com.github.javaparser
Fields in com.github.javaparser with type parameters of type Name Modifier and Type Field Description static ParseStart<Name>ParseStart. NAMEMethods in com.github.javaparser that return Name Modifier and Type Method Description NameGeneratedJavaParser. Name()ASimpleNameis just an identifier.NameGeneratedJavaParser. NameParseStart()NameJavaParserAdapter. parseName(java.lang.String qualifiedName)static NameStaticJavaParser. parseName(java.lang.String qualifiedName)Parses a qualified name (one that can have "."s in it) and returns it as a Name.NameGeneratedJavaParser. 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) NameGeneratedJavaParserBase. 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 Name Modifier and Type Method Description ParseResult<Name>JavaParser. parseName(java.lang.String qualifiedName)Parses 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 Name Modifier and Type Field Description private NameImportDeclaration. nameprivate NamePackageDeclaration. nameMethods in com.github.javaparser.ast that return Name Modifier and Type Method Description NameImportDeclaration. getName()Retrieves the name of the import (.* is not included.)NamePackageDeclaration. getName()Return the name expression of the package.private static NameImportDeclaration. getNameFromString(java.lang.String name)Returns the name of the import.Methods in com.github.javaparser.ast that return types with arguments of type Name Modifier and Type Method Description private static java.util.Optional<Name>CompilationUnit. getImportPackageName(ImportDeclaration importDeclaration)Methods in com.github.javaparser.ast with parameters of type Name Modifier and Type Method Description ImportDeclarationImportDeclaration. setName(Name name)PackageDeclarationPackageDeclaration. setName(Name name)Sets the name of this package declaration.Constructors in com.github.javaparser.ast with parameters of type Name Constructor Description ImportDeclaration(Name name, boolean isStatic, boolean isAsterisk)This constructor is kept to avoid breaking existing code creating non-module imports.ImportDeclaration(Name name, boolean isStatic, boolean isAsterisk, boolean isModule)ImportDeclaration(TokenRange tokenRange, Name name, boolean isStatic, boolean isAsterisk)This constructor is kept to avoid breaking existing code creating non-module imports.ImportDeclaration(TokenRange tokenRange, Name name, boolean isStatic, boolean isAsterisk, boolean isModule)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 Name Modifier and Type Field Description private NameReceiverParameter. nameMethods in com.github.javaparser.ast.body that return Name Modifier and Type Method Description NameReceiverParameter. getName()Methods in com.github.javaparser.ast.body with parameters of type Name Modifier and Type Method Description ReceiverParameterReceiverParameter. setName(Name name)Constructors in com.github.javaparser.ast.body with parameters of type Name Constructor Description ReceiverParameter(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 Name Modifier and Type Field Description protected NameAnnotationExpr. nameprivate NameName. qualifierprivate NameSuperExpr. typeNameprivate NameThisExpr. typeNameMethods in com.github.javaparser.ast.expr that return Name Modifier and Type Method Description NameName. clone()NameAnnotationExpr. getName()NameName. removeQualifier()NameName. setIdentifier(java.lang.String identifier)NameName. setQualifier(Name qualifier)Methods in com.github.javaparser.ast.expr that return types with arguments of type Name Modifier and Type Method Description java.util.Optional<Name>Name. getQualifier()java.util.Optional<Name>SuperExpr. getTypeName()java.util.Optional<Name>ThisExpr. getTypeName()Methods in com.github.javaparser.ast.expr with parameters of type Name Modifier and Type Method Description AnnotationExprAnnotationExpr. setName(Name name)NameName. setQualifier(Name qualifier)SuperExprSuperExpr. setTypeName(Name typeName)ThisExprThisExpr. setTypeName(Name typeName)Constructors in com.github.javaparser.ast.expr with parameters of type Name Constructor Description AnnotationExpr(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(Name qualifier, java.lang.String identifier)Name(TokenRange tokenRange, Name qualifier, java.lang.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(Name typeName)SuperExpr(TokenRange tokenRange, Name typeName)This constructor is used by the parser and is considered private.ThisExpr(Name typeName)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 Name Modifier and Type Field Description private NameModuleDeclaration. nameprivate NameModuleExportsDirective. nameprivate NameModuleOpensDirective. nameprivate NameModuleProvidesDirective. nameprivate NameModuleRequiresDirective. nameprivate NameModuleUsesDirective. nameFields in com.github.javaparser.ast.modules with type parameters of type Name Modifier and Type Field Description private NodeList<Name>ModuleExportsDirective. moduleNamesprivate NodeList<Name>ModuleOpensDirective. moduleNamesprivate NodeList<Name>ModuleProvidesDirective. withMethods in com.github.javaparser.ast.modules that return Name Modifier and Type Method Description NameModuleDeclaration. getName()NameModuleExportsDirective. getName()NameModuleOpensDirective. getName()NameModuleProvidesDirective. getName()NameModuleRequiresDirective. getName()NameModuleUsesDirective. getName()Methods in com.github.javaparser.ast.modules that return types with arguments of type Name Modifier and Type Method Description NodeList<Name>ModuleExportsDirective. getModuleNames()NodeList<Name>ModuleOpensDirective. getModuleNames()NodeList<Name>ModuleProvidesDirective. getWith()Methods in com.github.javaparser.ast.modules with parameters of type Name Modifier and Type Method Description ModuleDeclarationModuleDeclaration. setName(Name name)ModuleExportsDirectiveModuleExportsDirective. setName(Name name)ModuleOpensDirectiveModuleOpensDirective. setName(Name name)ModuleProvidesDirectiveModuleProvidesDirective. setName(Name name)ModuleRequiresDirectiveModuleRequiresDirective. setName(Name name)ModuleUsesDirectiveModuleUsesDirective. setName(Name name)ModuleUsesDirectiveModuleUsesDirective. setType(Name name)Method parameters in com.github.javaparser.ast.modules with type arguments of type Name Modifier and Type Method Description ModuleExportsDirectiveModuleExportsDirective. setModuleNames(NodeList<Name> moduleNames)ModuleOpensDirectiveModuleOpensDirective. setModuleNames(NodeList<Name> moduleNames)ModuleProvidesDirectiveModuleProvidesDirective. setWith(NodeList<Name> with)Constructors in com.github.javaparser.ast.modules with parameters of type Name Constructor Description ModuleDeclaration(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 Name Constructor Description 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. -
Uses of Name in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return Name Modifier and Type Method Description NameNodeWithName. getName()Methods in com.github.javaparser.ast.nodeTypes with parameters of type Name Modifier and Type Method Description NNodeWithName. setName(Name name) -
Uses of Name in com.github.javaparser.ast.validator
Methods in com.github.javaparser.ast.validator with parameters of type Name Modifier and Type Method Description voidRecordAsTypeIdentifierNotAllowed. visit(Name n, ProblemReporter arg)voidReservedKeywordValidator. 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 Name Modifier and Type Method Description voidUnderscoreKeywordValidator. 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 Name Modifier and Type Method Description VisitableCloneVisitor. visit(Name n, java.lang.Object arg)java.lang.BooleanEqualsVisitor. visit(Name n, Visitable arg)java.util.List<R>GenericListVisitorAdapter. visit(Name n, A arg)RGenericVisitor. visit(Name n, A arg)RGenericVisitorAdapter. visit(Name n, A arg)RGenericVisitorWithDefaults. visit(Name n, A arg)java.lang.IntegerHashCodeVisitor. visit(Name n, java.lang.Void arg)VisitableModifierVisitor. visit(Name n, A arg)java.lang.BooleanNoCommentEqualsVisitor. visit(Name n, Visitable arg)java.lang.IntegerNoCommentHashCodeVisitor. visit(Name n, java.lang.Void arg)voidNodeFinderVisitor. visit(Name n, Range arg)java.lang.BooleanObjectIdentityEqualsVisitor. visit(Name n, Visitable arg)java.lang.IntegerObjectIdentityHashCodeVisitor. visit(Name n, java.lang.Void arg)voidVoidVisitor. visit(Name n, A arg)voidVoidVisitorAdapter. visit(Name n, A arg)voidVoidVisitorWithDefaults. visit(Name n, A arg) -
Uses of Name in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type Name Modifier and Type Method Description voidDefaultPrettyPrinterVisitor. visit(Name n, java.lang.Void arg)voidPrettyPrintVisitor. visit(Name n, java.lang.Void arg)Deprecated. -
Uses of Name in com.github.javaparser.symbolsolver.javaparsermodel
Methods in com.github.javaparser.symbolsolver.javaparsermodel with parameters of type Name Modifier and Type Method Description ResolvedTypeDefaultVisitorAdapter. visit(Name node, java.lang.Boolean aBoolean) -
Uses of Name in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Methods in com.github.javaparser.symbolsolver.javaparsermodel.contexts with parameters of type Name Modifier and Type Method Description private java.lang.StringCompilationUnitContext. qName(Name name)
-