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. modifiers
Constructor 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 Modifier
Modifier. abstractModifier()
Modifier
Modifier. clone()
static Modifier
Modifier. finalModifier()
static Modifier
Modifier. nativeModifier()
static Modifier
Modifier. privateModifier()
static Modifier
Modifier. protectedModifier()
static Modifier
Modifier. publicModifier()
Modifier
Modifier. setKeyword(Modifier.Keyword keyword)
static Modifier
Modifier. staticModifier()
static Modifier
Modifier. strictfpModifier()
static Modifier
Modifier. synchronizedModifier()
static Modifier
Modifier. transientModifier()
static Modifier
Modifier. transitiveModifier()
static Modifier
Modifier. 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. modifiers
private NodeList<Modifier>
CallableDeclaration. modifiers
private NodeList<Modifier>
CompactConstructorDeclaration. modifiers
private NodeList<Modifier>
FieldDeclaration. modifiers
private NodeList<Modifier>
Parameter. modifiers
private NodeList<Modifier>
TypeDeclaration. modifiers
Methods 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>
CompactConstructorDeclaration. getModifiers()
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 AnnotationMemberDeclaration
AnnotationMemberDeclaration. setModifiers(NodeList<Modifier> modifiers)
T
CallableDeclaration. setModifiers(NodeList<Modifier> modifiers)
CompactConstructorDeclaration
CompactConstructorDeclaration. setModifiers(NodeList<Modifier> modifiers)
ConstructorDeclaration
ConstructorDeclaration. setModifiers(NodeList<Modifier> modifiers)
FieldDeclaration
FieldDeclaration. setModifiers(NodeList<Modifier> modifiers)
MethodDeclaration
MethodDeclaration. setModifiers(NodeList<Modifier> modifiers)
Parameter
Parameter. setModifiers(NodeList<Modifier> modifiers)
T
TypeDeclaration. 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.CompactConstructorDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<ReferenceType> thrownExceptions, BlockStmt body)
CompactConstructorDeclaration(NodeList<Modifier> modifiers, java.lang.String name)
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(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.RecordDeclaration(NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<Parameter> parameters, NodeList<TypeParameter> typeParameters, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<BodyDeclaration<?>> members, ReceiverParameter receiverParameter)
RecordDeclaration(NodeList<Modifier> modifiers, java.lang.String name)
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(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. modifiers
Methods 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 VariableDeclarationExpr
VariableDeclarationExpr. 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. modifiers
Methods 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 ModuleRequiresDirective
ModuleRequiresDirective. 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 N
NodeWithModifiers. 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 Visitable
CloneVisitor. visit(Modifier n, java.lang.Object arg)
java.lang.Boolean
EqualsVisitor. visit(Modifier n, Visitable arg)
java.util.List<R>
GenericListVisitorAdapter. visit(Modifier n, A arg)
R
GenericVisitor. visit(Modifier n, A arg)
R
GenericVisitorAdapter. visit(Modifier n, A arg)
R
GenericVisitorWithDefaults. visit(Modifier n, A arg)
java.lang.Integer
HashCodeVisitor. visit(Modifier n, java.lang.Void arg)
Visitable
ModifierVisitor. visit(Modifier n, A arg)
java.lang.Boolean
NoCommentEqualsVisitor. visit(Modifier n, Visitable arg)
java.lang.Integer
NoCommentHashCodeVisitor. visit(Modifier n, java.lang.Void arg)
java.lang.Boolean
ObjectIdentityEqualsVisitor. visit(Modifier n, Visitable arg)
java.lang.Integer
ObjectIdentityHashCodeVisitor. visit(Modifier n, java.lang.Void arg)
void
VoidVisitor. visit(Modifier n, A arg)
void
VoidVisitorAdapter. visit(Modifier n, A arg)
void
VoidVisitorWithDefaults. 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 void
DefaultPrettyPrinterVisitor. visit(Modifier n, java.lang.Void arg)
void
PrettyPrintVisitor. visit(Modifier n, java.lang.Void arg)
Deprecated.Method parameters in com.github.javaparser.printer with type arguments of type Modifier Modifier and Type Method Description protected void
DefaultPrettyPrinterVisitor. printModifiers(NodeList<Modifier> modifiers)
protected void
PrettyPrintVisitor. printModifiers(NodeList<Modifier> modifiers)
Deprecated. -
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 int
LexicalDifferenceCalculator. toToken(Modifier modifier)
-