Uses of Class
com.github.javaparser.ast.Modifier
-
-
Uses of Modifier in com.github.javaparser
Fields in com.github.javaparser with type parameters of type Modifier Modifier and Type Field Description (package private) NodeList<Modifier>ModifierHolder. modifiersConstructor parameters in com.github.javaparser with type arguments of type Modifier Constructor Description ModifierHolder(JavaToken begin, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations) -
Uses of Modifier in com.github.javaparser.ast
Methods in com.github.javaparser.ast that return Modifier Modifier and Type Method Description static ModifierModifier. abstractModifier()ModifierModifier. clone()static ModifierModifier. finalModifier()static ModifierModifier. nativeModifier()static ModifierModifier. privateModifier()static ModifierModifier. protectedModifier()static ModifierModifier. publicModifier()ModifierModifier. setKeyword(Modifier.Keyword keyword)static ModifierModifier. staticModifier()static ModifierModifier. strictfpModifier()static ModifierModifier. synchronizedModifier()static ModifierModifier. transientModifier()static ModifierModifier. transitiveModifier()static ModifierModifier. volatileModifier()Methods in com.github.javaparser.ast that return types with arguments of type Modifier Modifier and Type Method Description static NodeList<Modifier>Modifier. createModifierList(Modifier.Keyword... modifiers)Utility method that instantiaties "Modifier"s for the keywords, and puts them in a NodeList. -
Uses of Modifier in com.github.javaparser.ast.body
Fields in com.github.javaparser.ast.body with type parameters of type Modifier Modifier and Type Field Description private NodeList<Modifier>AnnotationMemberDeclaration. modifiersprivate NodeList<Modifier>CallableDeclaration. modifiersprivate NodeList<Modifier>FieldDeclaration. modifiersprivate NodeList<Modifier>Parameter. modifiersprivate NodeList<Modifier>TypeDeclaration. modifiersMethods in com.github.javaparser.ast.body that return types with arguments of type Modifier Modifier and Type Method Description NodeList<Modifier>AnnotationMemberDeclaration. getModifiers()Return the modifiers of this member declaration.NodeList<Modifier>CallableDeclaration. getModifiers()Return the modifiers of this member declaration.NodeList<Modifier>FieldDeclaration. getModifiers()Return the modifiers of this member declaration.NodeList<Modifier>Parameter. getModifiers()Return the modifiers of this parameter declaration.NodeList<Modifier>TypeDeclaration. getModifiers()Return the modifiers of this type declaration.Method parameters in com.github.javaparser.ast.body with type arguments of type Modifier Modifier and Type Method Description AnnotationMemberDeclarationAnnotationMemberDeclaration. setModifiers(NodeList<Modifier> modifiers)TCallableDeclaration. setModifiers(NodeList<Modifier> modifiers)ConstructorDeclarationConstructorDeclaration. setModifiers(NodeList<Modifier> modifiers)FieldDeclarationFieldDeclaration. setModifiers(NodeList<Modifier> modifiers)MethodDeclarationMethodDeclaration. setModifiers(NodeList<Modifier> modifiers)ParameterParameter. setModifiers(NodeList<Modifier> modifiers)TTypeDeclaration. setModifiers(NodeList<Modifier> modifiers)Constructor parameters in com.github.javaparser.ast.body with type arguments of type Modifier Constructor Description AnnotationDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members)AnnotationDeclaration(NodeList<Modifier> modifiers, java.lang.String name)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(NodeList<Modifier> modifiers, Type type, java.lang.String 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(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, ReceiverParameter receiverParameter)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, boolean isInterface, java.lang.String name)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.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(NodeList<Modifier> modifiers, java.lang.String name)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.EnumDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<EnumConstantDeclaration> entries, NodeList<BodyDeclaration<?>> members)EnumDeclaration(NodeList<Modifier> modifiers, java.lang.String name)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.FieldDeclaration(NodeList<Modifier> modifiers, VariableDeclarator variable)FieldDeclaration(NodeList<Modifier> modifiers, NodeList<VariableDeclarator> variables)FieldDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables)FieldDeclaration(NodeList<Modifier> modifiers, Type type, java.lang.String name)Creates aFieldDeclaration.FieldDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables)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(NodeList<Modifier> modifiers, Type type, java.lang.String name)MethodDeclaration(NodeList<Modifier> modifiers, java.lang.String name, Type type, NodeList<Parameter> parameters)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(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.TypeDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members)TypeDeclaration(NodeList<Modifier> modifiers, java.lang.String name)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. -
Uses of Modifier in com.github.javaparser.ast.expr
Fields in com.github.javaparser.ast.expr with type parameters of type Modifier Modifier and Type Field Description private NodeList<Modifier>VariableDeclarationExpr. modifiersMethods in com.github.javaparser.ast.expr that return types with arguments of type Modifier Modifier and Type Method Description NodeList<Modifier>VariableDeclarationExpr. getModifiers()Return the modifiers of this variable declaration.Method parameters in com.github.javaparser.ast.expr with type arguments of type Modifier Modifier and Type Method Description VariableDeclarationExprVariableDeclarationExpr. setModifiers(NodeList<Modifier> modifiers)Constructors in com.github.javaparser.ast.expr with parameters of type Modifier Constructor Description VariableDeclarationExpr(VariableDeclarator var, Modifier... modifiers)VariableDeclarationExpr(Type type, java.lang.String variableName, Modifier... modifiers)Constructor parameters in com.github.javaparser.ast.expr with type arguments of type Modifier Constructor Description VariableDeclarationExpr(NodeList<Modifier> modifiers, NodeList<VariableDeclarator> variables)VariableDeclarationExpr(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables)VariableDeclarationExpr(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables)This constructor is used by the parser and is considered private. -
Uses of Modifier in com.github.javaparser.ast.modules
Fields in com.github.javaparser.ast.modules with type parameters of type Modifier Modifier and Type Field Description private NodeList<Modifier>ModuleRequiresDirective. modifiersMethods in com.github.javaparser.ast.modules that return types with arguments of type Modifier Modifier and Type Method Description NodeList<Modifier>ModuleRequiresDirective. getModifiers()Method parameters in com.github.javaparser.ast.modules with type arguments of type Modifier Modifier and Type Method Description ModuleRequiresDirectiveModuleRequiresDirective. setModifiers(NodeList<Modifier> modifiers)Constructor parameters in com.github.javaparser.ast.modules with type arguments of type Modifier Constructor Description 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. -
Uses of Modifier in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return types with arguments of type Modifier Modifier and Type Method Description NodeList<Modifier>NodeWithModifiers. getModifiers()Return the modifiers of this variable declaration.Method parameters in com.github.javaparser.ast.nodeTypes with type arguments of type Modifier Modifier and Type Method Description NNodeWithModifiers. setModifiers(NodeList<Modifier> modifiers) -
Uses of Modifier in com.github.javaparser.ast.stmt
Constructor parameters in com.github.javaparser.ast.stmt with type arguments of type Modifier Constructor Description CatchClause(NodeList<Modifier> exceptModifier, NodeList<AnnotationExpr> exceptAnnotations, ClassOrInterfaceType exceptType, SimpleName exceptName, BlockStmt body) -
Uses of Modifier in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type Modifier Modifier and Type Method Description VisitableCloneVisitor. visit(Modifier n, java.lang.Object arg)java.lang.BooleanEqualsVisitor. visit(Modifier n, Visitable arg)java.util.List<R>GenericListVisitorAdapter. visit(Modifier n, A arg)RGenericVisitor. visit(Modifier n, A arg)RGenericVisitorAdapter. visit(Modifier n, A arg)RGenericVisitorWithDefaults. visit(Modifier n, A arg)java.lang.IntegerHashCodeVisitor. visit(Modifier n, java.lang.Void arg)VisitableModifierVisitor. visit(Modifier n, A arg)java.lang.BooleanNoCommentEqualsVisitor. visit(Modifier n, Visitable arg)java.lang.IntegerNoCommentHashCodeVisitor. visit(Modifier n, java.lang.Void arg)java.lang.BooleanObjectIdentityEqualsVisitor. visit(Modifier n, Visitable arg)java.lang.IntegerObjectIdentityHashCodeVisitor. visit(Modifier n, java.lang.Void arg)voidVoidVisitor. visit(Modifier n, A arg)voidVoidVisitorAdapter. visit(Modifier n, A arg)voidVoidVisitorWithDefaults. visit(Modifier n, A arg) -
Uses of Modifier in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type Modifier Modifier and Type Method Description voidPrettyPrintVisitor. visit(Modifier n, java.lang.Void arg)Method parameters in com.github.javaparser.printer with type arguments of type Modifier Modifier and Type Method Description private voidPrettyPrintVisitor. printModifiers(NodeList<Modifier> modifiers) -
Uses of Modifier in com.github.javaparser.printer.lexicalpreservation
Methods in com.github.javaparser.printer.lexicalpreservation with parameters of type Modifier Modifier and Type Method Description static intLexicalDifferenceCalculator. toToken(Modifier modifier)
-