Uses of Class
com.github.javaparser.ast.Generated
-
-
Uses of Generated in com.github.javaparser
Classes in com.github.javaparser with annotations of type Generated Modifier and Type Class Description static class
JavaToken.Kind
-
Uses of Generated in com.github.javaparser.ast
Methods in com.github.javaparser.ast with annotations of type Generated Modifier and Type Method Description <R,A>
RArrayCreationLevel. accept(GenericVisitor<R,A> v, A arg)
<A> void
ArrayCreationLevel. accept(VoidVisitor<A> v, A arg)
<R,A>
RCompilationUnit. accept(GenericVisitor<R,A> v, A arg)
<A> void
CompilationUnit. accept(VoidVisitor<A> v, A arg)
<R,A>
RImportDeclaration. accept(GenericVisitor<R,A> v, A arg)
<A> void
ImportDeclaration. accept(VoidVisitor<A> v, A arg)
<R,A>
RModifier. accept(GenericVisitor<R,A> v, A arg)
<A> void
Modifier. accept(VoidVisitor<A> v, A arg)
<R,A>
RPackageDeclaration. accept(GenericVisitor<R,A> v, A arg)
<A> void
PackageDeclaration. accept(VoidVisitor<A> v, A arg)
ArrayCreationLevel
ArrayCreationLevel. clone()
CompilationUnit
CompilationUnit. clone()
ImportDeclaration
ImportDeclaration. clone()
Modifier
Modifier. clone()
Node
Node. clone()
PackageDeclaration
PackageDeclaration. clone()
NodeList<AnnotationExpr>
ArrayCreationLevel. getAnnotations()
NodeList<AnnotationExpr>
PackageDeclaration. getAnnotations()
Retrieves the list of annotations declared before the package declaration.Optional<Comment>
Node. getComment()
This is a comment associated with this node.Optional<Expression>
ArrayCreationLevel. getDimension()
NodeList<ImportDeclaration>
CompilationUnit. getImports()
Retrieves the list of imports declared in this compilation unit ornull
if there is no import.Modifier.Keyword
Modifier. getKeyword()
ArrayCreationLevelMetaModel
ArrayCreationLevel. getMetaModel()
CompilationUnitMetaModel
CompilationUnit. getMetaModel()
ImportDeclarationMetaModel
ImportDeclaration. getMetaModel()
ModifierMetaModel
Modifier. getMetaModel()
NodeMetaModel
Node. getMetaModel()
PackageDeclarationMetaModel
PackageDeclaration. getMetaModel()
Optional<ModuleDeclaration>
CompilationUnit. getModule()
Name
ImportDeclaration. getName()
Retrieves the name of the import (.* is not included.)Name
PackageDeclaration. getName()
Return the name expression of the package.Optional<PackageDeclaration>
CompilationUnit. getPackageDeclaration()
Retrieves the package declaration of this compilation unit.
If this compilation unit has no package declaration (default package),Optional.none()
is returned.NodeList<TypeDeclaration<?>>
CompilationUnit. getTypes()
Return the list of top level types declared in this compilation unit.
If there are no types declared,none
is returned.boolean
ImportDeclaration. isAsterisk()
Return if the import ends with "*".boolean
ImportDeclaration. isStatic()
boolean
ArrayCreationLevel. remove(Node node)
boolean
CompilationUnit. remove(Node node)
boolean
ImportDeclaration. remove(Node node)
boolean
Modifier. remove(Node node)
boolean
Node. remove(Node node)
boolean
PackageDeclaration. remove(Node node)
Node
Node. removeComment()
ArrayCreationLevel
ArrayCreationLevel. removeDimension()
CompilationUnit
CompilationUnit. removeModule()
CompilationUnit
CompilationUnit. removePackageDeclaration()
boolean
ArrayCreationLevel. replace(Node node, Node replacementNode)
boolean
CompilationUnit. replace(Node node, Node replacementNode)
boolean
ImportDeclaration. replace(Node node, Node replacementNode)
boolean
Modifier. replace(Node node, Node replacementNode)
boolean
Node. replace(Node node, Node replacementNode)
boolean
PackageDeclaration. replace(Node node, Node replacementNode)
ArrayCreationLevel
ArrayCreationLevel. setAnnotations(NodeList<AnnotationExpr> annotations)
PackageDeclaration
PackageDeclaration. setAnnotations(NodeList<AnnotationExpr> annotations)
ImportDeclaration
ImportDeclaration. setAsterisk(boolean isAsterisk)
ArrayCreationLevel
ArrayCreationLevel. setDimension(Expression dimension)
Sets the dimensionCompilationUnit
CompilationUnit. setImports(NodeList<ImportDeclaration> imports)
Sets the list of imports of this compilation unit.Modifier
Modifier. setKeyword(Modifier.Keyword keyword)
CompilationUnit
CompilationUnit. setModule(ModuleDeclaration module)
ImportDeclaration
ImportDeclaration. setName(Name name)
PackageDeclaration
PackageDeclaration. setName(Name name)
Sets the name of this package declaration.CompilationUnit
CompilationUnit. setPackageDeclaration(PackageDeclaration packageDeclaration)
Sets or clear the package declarations of this compilation unit.ImportDeclaration
ImportDeclaration. setStatic(boolean isStatic)
CompilationUnit
CompilationUnit. setTypes(NodeList<TypeDeclaration<?>> types)
Sets the list of types declared in this compilation unit.Constructors in com.github.javaparser.ast with annotations of type Generated Constructor Description ArrayCreationLevel(TokenRange tokenRange, Expression dimension, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.CompilationUnit(TokenRange tokenRange, PackageDeclaration packageDeclaration, NodeList<ImportDeclaration> imports, NodeList<TypeDeclaration<?>> types, ModuleDeclaration module)
This constructor is used by the parser and is considered private.ImportDeclaration(TokenRange tokenRange, Name name, boolean isStatic, boolean isAsterisk)
This constructor is used by the parser and is considered private.Modifier(TokenRange tokenRange, Modifier.Keyword keyword)
This constructor is used by the parser and is considered private.PackageDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Name name)
This constructor is used by the parser and is considered private. -
Uses of Generated in com.github.javaparser.ast.body
Methods in com.github.javaparser.ast.body with annotations of type Generated Modifier and Type Method Description <R,A>
RAnnotationDeclaration. accept(GenericVisitor<R,A> v, A arg)
<A> void
AnnotationDeclaration. accept(VoidVisitor<A> v, A arg)
<R,A>
RAnnotationMemberDeclaration. accept(GenericVisitor<R,A> v, A arg)
<A> void
AnnotationMemberDeclaration. accept(VoidVisitor<A> v, A arg)
<R,A>
RClassOrInterfaceDeclaration. accept(GenericVisitor<R,A> v, A arg)
<A> void
ClassOrInterfaceDeclaration. accept(VoidVisitor<A> v, A arg)
<R,A>
RConstructorDeclaration. accept(GenericVisitor<R,A> v, A arg)
<A> void
ConstructorDeclaration. accept(VoidVisitor<A> v, A arg)
<R,A>
REnumConstantDeclaration. accept(GenericVisitor<R,A> v, A arg)
<A> void
EnumConstantDeclaration. accept(VoidVisitor<A> v, A arg)
<R,A>
REnumDeclaration. accept(GenericVisitor<R,A> v, A arg)
<A> void
EnumDeclaration. accept(VoidVisitor<A> v, A arg)
<R,A>
RFieldDeclaration. accept(GenericVisitor<R,A> v, A arg)
<A> void
FieldDeclaration. accept(VoidVisitor<A> v, A arg)
<R,A>
RInitializerDeclaration. accept(GenericVisitor<R,A> v, A arg)
<A> void
InitializerDeclaration. accept(VoidVisitor<A> v, A arg)
<R,A>
RMethodDeclaration. accept(GenericVisitor<R,A> v, A arg)
<A> void
MethodDeclaration. accept(VoidVisitor<A> v, A arg)
<R,A>
RParameter. accept(GenericVisitor<R,A> v, A arg)
<A> void
Parameter. accept(VoidVisitor<A> v, A arg)
<R,A>
RReceiverParameter. accept(GenericVisitor<R,A> v, A arg)
<A> void
ReceiverParameter. accept(VoidVisitor<A> v, A arg)
<R,A>
RVariableDeclarator. accept(GenericVisitor<R,A> v, A arg)
<A> void
VariableDeclarator. accept(VoidVisitor<A> v, A arg)
AnnotationDeclaration
AnnotationDeclaration. asAnnotationDeclaration()
AnnotationDeclaration
BodyDeclaration. asAnnotationDeclaration()
AnnotationMemberDeclaration
AnnotationMemberDeclaration. asAnnotationMemberDeclaration()
AnnotationMemberDeclaration
BodyDeclaration. asAnnotationMemberDeclaration()
CallableDeclaration
BodyDeclaration. asCallableDeclaration()
CallableDeclaration
CallableDeclaration. asCallableDeclaration()
ClassOrInterfaceDeclaration
BodyDeclaration. asClassOrInterfaceDeclaration()
ClassOrInterfaceDeclaration
ClassOrInterfaceDeclaration. asClassOrInterfaceDeclaration()
ConstructorDeclaration
BodyDeclaration. asConstructorDeclaration()
ConstructorDeclaration
ConstructorDeclaration. asConstructorDeclaration()
EnumConstantDeclaration
BodyDeclaration. asEnumConstantDeclaration()
EnumConstantDeclaration
EnumConstantDeclaration. asEnumConstantDeclaration()
EnumDeclaration
BodyDeclaration. asEnumDeclaration()
EnumDeclaration
EnumDeclaration. asEnumDeclaration()
FieldDeclaration
BodyDeclaration. asFieldDeclaration()
FieldDeclaration
FieldDeclaration. asFieldDeclaration()
InitializerDeclaration
BodyDeclaration. asInitializerDeclaration()
InitializerDeclaration
InitializerDeclaration. asInitializerDeclaration()
MethodDeclaration
BodyDeclaration. asMethodDeclaration()
MethodDeclaration
MethodDeclaration. asMethodDeclaration()
TypeDeclaration
BodyDeclaration. asTypeDeclaration()
TypeDeclaration
TypeDeclaration. asTypeDeclaration()
AnnotationDeclaration
AnnotationDeclaration. clone()
AnnotationMemberDeclaration
AnnotationMemberDeclaration. clone()
BodyDeclaration<?>
BodyDeclaration. clone()
CallableDeclaration<?>
CallableDeclaration. clone()
ClassOrInterfaceDeclaration
ClassOrInterfaceDeclaration. clone()
ConstructorDeclaration
ConstructorDeclaration. clone()
EnumConstantDeclaration
EnumConstantDeclaration. clone()
EnumDeclaration
EnumDeclaration. clone()
FieldDeclaration
FieldDeclaration. clone()
InitializerDeclaration
InitializerDeclaration. clone()
MethodDeclaration
MethodDeclaration. clone()
Parameter
Parameter. clone()
ReceiverParameter
ReceiverParameter. clone()
TypeDeclaration<?>
TypeDeclaration. clone()
VariableDeclarator
VariableDeclarator. clone()
NodeList<AnnotationExpr>
BodyDeclaration. getAnnotations()
NodeList<AnnotationExpr>
Parameter. getAnnotations()
NodeList<AnnotationExpr>
ReceiverParameter. getAnnotations()
NodeList<Expression>
EnumConstantDeclaration. getArguments()
BlockStmt
ConstructorDeclaration. getBody()
BlockStmt
InitializerDeclaration. getBody()
Optional<BlockStmt>
MethodDeclaration. getBody()
NodeList<BodyDeclaration<?>>
EnumConstantDeclaration. getClassBody()
Optional<Expression>
AnnotationMemberDeclaration. getDefaultValue()
NodeList<EnumConstantDeclaration>
EnumDeclaration. getEntries()
NodeList<ClassOrInterfaceType>
ClassOrInterfaceDeclaration. getExtendedTypes()
NodeList<ClassOrInterfaceType>
ClassOrInterfaceDeclaration. getImplementedTypes()
NodeList<ClassOrInterfaceType>
EnumDeclaration. getImplementedTypes()
Optional<Expression>
VariableDeclarator. getInitializer()
NodeList<BodyDeclaration<?>>
TypeDeclaration. getMembers()
AnnotationDeclarationMetaModel
AnnotationDeclaration. getMetaModel()
AnnotationMemberDeclarationMetaModel
AnnotationMemberDeclaration. getMetaModel()
BodyDeclarationMetaModel
BodyDeclaration. getMetaModel()
CallableDeclarationMetaModel
CallableDeclaration. getMetaModel()
ClassOrInterfaceDeclarationMetaModel
ClassOrInterfaceDeclaration. getMetaModel()
ConstructorDeclarationMetaModel
ConstructorDeclaration. getMetaModel()
EnumConstantDeclarationMetaModel
EnumConstantDeclaration. getMetaModel()
EnumDeclarationMetaModel
EnumDeclaration. getMetaModel()
FieldDeclarationMetaModel
FieldDeclaration. getMetaModel()
InitializerDeclarationMetaModel
InitializerDeclaration. getMetaModel()
MethodDeclarationMetaModel
MethodDeclaration. getMetaModel()
ParameterMetaModel
Parameter. getMetaModel()
ReceiverParameterMetaModel
ReceiverParameter. getMetaModel()
TypeDeclarationMetaModel
TypeDeclaration. getMetaModel()
VariableDeclaratorMetaModel
VariableDeclarator. getMetaModel()
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.SimpleName
AnnotationMemberDeclaration. getName()
SimpleName
CallableDeclaration. getName()
SimpleName
EnumConstantDeclaration. getName()
SimpleName
Parameter. getName()
Name
ReceiverParameter. getName()
SimpleName
TypeDeclaration. getName()
SimpleName
VariableDeclarator. getName()
NodeList<Parameter>
CallableDeclaration. getParameters()
Optional<ReceiverParameter>
CallableDeclaration. getReceiverParameter()
NodeList<ReferenceType>
CallableDeclaration. getThrownExceptions()
Type
AnnotationMemberDeclaration. getType()
Type
MethodDeclaration. getType()
Type
Parameter. getType()
Type
ReceiverParameter. getType()
Type
VariableDeclarator. getType()
NodeList<TypeParameter>
CallableDeclaration. getTypeParameters()
NodeList<TypeParameter>
ClassOrInterfaceDeclaration. getTypeParameters()
NodeList<AnnotationExpr>
Parameter. getVarArgsAnnotations()
NodeList<VariableDeclarator>
FieldDeclaration. getVariables()
void
AnnotationDeclaration. ifAnnotationDeclaration(Consumer<AnnotationDeclaration> action)
void
BodyDeclaration. ifAnnotationDeclaration(Consumer<AnnotationDeclaration> action)
void
AnnotationMemberDeclaration. ifAnnotationMemberDeclaration(Consumer<AnnotationMemberDeclaration> action)
void
BodyDeclaration. ifAnnotationMemberDeclaration(Consumer<AnnotationMemberDeclaration> action)
void
BodyDeclaration. ifCallableDeclaration(Consumer<CallableDeclaration> action)
void
CallableDeclaration. ifCallableDeclaration(Consumer<CallableDeclaration> action)
void
BodyDeclaration. ifClassOrInterfaceDeclaration(Consumer<ClassOrInterfaceDeclaration> action)
void
ClassOrInterfaceDeclaration. ifClassOrInterfaceDeclaration(Consumer<ClassOrInterfaceDeclaration> action)
void
BodyDeclaration. ifConstructorDeclaration(Consumer<ConstructorDeclaration> action)
void
ConstructorDeclaration. ifConstructorDeclaration(Consumer<ConstructorDeclaration> action)
void
BodyDeclaration. ifEnumConstantDeclaration(Consumer<EnumConstantDeclaration> action)
void
EnumConstantDeclaration. ifEnumConstantDeclaration(Consumer<EnumConstantDeclaration> action)
void
BodyDeclaration. ifEnumDeclaration(Consumer<EnumDeclaration> action)
void
EnumDeclaration. ifEnumDeclaration(Consumer<EnumDeclaration> action)
void
BodyDeclaration. ifFieldDeclaration(Consumer<FieldDeclaration> action)
void
FieldDeclaration. ifFieldDeclaration(Consumer<FieldDeclaration> action)
void
BodyDeclaration. ifInitializerDeclaration(Consumer<InitializerDeclaration> action)
void
InitializerDeclaration. ifInitializerDeclaration(Consumer<InitializerDeclaration> action)
void
BodyDeclaration. ifMethodDeclaration(Consumer<MethodDeclaration> action)
void
MethodDeclaration. ifMethodDeclaration(Consumer<MethodDeclaration> action)
void
BodyDeclaration. ifTypeDeclaration(Consumer<TypeDeclaration> action)
void
TypeDeclaration. ifTypeDeclaration(Consumer<TypeDeclaration> action)
boolean
AnnotationDeclaration. isAnnotationDeclaration()
boolean
BodyDeclaration. isAnnotationDeclaration()
boolean
AnnotationMemberDeclaration. isAnnotationMemberDeclaration()
boolean
BodyDeclaration. isAnnotationMemberDeclaration()
boolean
BodyDeclaration. isCallableDeclaration()
boolean
CallableDeclaration. isCallableDeclaration()
boolean
BodyDeclaration. isClassOrInterfaceDeclaration()
boolean
ClassOrInterfaceDeclaration. isClassOrInterfaceDeclaration()
boolean
BodyDeclaration. isConstructorDeclaration()
boolean
ConstructorDeclaration. isConstructorDeclaration()
boolean
BodyDeclaration. isEnumConstantDeclaration()
boolean
EnumConstantDeclaration. isEnumConstantDeclaration()
boolean
BodyDeclaration. isEnumDeclaration()
boolean
EnumDeclaration. isEnumDeclaration()
boolean
BodyDeclaration. isFieldDeclaration()
boolean
FieldDeclaration. isFieldDeclaration()
boolean
BodyDeclaration. isInitializerDeclaration()
boolean
InitializerDeclaration. isInitializerDeclaration()
boolean
ClassOrInterfaceDeclaration. isInterface()
boolean
BodyDeclaration. isMethodDeclaration()
boolean
MethodDeclaration. isMethodDeclaration()
boolean
InitializerDeclaration. isStatic()
boolean
BodyDeclaration. isTypeDeclaration()
boolean
TypeDeclaration. isTypeDeclaration()
boolean
Parameter. isVarArgs()
boolean
AnnotationDeclaration. remove(Node node)
boolean
AnnotationMemberDeclaration. remove(Node node)
boolean
BodyDeclaration. remove(Node node)
boolean
CallableDeclaration. remove(Node node)
boolean
ClassOrInterfaceDeclaration. remove(Node node)
boolean
ConstructorDeclaration. remove(Node node)
boolean
EnumConstantDeclaration. remove(Node node)
boolean
EnumDeclaration. remove(Node node)
boolean
FieldDeclaration. remove(Node node)
boolean
InitializerDeclaration. remove(Node node)
boolean
MethodDeclaration. remove(Node node)
boolean
Parameter. remove(Node node)
boolean
ReceiverParameter. remove(Node node)
boolean
TypeDeclaration. remove(Node node)
boolean
VariableDeclarator. remove(Node node)
MethodDeclaration
MethodDeclaration. removeBody()
AnnotationMemberDeclaration
AnnotationMemberDeclaration. removeDefaultValue()
VariableDeclarator
VariableDeclarator. removeInitializer()
CallableDeclaration
CallableDeclaration. removeReceiverParameter()
boolean
AnnotationDeclaration. replace(Node node, Node replacementNode)
boolean
AnnotationMemberDeclaration. replace(Node node, Node replacementNode)
boolean
BodyDeclaration. replace(Node node, Node replacementNode)
boolean
CallableDeclaration. replace(Node node, Node replacementNode)
boolean
ClassOrInterfaceDeclaration. replace(Node node, Node replacementNode)
boolean
ConstructorDeclaration. replace(Node node, Node replacementNode)
boolean
EnumConstantDeclaration. replace(Node node, Node replacementNode)
boolean
EnumDeclaration. replace(Node node, Node replacementNode)
boolean
FieldDeclaration. replace(Node node, Node replacementNode)
boolean
InitializerDeclaration. replace(Node node, Node replacementNode)
boolean
MethodDeclaration. replace(Node node, Node replacementNode)
boolean
Parameter. replace(Node node, Node replacementNode)
boolean
ReceiverParameter. replace(Node node, Node replacementNode)
boolean
TypeDeclaration. replace(Node node, Node replacementNode)
boolean
VariableDeclarator. replace(Node node, Node replacementNode)
T
BodyDeclaration. setAnnotations(NodeList<AnnotationExpr> annotations)
Parameter
Parameter. setAnnotations(NodeList<AnnotationExpr> annotations)
ReceiverParameter
ReceiverParameter. setAnnotations(NodeList<AnnotationExpr> annotations)
EnumConstantDeclaration
EnumConstantDeclaration. setArguments(NodeList<Expression> arguments)
ConstructorDeclaration
ConstructorDeclaration. setBody(BlockStmt body)
Sets the bodyInitializerDeclaration
InitializerDeclaration. setBody(BlockStmt body)
MethodDeclaration
MethodDeclaration. setBody(BlockStmt body)
Sets the bodyEnumConstantDeclaration
EnumConstantDeclaration. setClassBody(NodeList<BodyDeclaration<?>> classBody)
AnnotationMemberDeclaration
AnnotationMemberDeclaration. setDefaultValue(Expression defaultValue)
Sets the default valueEnumDeclaration
EnumDeclaration. setEntries(NodeList<EnumConstantDeclaration> entries)
ClassOrInterfaceDeclaration
ClassOrInterfaceDeclaration. setExtendedTypes(NodeList<ClassOrInterfaceType> extendedTypes)
ClassOrInterfaceDeclaration
ClassOrInterfaceDeclaration. setImplementedTypes(NodeList<ClassOrInterfaceType> implementedTypes)
EnumDeclaration
EnumDeclaration. setImplementedTypes(NodeList<ClassOrInterfaceType> implementedTypes)
VariableDeclarator
VariableDeclarator. setInitializer(Expression initializer)
Sets the initializer expressionClassOrInterfaceDeclaration
ClassOrInterfaceDeclaration. setInterface(boolean isInterface)
T
TypeDeclaration. setMembers(NodeList<BodyDeclaration<?>> members)
AnnotationMemberDeclaration
AnnotationMemberDeclaration. setModifiers(NodeList<Modifier> modifiers)
T
CallableDeclaration. setModifiers(NodeList<Modifier> modifiers)
FieldDeclaration
FieldDeclaration. setModifiers(NodeList<Modifier> modifiers)
Parameter
Parameter. setModifiers(NodeList<Modifier> modifiers)
T
TypeDeclaration. setModifiers(NodeList<Modifier> modifiers)
AnnotationMemberDeclaration
AnnotationMemberDeclaration. setName(SimpleName name)
T
CallableDeclaration. setName(SimpleName name)
EnumConstantDeclaration
EnumConstantDeclaration. setName(SimpleName name)
Parameter
Parameter. setName(SimpleName name)
ReceiverParameter
ReceiverParameter. setName(Name name)
T
TypeDeclaration. setName(SimpleName name)
VariableDeclarator
VariableDeclarator. setName(SimpleName name)
T
CallableDeclaration. setParameters(NodeList<Parameter> parameters)
T
CallableDeclaration. setReceiverParameter(ReceiverParameter receiverParameter)
InitializerDeclaration
InitializerDeclaration. setStatic(boolean isStatic)
T
CallableDeclaration. setThrownExceptions(NodeList<ReferenceType> thrownExceptions)
AnnotationMemberDeclaration
AnnotationMemberDeclaration. setType(Type type)
MethodDeclaration
MethodDeclaration. setType(Type type)
Parameter
Parameter. setType(Type type)
ReceiverParameter
ReceiverParameter. setType(Type type)
VariableDeclarator
VariableDeclarator. setType(Type type)
T
CallableDeclaration. setTypeParameters(NodeList<TypeParameter> typeParameters)
ClassOrInterfaceDeclaration
ClassOrInterfaceDeclaration. setTypeParameters(NodeList<TypeParameter> typeParameters)
Parameter
Parameter. setVarArgs(boolean isVarArgs)
Parameter
Parameter. setVarArgsAnnotations(NodeList<AnnotationExpr> varArgsAnnotations)
FieldDeclaration
FieldDeclaration. setVariables(NodeList<VariableDeclarator> variables)
Optional<AnnotationDeclaration>
AnnotationDeclaration. toAnnotationDeclaration()
Optional<AnnotationDeclaration>
BodyDeclaration. toAnnotationDeclaration()
Optional<AnnotationMemberDeclaration>
AnnotationMemberDeclaration. toAnnotationMemberDeclaration()
Optional<AnnotationMemberDeclaration>
BodyDeclaration. toAnnotationMemberDeclaration()
Optional<CallableDeclaration>
BodyDeclaration. toCallableDeclaration()
Optional<CallableDeclaration>
CallableDeclaration. toCallableDeclaration()
Optional<ClassOrInterfaceDeclaration>
BodyDeclaration. toClassOrInterfaceDeclaration()
Optional<ClassOrInterfaceDeclaration>
ClassOrInterfaceDeclaration. toClassOrInterfaceDeclaration()
Optional<ConstructorDeclaration>
BodyDeclaration. toConstructorDeclaration()
Optional<ConstructorDeclaration>
ConstructorDeclaration. toConstructorDeclaration()
Optional<EnumConstantDeclaration>
BodyDeclaration. toEnumConstantDeclaration()
Optional<EnumConstantDeclaration>
EnumConstantDeclaration. toEnumConstantDeclaration()
Optional<EnumDeclaration>
BodyDeclaration. toEnumDeclaration()
Optional<EnumDeclaration>
EnumDeclaration. toEnumDeclaration()
Optional<FieldDeclaration>
BodyDeclaration. toFieldDeclaration()
Optional<FieldDeclaration>
FieldDeclaration. toFieldDeclaration()
Optional<InitializerDeclaration>
BodyDeclaration. toInitializerDeclaration()
Optional<InitializerDeclaration>
InitializerDeclaration. toInitializerDeclaration()
Optional<MethodDeclaration>
BodyDeclaration. toMethodDeclaration()
Optional<MethodDeclaration>
MethodDeclaration. toMethodDeclaration()
Optional<TypeDeclaration>
BodyDeclaration. toTypeDeclaration()
Optional<TypeDeclaration>
TypeDeclaration. toTypeDeclaration()
Constructors in com.github.javaparser.ast.body with annotations of type Generated Constructor Description 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(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.BodyDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations)
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(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(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(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(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(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables)
This constructor is used by the parser and is considered private.InitializerDeclaration(TokenRange tokenRange, boolean isStatic, BlockStmt body)
This constructor is used by the parser and is considered private.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(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.ReceiverParameter(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Type type, Name name)
This constructor is used by the parser and is considered private.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(TokenRange tokenRange, Type type, SimpleName name, Expression initializer)
This constructor is used by the parser and is considered private. -
Uses of Generated in com.github.javaparser.ast.comments
Methods in com.github.javaparser.ast.comments with annotations of type Generated Modifier and Type Method Description <R,A>
RBlockComment. accept(GenericVisitor<R,A> v, A arg)
<A> void
BlockComment. accept(VoidVisitor<A> v, A arg)
<R,A>
RJavadocComment. accept(GenericVisitor<R,A> v, A arg)
<A> void
JavadocComment. accept(VoidVisitor<A> v, A arg)
<R,A>
RLineComment. accept(GenericVisitor<R,A> v, A arg)
<A> void
LineComment. accept(VoidVisitor<A> v, A arg)
BlockComment
BlockComment. asBlockComment()
BlockComment
Comment. asBlockComment()
JavadocComment
Comment. asJavadocComment()
JavadocComment
JavadocComment. asJavadocComment()
LineComment
Comment. asLineComment()
LineComment
LineComment. asLineComment()
BlockComment
BlockComment. clone()
Comment
Comment. clone()
JavadocComment
JavadocComment. clone()
LineComment
LineComment. clone()
String
Comment. getContent()
Return the text of the comment.BlockCommentMetaModel
BlockComment. getMetaModel()
CommentMetaModel
Comment. getMetaModel()
JavadocCommentMetaModel
JavadocComment. getMetaModel()
LineCommentMetaModel
LineComment. getMetaModel()
void
BlockComment. ifBlockComment(Consumer<BlockComment> action)
void
Comment. ifBlockComment(Consumer<BlockComment> action)
void
Comment. ifJavadocComment(Consumer<JavadocComment> action)
void
JavadocComment. ifJavadocComment(Consumer<JavadocComment> action)
void
Comment. ifLineComment(Consumer<LineComment> action)
void
LineComment. ifLineComment(Consumer<LineComment> action)
boolean
BlockComment. isBlockComment()
boolean
Comment. isBlockComment()
boolean
Comment. isJavadocComment()
boolean
JavadocComment. isJavadocComment()
boolean
Comment. isLineComment()
boolean
LineComment. isLineComment()
boolean
BlockComment. remove(Node node)
boolean
Comment. remove(Node node)
boolean
JavadocComment. remove(Node node)
boolean
LineComment. remove(Node node)
boolean
BlockComment. replace(Node node, Node replacementNode)
boolean
Comment. replace(Node node, Node replacementNode)
boolean
JavadocComment. replace(Node node, Node replacementNode)
boolean
LineComment. replace(Node node, Node replacementNode)
Comment
Comment. setContent(String content)
Sets the text of the comment.Optional<BlockComment>
BlockComment. toBlockComment()
Optional<BlockComment>
Comment. toBlockComment()
Optional<JavadocComment>
Comment. toJavadocComment()
Optional<JavadocComment>
JavadocComment. toJavadocComment()
Optional<LineComment>
Comment. toLineComment()
Optional<LineComment>
LineComment. toLineComment()
Constructors in com.github.javaparser.ast.comments with annotations of type Generated Constructor Description BlockComment(TokenRange tokenRange, String content)
This constructor is used by the parser and is considered private.Comment(TokenRange tokenRange, String content)
This constructor is used by the parser and is considered private.JavadocComment(TokenRange tokenRange, String content)
This constructor is used by the parser and is considered private.LineComment(TokenRange tokenRange, String content)
This constructor is used by the parser and is considered private. -
Uses of Generated in com.github.javaparser.ast.expr
Methods in com.github.javaparser.ast.expr with annotations of type Generated Modifier and Type Method Description <R,A>
RArrayAccessExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
ArrayAccessExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RArrayCreationExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
ArrayCreationExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RArrayInitializerExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
ArrayInitializerExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RAssignExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
AssignExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RBinaryExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
BinaryExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RBooleanLiteralExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
BooleanLiteralExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RCastExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
CastExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RCharLiteralExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
CharLiteralExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RClassExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
ClassExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RConditionalExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
ConditionalExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RDoubleLiteralExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
DoubleLiteralExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
REnclosedExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
EnclosedExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RFieldAccessExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
FieldAccessExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RInstanceOfExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
InstanceOfExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RIntegerLiteralExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
IntegerLiteralExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RLambdaExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
LambdaExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RLongLiteralExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
LongLiteralExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RMarkerAnnotationExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
MarkerAnnotationExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RMemberValuePair. accept(GenericVisitor<R,A> v, A arg)
<A> void
MemberValuePair. accept(VoidVisitor<A> v, A arg)
<R,A>
RMethodCallExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
MethodCallExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RMethodReferenceExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
MethodReferenceExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RName. accept(GenericVisitor<R,A> v, A arg)
<A> void
Name. accept(VoidVisitor<A> v, A arg)
<R,A>
RNameExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
NameExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RNormalAnnotationExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
NormalAnnotationExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RNullLiteralExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
NullLiteralExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RObjectCreationExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
ObjectCreationExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RSimpleName. accept(GenericVisitor<R,A> v, A arg)
<A> void
SimpleName. accept(VoidVisitor<A> v, A arg)
<R,A>
RSingleMemberAnnotationExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
SingleMemberAnnotationExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RStringLiteralExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
StringLiteralExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RSuperExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
SuperExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RSwitchExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
SwitchExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RTextBlockLiteralExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
TextBlockLiteralExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RThisExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
ThisExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RTypeExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
TypeExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RUnaryExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
UnaryExpr. accept(VoidVisitor<A> v, A arg)
<R,A>
RVariableDeclarationExpr. accept(GenericVisitor<R,A> v, A arg)
<A> void
VariableDeclarationExpr. accept(VoidVisitor<A> v, A arg)
AnnotationExpr
AnnotationExpr. asAnnotationExpr()
AnnotationExpr
Expression. asAnnotationExpr()
ArrayAccessExpr
ArrayAccessExpr. asArrayAccessExpr()
ArrayAccessExpr
Expression. asArrayAccessExpr()
ArrayCreationExpr
ArrayCreationExpr. asArrayCreationExpr()
ArrayCreationExpr
Expression. asArrayCreationExpr()
ArrayInitializerExpr
ArrayInitializerExpr. asArrayInitializerExpr()
ArrayInitializerExpr
Expression. asArrayInitializerExpr()
AssignExpr
AssignExpr. asAssignExpr()
AssignExpr
Expression. asAssignExpr()
BinaryExpr
BinaryExpr. asBinaryExpr()
BinaryExpr
Expression. asBinaryExpr()
BooleanLiteralExpr
BooleanLiteralExpr. asBooleanLiteralExpr()
BooleanLiteralExpr
Expression. asBooleanLiteralExpr()
CastExpr
CastExpr. asCastExpr()
CastExpr
Expression. asCastExpr()
CharLiteralExpr
CharLiteralExpr. asCharLiteralExpr()
CharLiteralExpr
Expression. asCharLiteralExpr()
ClassExpr
ClassExpr. asClassExpr()
ClassExpr
Expression. asClassExpr()
ConditionalExpr
ConditionalExpr. asConditionalExpr()
ConditionalExpr
Expression. asConditionalExpr()
DoubleLiteralExpr
DoubleLiteralExpr. asDoubleLiteralExpr()
DoubleLiteralExpr
Expression. asDoubleLiteralExpr()
EnclosedExpr
EnclosedExpr. asEnclosedExpr()
EnclosedExpr
Expression. asEnclosedExpr()
FieldAccessExpr
Expression. asFieldAccessExpr()
FieldAccessExpr
FieldAccessExpr. asFieldAccessExpr()
InstanceOfExpr
Expression. asInstanceOfExpr()
InstanceOfExpr
InstanceOfExpr. asInstanceOfExpr()
IntegerLiteralExpr
Expression. asIntegerLiteralExpr()
IntegerLiteralExpr
IntegerLiteralExpr. asIntegerLiteralExpr()
LambdaExpr
Expression. asLambdaExpr()
LambdaExpr
LambdaExpr. asLambdaExpr()
LiteralExpr
Expression. asLiteralExpr()
LiteralExpr
LiteralExpr. asLiteralExpr()
LiteralStringValueExpr
Expression. asLiteralStringValueExpr()
LiteralStringValueExpr
LiteralStringValueExpr. asLiteralStringValueExpr()
LongLiteralExpr
Expression. asLongLiteralExpr()
LongLiteralExpr
LongLiteralExpr. asLongLiteralExpr()
MarkerAnnotationExpr
Expression. asMarkerAnnotationExpr()
MarkerAnnotationExpr
MarkerAnnotationExpr. asMarkerAnnotationExpr()
MethodCallExpr
Expression. asMethodCallExpr()
MethodCallExpr
MethodCallExpr. asMethodCallExpr()
MethodReferenceExpr
Expression. asMethodReferenceExpr()
MethodReferenceExpr
MethodReferenceExpr. asMethodReferenceExpr()
NameExpr
Expression. asNameExpr()
NameExpr
NameExpr. asNameExpr()
NormalAnnotationExpr
Expression. asNormalAnnotationExpr()
NormalAnnotationExpr
NormalAnnotationExpr. asNormalAnnotationExpr()
NullLiteralExpr
Expression. asNullLiteralExpr()
NullLiteralExpr
NullLiteralExpr. asNullLiteralExpr()
ObjectCreationExpr
Expression. asObjectCreationExpr()
ObjectCreationExpr
ObjectCreationExpr. asObjectCreationExpr()
SingleMemberAnnotationExpr
Expression. asSingleMemberAnnotationExpr()
SingleMemberAnnotationExpr
SingleMemberAnnotationExpr. asSingleMemberAnnotationExpr()
StringLiteralExpr
Expression. asStringLiteralExpr()
StringLiteralExpr
StringLiteralExpr. asStringLiteralExpr()
SuperExpr
Expression. asSuperExpr()
SuperExpr
SuperExpr. asSuperExpr()
SwitchExpr
Expression. asSwitchExpr()
SwitchExpr
SwitchExpr. asSwitchExpr()
TextBlockLiteralExpr
Expression. asTextBlockLiteralExpr()
TextBlockLiteralExpr
TextBlockLiteralExpr. asTextBlockLiteralExpr()
ThisExpr
Expression. asThisExpr()
ThisExpr
ThisExpr. asThisExpr()
TypeExpr
Expression. asTypeExpr()
TypeExpr
TypeExpr. asTypeExpr()
UnaryExpr
Expression. asUnaryExpr()
UnaryExpr
UnaryExpr. asUnaryExpr()
VariableDeclarationExpr
Expression. asVariableDeclarationExpr()
VariableDeclarationExpr
VariableDeclarationExpr. asVariableDeclarationExpr()
AnnotationExpr
AnnotationExpr. clone()
ArrayAccessExpr
ArrayAccessExpr. clone()
ArrayCreationExpr
ArrayCreationExpr. clone()
ArrayInitializerExpr
ArrayInitializerExpr. clone()
AssignExpr
AssignExpr. clone()
BinaryExpr
BinaryExpr. clone()
BooleanLiteralExpr
BooleanLiteralExpr. clone()
CastExpr
CastExpr. clone()
CharLiteralExpr
CharLiteralExpr. clone()
ClassExpr
ClassExpr. clone()
ConditionalExpr
ConditionalExpr. clone()
DoubleLiteralExpr
DoubleLiteralExpr. clone()
EnclosedExpr
EnclosedExpr. clone()
Expression
Expression. clone()
FieldAccessExpr
FieldAccessExpr. clone()
InstanceOfExpr
InstanceOfExpr. clone()
IntegerLiteralExpr
IntegerLiteralExpr. clone()
LambdaExpr
LambdaExpr. clone()
LiteralExpr
LiteralExpr. clone()
LiteralStringValueExpr
LiteralStringValueExpr. clone()
LongLiteralExpr
LongLiteralExpr. clone()
MarkerAnnotationExpr
MarkerAnnotationExpr. clone()
MemberValuePair
MemberValuePair. clone()
MethodCallExpr
MethodCallExpr. clone()
MethodReferenceExpr
MethodReferenceExpr. clone()
Name
Name. clone()
NameExpr
NameExpr. clone()
NormalAnnotationExpr
NormalAnnotationExpr. clone()
NullLiteralExpr
NullLiteralExpr. clone()
ObjectCreationExpr
ObjectCreationExpr. clone()
SimpleName
SimpleName. clone()
SingleMemberAnnotationExpr
SingleMemberAnnotationExpr. clone()
StringLiteralExpr
StringLiteralExpr. clone()
SuperExpr
SuperExpr. clone()
SwitchExpr
SwitchExpr. clone()
TextBlockLiteralExpr
TextBlockLiteralExpr. clone()
ThisExpr
ThisExpr. clone()
TypeExpr
TypeExpr. clone()
UnaryExpr
UnaryExpr. clone()
VariableDeclarationExpr
VariableDeclarationExpr. clone()
NodeList<AnnotationExpr>
VariableDeclarationExpr. getAnnotations()
Optional<NodeList<BodyDeclaration<?>>>
ObjectCreationExpr. getAnonymousClassBody()
NodeList<Expression>
MethodCallExpr. getArguments()
NodeList<Expression>
ObjectCreationExpr. getArguments()
Statement
LambdaExpr. getBody()
Expression
ConditionalExpr. getCondition()
Type
ArrayCreationExpr. getElementType()
Expression
ConditionalExpr. getElseExpr()
NodeList<SwitchEntry>
SwitchExpr. getEntries()
Expression
CastExpr. getExpression()
Expression
InstanceOfExpr. getExpression()
Expression
UnaryExpr. getExpression()
String
MethodReferenceExpr. getIdentifier()
String
Name. getIdentifier()
String
SimpleName. getIdentifier()
Expression
ArrayAccessExpr. getIndex()
Optional<ArrayInitializerExpr>
ArrayCreationExpr. getInitializer()
Expression
EnclosedExpr. getInner()
Expression
BinaryExpr. getLeft()
NodeList<ArrayCreationLevel>
ArrayCreationExpr. getLevels()
Expression
SingleMemberAnnotationExpr. getMemberValue()
AnnotationExprMetaModel
AnnotationExpr. getMetaModel()
ArrayAccessExprMetaModel
ArrayAccessExpr. getMetaModel()
ArrayCreationExprMetaModel
ArrayCreationExpr. getMetaModel()
ArrayInitializerExprMetaModel
ArrayInitializerExpr. getMetaModel()
AssignExprMetaModel
AssignExpr. getMetaModel()
BinaryExprMetaModel
BinaryExpr. getMetaModel()
BooleanLiteralExprMetaModel
BooleanLiteralExpr. getMetaModel()
CastExprMetaModel
CastExpr. getMetaModel()
CharLiteralExprMetaModel
CharLiteralExpr. getMetaModel()
ClassExprMetaModel
ClassExpr. getMetaModel()
ConditionalExprMetaModel
ConditionalExpr. getMetaModel()
DoubleLiteralExprMetaModel
DoubleLiteralExpr. getMetaModel()
EnclosedExprMetaModel
EnclosedExpr. getMetaModel()
ExpressionMetaModel
Expression. getMetaModel()
FieldAccessExprMetaModel
FieldAccessExpr. getMetaModel()
InstanceOfExprMetaModel
InstanceOfExpr. getMetaModel()
IntegerLiteralExprMetaModel
IntegerLiteralExpr. getMetaModel()
LambdaExprMetaModel
LambdaExpr. getMetaModel()
LiteralExprMetaModel
LiteralExpr. getMetaModel()
LiteralStringValueExprMetaModel
LiteralStringValueExpr. getMetaModel()
LongLiteralExprMetaModel
LongLiteralExpr. getMetaModel()
MarkerAnnotationExprMetaModel
MarkerAnnotationExpr. getMetaModel()
MemberValuePairMetaModel
MemberValuePair. getMetaModel()
MethodCallExprMetaModel
MethodCallExpr. getMetaModel()
MethodReferenceExprMetaModel
MethodReferenceExpr. getMetaModel()
NameMetaModel
Name. getMetaModel()
NameExprMetaModel
NameExpr. getMetaModel()
NormalAnnotationExprMetaModel
NormalAnnotationExpr. getMetaModel()
NullLiteralExprMetaModel
NullLiteralExpr. getMetaModel()
ObjectCreationExprMetaModel
ObjectCreationExpr. getMetaModel()
SimpleNameMetaModel
SimpleName. getMetaModel()
SingleMemberAnnotationExprMetaModel
SingleMemberAnnotationExpr. getMetaModel()
StringLiteralExprMetaModel
StringLiteralExpr. getMetaModel()
SuperExprMetaModel
SuperExpr. getMetaModel()
SwitchExprMetaModel
SwitchExpr. getMetaModel()
TextBlockLiteralExprMetaModel
TextBlockLiteralExpr. getMetaModel()
ThisExprMetaModel
ThisExpr. getMetaModel()
TypeExprMetaModel
TypeExpr. getMetaModel()
UnaryExprMetaModel
UnaryExpr. getMetaModel()
VariableDeclarationExprMetaModel
VariableDeclarationExpr. getMetaModel()
NodeList<Modifier>
VariableDeclarationExpr. getModifiers()
Return the modifiers of this variable declaration.Name
AnnotationExpr. getName()
Expression
ArrayAccessExpr. getName()
SimpleName
FieldAccessExpr. getName()
SimpleName
MemberValuePair. getName()
SimpleName
MethodCallExpr. getName()
SimpleName
NameExpr. getName()
AssignExpr.Operator
AssignExpr. getOperator()
BinaryExpr.Operator
BinaryExpr. getOperator()
UnaryExpr.Operator
UnaryExpr. getOperator()
NodeList<MemberValuePair>
NormalAnnotationExpr. getPairs()
NodeList<Parameter>
LambdaExpr. getParameters()
Optional<Name>
Name. getQualifier()
Expression
BinaryExpr. getRight()
Expression
FieldAccessExpr. getScope()
Optional<Expression>
MethodCallExpr. getScope()
Expression
MethodReferenceExpr. getScope()
Optional<Expression>
ObjectCreationExpr. getScope()
Expression
SwitchExpr. getSelector()
Expression
AssignExpr. getTarget()
Expression
ConditionalExpr. getThenExpr()
Type
CastExpr. getType()
Type
ClassExpr. getType()
ReferenceType
InstanceOfExpr. getType()
ClassOrInterfaceType
ObjectCreationExpr. getType()
Type
TypeExpr. getType()
Optional<NodeList<Type>>
FieldAccessExpr. getTypeArguments()
Optional<NodeList<Type>>
MethodCallExpr. getTypeArguments()
Optional<NodeList<Type>>
MethodReferenceExpr. getTypeArguments()
Optional<NodeList<Type>>
ObjectCreationExpr. getTypeArguments()
Optional<Name>
SuperExpr. getTypeName()
Optional<Name>
ThisExpr. getTypeName()
Expression
AssignExpr. getValue()
String
LiteralStringValueExpr. getValue()
Expression
MemberValuePair. getValue()
NodeList<Expression>
ArrayInitializerExpr. getValues()
NodeList<VariableDeclarator>
VariableDeclarationExpr. getVariables()
void
AnnotationExpr. ifAnnotationExpr(Consumer<AnnotationExpr> action)
void
Expression. ifAnnotationExpr(Consumer<AnnotationExpr> action)
void
ArrayAccessExpr. ifArrayAccessExpr(Consumer<ArrayAccessExpr> action)
void
Expression. ifArrayAccessExpr(Consumer<ArrayAccessExpr> action)
void
ArrayCreationExpr. ifArrayCreationExpr(Consumer<ArrayCreationExpr> action)
void
Expression. ifArrayCreationExpr(Consumer<ArrayCreationExpr> action)
void
ArrayInitializerExpr. ifArrayInitializerExpr(Consumer<ArrayInitializerExpr> action)
void
Expression. ifArrayInitializerExpr(Consumer<ArrayInitializerExpr> action)
void
AssignExpr. ifAssignExpr(Consumer<AssignExpr> action)
void
Expression. ifAssignExpr(Consumer<AssignExpr> action)
void
BinaryExpr. ifBinaryExpr(Consumer<BinaryExpr> action)
void
Expression. ifBinaryExpr(Consumer<BinaryExpr> action)
void
BooleanLiteralExpr. ifBooleanLiteralExpr(Consumer<BooleanLiteralExpr> action)
void
Expression. ifBooleanLiteralExpr(Consumer<BooleanLiteralExpr> action)
void
CastExpr. ifCastExpr(Consumer<CastExpr> action)
void
Expression. ifCastExpr(Consumer<CastExpr> action)
void
CharLiteralExpr. ifCharLiteralExpr(Consumer<CharLiteralExpr> action)
void
Expression. ifCharLiteralExpr(Consumer<CharLiteralExpr> action)
void
ClassExpr. ifClassExpr(Consumer<ClassExpr> action)
void
Expression. ifClassExpr(Consumer<ClassExpr> action)
void
ConditionalExpr. ifConditionalExpr(Consumer<ConditionalExpr> action)
void
Expression. ifConditionalExpr(Consumer<ConditionalExpr> action)
void
DoubleLiteralExpr. ifDoubleLiteralExpr(Consumer<DoubleLiteralExpr> action)
void
Expression. ifDoubleLiteralExpr(Consumer<DoubleLiteralExpr> action)
void
EnclosedExpr. ifEnclosedExpr(Consumer<EnclosedExpr> action)
void
Expression. ifEnclosedExpr(Consumer<EnclosedExpr> action)
void
Expression. ifFieldAccessExpr(Consumer<FieldAccessExpr> action)
void
FieldAccessExpr. ifFieldAccessExpr(Consumer<FieldAccessExpr> action)
void
Expression. ifInstanceOfExpr(Consumer<InstanceOfExpr> action)
void
InstanceOfExpr. ifInstanceOfExpr(Consumer<InstanceOfExpr> action)
void
Expression. ifIntegerLiteralExpr(Consumer<IntegerLiteralExpr> action)
void
IntegerLiteralExpr. ifIntegerLiteralExpr(Consumer<IntegerLiteralExpr> action)
void
Expression. ifLambdaExpr(Consumer<LambdaExpr> action)
void
LambdaExpr. ifLambdaExpr(Consumer<LambdaExpr> action)
void
Expression. ifLiteralExpr(Consumer<LiteralExpr> action)
void
LiteralExpr. ifLiteralExpr(Consumer<LiteralExpr> action)
void
Expression. ifLiteralStringValueExpr(Consumer<LiteralStringValueExpr> action)
void
LiteralStringValueExpr. ifLiteralStringValueExpr(Consumer<LiteralStringValueExpr> action)
void
Expression. ifLongLiteralExpr(Consumer<LongLiteralExpr> action)
void
LongLiteralExpr. ifLongLiteralExpr(Consumer<LongLiteralExpr> action)
void
Expression. ifMarkerAnnotationExpr(Consumer<MarkerAnnotationExpr> action)
void
MarkerAnnotationExpr. ifMarkerAnnotationExpr(Consumer<MarkerAnnotationExpr> action)
void
Expression. ifMethodCallExpr(Consumer<MethodCallExpr> action)
void
MethodCallExpr. ifMethodCallExpr(Consumer<MethodCallExpr> action)
void
Expression. ifMethodReferenceExpr(Consumer<MethodReferenceExpr> action)
void
MethodReferenceExpr. ifMethodReferenceExpr(Consumer<MethodReferenceExpr> action)
void
Expression. ifNameExpr(Consumer<NameExpr> action)
void
NameExpr. ifNameExpr(Consumer<NameExpr> action)
void
Expression. ifNormalAnnotationExpr(Consumer<NormalAnnotationExpr> action)
void
NormalAnnotationExpr. ifNormalAnnotationExpr(Consumer<NormalAnnotationExpr> action)
void
Expression. ifNullLiteralExpr(Consumer<NullLiteralExpr> action)
void
NullLiteralExpr. ifNullLiteralExpr(Consumer<NullLiteralExpr> action)
void
Expression. ifObjectCreationExpr(Consumer<ObjectCreationExpr> action)
void
ObjectCreationExpr. ifObjectCreationExpr(Consumer<ObjectCreationExpr> action)
void
Expression. ifSingleMemberAnnotationExpr(Consumer<SingleMemberAnnotationExpr> action)
void
SingleMemberAnnotationExpr. ifSingleMemberAnnotationExpr(Consumer<SingleMemberAnnotationExpr> action)
void
Expression. ifStringLiteralExpr(Consumer<StringLiteralExpr> action)
void
StringLiteralExpr. ifStringLiteralExpr(Consumer<StringLiteralExpr> action)
void
Expression. ifSuperExpr(Consumer<SuperExpr> action)
void
SuperExpr. ifSuperExpr(Consumer<SuperExpr> action)
void
Expression. ifSwitchExpr(Consumer<SwitchExpr> action)
void
SwitchExpr. ifSwitchExpr(Consumer<SwitchExpr> action)
void
Expression. ifTextBlockLiteralExpr(Consumer<TextBlockLiteralExpr> action)
void
TextBlockLiteralExpr. ifTextBlockLiteralExpr(Consumer<TextBlockLiteralExpr> action)
void
Expression. ifThisExpr(Consumer<ThisExpr> action)
void
ThisExpr. ifThisExpr(Consumer<ThisExpr> action)
void
Expression. ifTypeExpr(Consumer<TypeExpr> action)
void
TypeExpr. ifTypeExpr(Consumer<TypeExpr> action)
void
Expression. ifUnaryExpr(Consumer<UnaryExpr> action)
void
UnaryExpr. ifUnaryExpr(Consumer<UnaryExpr> action)
void
Expression. ifVariableDeclarationExpr(Consumer<VariableDeclarationExpr> action)
void
VariableDeclarationExpr. ifVariableDeclarationExpr(Consumer<VariableDeclarationExpr> action)
boolean
AnnotationExpr. isAnnotationExpr()
boolean
Expression. isAnnotationExpr()
boolean
ArrayAccessExpr. isArrayAccessExpr()
boolean
Expression. isArrayAccessExpr()
boolean
ArrayCreationExpr. isArrayCreationExpr()
boolean
Expression. isArrayCreationExpr()
boolean
ArrayInitializerExpr. isArrayInitializerExpr()
boolean
Expression. isArrayInitializerExpr()
boolean
AssignExpr. isAssignExpr()
boolean
Expression. isAssignExpr()
boolean
BinaryExpr. isBinaryExpr()
boolean
Expression. isBinaryExpr()
boolean
BooleanLiteralExpr. isBooleanLiteralExpr()
boolean
Expression. isBooleanLiteralExpr()
boolean
CastExpr. isCastExpr()
boolean
Expression. isCastExpr()
boolean
CharLiteralExpr. isCharLiteralExpr()
boolean
Expression. isCharLiteralExpr()
boolean
ClassExpr. isClassExpr()
boolean
Expression. isClassExpr()
boolean
ConditionalExpr. isConditionalExpr()
boolean
Expression. isConditionalExpr()
boolean
DoubleLiteralExpr. isDoubleLiteralExpr()
boolean
Expression. isDoubleLiteralExpr()
boolean
EnclosedExpr. isEnclosedExpr()
boolean
Expression. isEnclosedExpr()
boolean
LambdaExpr. isEnclosingParameters()
boolean
Expression. isFieldAccessExpr()
boolean
FieldAccessExpr. isFieldAccessExpr()
boolean
Expression. isInstanceOfExpr()
boolean
InstanceOfExpr. isInstanceOfExpr()
boolean
Expression. isIntegerLiteralExpr()
boolean
IntegerLiteralExpr. isIntegerLiteralExpr()
boolean
Expression. isLambdaExpr()
boolean
LambdaExpr. isLambdaExpr()
boolean
Expression. isLiteralExpr()
boolean
LiteralExpr. isLiteralExpr()
boolean
Expression. isLiteralStringValueExpr()
boolean
LiteralStringValueExpr. isLiteralStringValueExpr()
boolean
Expression. isLongLiteralExpr()
boolean
LongLiteralExpr. isLongLiteralExpr()
boolean
Expression. isMarkerAnnotationExpr()
boolean
MarkerAnnotationExpr. isMarkerAnnotationExpr()
boolean
Expression. isMethodCallExpr()
boolean
MethodCallExpr. isMethodCallExpr()
boolean
Expression. isMethodReferenceExpr()
boolean
MethodReferenceExpr. isMethodReferenceExpr()
boolean
Expression. isNameExpr()
boolean
NameExpr. isNameExpr()
boolean
Expression. isNormalAnnotationExpr()
boolean
NormalAnnotationExpr. isNormalAnnotationExpr()
boolean
Expression. isNullLiteralExpr()
boolean
NullLiteralExpr. isNullLiteralExpr()
boolean
Expression. isObjectCreationExpr()
boolean
ObjectCreationExpr. isObjectCreationExpr()
boolean
Expression. isSingleMemberAnnotationExpr()
boolean
SingleMemberAnnotationExpr. isSingleMemberAnnotationExpr()
boolean
Expression. isStringLiteralExpr()
boolean
StringLiteralExpr. isStringLiteralExpr()
boolean
Expression. isSuperExpr()
boolean
SuperExpr. isSuperExpr()
boolean
Expression. isSwitchExpr()
boolean
SwitchExpr. isSwitchExpr()
boolean
Expression. isTextBlockLiteralExpr()
boolean
TextBlockLiteralExpr. isTextBlockLiteralExpr()
boolean
Expression. isThisExpr()
boolean
ThisExpr. isThisExpr()
boolean
Expression. isTypeExpr()
boolean
TypeExpr. isTypeExpr()
boolean
Expression. isUnaryExpr()
boolean
UnaryExpr. isUnaryExpr()
boolean
BooleanLiteralExpr. isValue()
The code generator likes to generate an "is" getter for boolean, so this here is the generated version, but "getValue" does the same and makes more sense.boolean
Expression. isVariableDeclarationExpr()
boolean
VariableDeclarationExpr. isVariableDeclarationExpr()
boolean
AnnotationExpr. remove(Node node)
boolean
ArrayAccessExpr. remove(Node node)
boolean
ArrayCreationExpr. remove(Node node)
boolean
ArrayInitializerExpr. remove(Node node)
boolean
AssignExpr. remove(Node node)
boolean
BinaryExpr. remove(Node node)
boolean
BooleanLiteralExpr. remove(Node node)
boolean
CastExpr. remove(Node node)
boolean
CharLiteralExpr. remove(Node node)
boolean
ClassExpr. remove(Node node)
boolean
ConditionalExpr. remove(Node node)
boolean
DoubleLiteralExpr. remove(Node node)
boolean
EnclosedExpr. remove(Node node)
boolean
Expression. remove(Node node)
boolean
FieldAccessExpr. remove(Node node)
boolean
InstanceOfExpr. remove(Node node)
boolean
IntegerLiteralExpr. remove(Node node)
boolean
LambdaExpr. remove(Node node)
boolean
LiteralExpr. remove(Node node)
boolean
LiteralStringValueExpr. remove(Node node)
boolean
LongLiteralExpr. remove(Node node)
boolean
MarkerAnnotationExpr. remove(Node node)
boolean
MemberValuePair. remove(Node node)
boolean
MethodCallExpr. remove(Node node)
boolean
MethodReferenceExpr. remove(Node node)
boolean
Name. remove(Node node)
boolean
NameExpr. remove(Node node)
boolean
NormalAnnotationExpr. remove(Node node)
boolean
NullLiteralExpr. remove(Node node)
boolean
ObjectCreationExpr. remove(Node node)
boolean
SimpleName. remove(Node node)
boolean
SingleMemberAnnotationExpr. remove(Node node)
boolean
StringLiteralExpr. remove(Node node)
boolean
SuperExpr. remove(Node node)
boolean
SwitchExpr. remove(Node node)
boolean
TextBlockLiteralExpr. remove(Node node)
boolean
ThisExpr. remove(Node node)
boolean
TypeExpr. remove(Node node)
boolean
UnaryExpr. remove(Node node)
boolean
VariableDeclarationExpr. remove(Node node)
SuperExpr
SuperExpr. removeClassName()
ThisExpr
ThisExpr. removeClassName()
ArrayCreationExpr
ArrayCreationExpr. removeInitializer()
Name
Name. removeQualifier()
MethodCallExpr
MethodCallExpr. removeScope()
ObjectCreationExpr
ObjectCreationExpr. removeScope()
SuperExpr
SuperExpr. removeTypeName()
ThisExpr
ThisExpr. removeTypeName()
boolean
AnnotationExpr. replace(Node node, Node replacementNode)
boolean
ArrayAccessExpr. replace(Node node, Node replacementNode)
boolean
ArrayCreationExpr. replace(Node node, Node replacementNode)
boolean
ArrayInitializerExpr. replace(Node node, Node replacementNode)
boolean
AssignExpr. replace(Node node, Node replacementNode)
boolean
BinaryExpr. replace(Node node, Node replacementNode)
boolean
BooleanLiteralExpr. replace(Node node, Node replacementNode)
boolean
CastExpr. replace(Node node, Node replacementNode)
boolean
CharLiteralExpr. replace(Node node, Node replacementNode)
boolean
ClassExpr. replace(Node node, Node replacementNode)
boolean
ConditionalExpr. replace(Node node, Node replacementNode)
boolean
DoubleLiteralExpr. replace(Node node, Node replacementNode)
boolean
EnclosedExpr. replace(Node node, Node replacementNode)
boolean
Expression. replace(Node node, Node replacementNode)
boolean
FieldAccessExpr. replace(Node node, Node replacementNode)
boolean
InstanceOfExpr. replace(Node node, Node replacementNode)
boolean
IntegerLiteralExpr. replace(Node node, Node replacementNode)
boolean
LambdaExpr. replace(Node node, Node replacementNode)
boolean
LiteralExpr. replace(Node node, Node replacementNode)
boolean
LiteralStringValueExpr. replace(Node node, Node replacementNode)
boolean
LongLiteralExpr. replace(Node node, Node replacementNode)
boolean
MarkerAnnotationExpr. replace(Node node, Node replacementNode)
boolean
MemberValuePair. replace(Node node, Node replacementNode)
boolean
MethodCallExpr. replace(Node node, Node replacementNode)
boolean
MethodReferenceExpr. replace(Node node, Node replacementNode)
boolean
Name. replace(Node node, Node replacementNode)
boolean
NameExpr. replace(Node node, Node replacementNode)
boolean
NormalAnnotationExpr. replace(Node node, Node replacementNode)
boolean
NullLiteralExpr. replace(Node node, Node replacementNode)
boolean
ObjectCreationExpr. replace(Node node, Node replacementNode)
boolean
SimpleName. replace(Node node, Node replacementNode)
boolean
SingleMemberAnnotationExpr. replace(Node node, Node replacementNode)
boolean
StringLiteralExpr. replace(Node node, Node replacementNode)
boolean
SuperExpr. replace(Node node, Node replacementNode)
boolean
SwitchExpr. replace(Node node, Node replacementNode)
boolean
TextBlockLiteralExpr. replace(Node node, Node replacementNode)
boolean
ThisExpr. replace(Node node, Node replacementNode)
boolean
TypeExpr. replace(Node node, Node replacementNode)
boolean
UnaryExpr. replace(Node node, Node replacementNode)
boolean
VariableDeclarationExpr. replace(Node node, Node replacementNode)
VariableDeclarationExpr
VariableDeclarationExpr. setAnnotations(NodeList<AnnotationExpr> annotations)
ObjectCreationExpr
ObjectCreationExpr. setAnonymousClassBody(NodeList<BodyDeclaration<?>> anonymousClassBody)
Sets the anonymousClassBody
Null means no class body
Empty NodeList means new ClassName(){ }MethodCallExpr
MethodCallExpr. setArguments(NodeList<Expression> arguments)
ObjectCreationExpr
ObjectCreationExpr. setArguments(NodeList<Expression> arguments)
LambdaExpr
LambdaExpr. setBody(Statement body)
ConditionalExpr
ConditionalExpr. setCondition(Expression condition)
ArrayCreationExpr
ArrayCreationExpr. setElementType(Type elementType)
ConditionalExpr
ConditionalExpr. setElseExpr(Expression elseExpr)
LambdaExpr
LambdaExpr. setEnclosingParameters(boolean isEnclosingParameters)
SwitchExpr
SwitchExpr. setEntries(NodeList<SwitchEntry> entries)
CastExpr
CastExpr. setExpression(Expression expression)
InstanceOfExpr
InstanceOfExpr. setExpression(Expression expression)
UnaryExpr
UnaryExpr. setExpression(Expression expression)
MethodReferenceExpr
MethodReferenceExpr. setIdentifier(String identifier)
Name
Name. setIdentifier(String identifier)
SimpleName
SimpleName. setIdentifier(String identifier)
ArrayAccessExpr
ArrayAccessExpr. setIndex(Expression index)
ArrayCreationExpr
ArrayCreationExpr. setInitializer(ArrayInitializerExpr initializer)
Sets the initializerEnclosedExpr
EnclosedExpr. setInner(Expression inner)
Sets the inner expressionBinaryExpr
BinaryExpr. setLeft(Expression left)
ArrayCreationExpr
ArrayCreationExpr. setLevels(NodeList<ArrayCreationLevel> levels)
SingleMemberAnnotationExpr
SingleMemberAnnotationExpr. setMemberValue(Expression memberValue)
VariableDeclarationExpr
VariableDeclarationExpr. setModifiers(NodeList<Modifier> modifiers)
AnnotationExpr
AnnotationExpr. setName(Name name)
ArrayAccessExpr
ArrayAccessExpr. setName(Expression name)
FieldAccessExpr
FieldAccessExpr. setName(SimpleName name)
MemberValuePair
MemberValuePair. setName(SimpleName name)
MethodCallExpr
MethodCallExpr. setName(SimpleName name)
NameExpr
NameExpr. setName(SimpleName name)
AssignExpr
AssignExpr. setOperator(AssignExpr.Operator operator)
BinaryExpr
BinaryExpr. setOperator(BinaryExpr.Operator operator)
UnaryExpr
UnaryExpr. setOperator(UnaryExpr.Operator operator)
NormalAnnotationExpr
NormalAnnotationExpr. setPairs(NodeList<MemberValuePair> pairs)
LambdaExpr
LambdaExpr. setParameters(NodeList<Parameter> parameters)
Name
Name. setQualifier(Name qualifier)
BinaryExpr
BinaryExpr. setRight(Expression right)
FieldAccessExpr
FieldAccessExpr. setScope(Expression scope)
Sets the scopeMethodCallExpr
MethodCallExpr. setScope(Expression scope)
MethodReferenceExpr
MethodReferenceExpr. setScope(Expression scope)
ObjectCreationExpr
ObjectCreationExpr. setScope(Expression scope)
Sets the scopeSwitchExpr
SwitchExpr. setSelector(Expression selector)
AssignExpr
AssignExpr. setTarget(Expression target)
ConditionalExpr
ConditionalExpr. setThenExpr(Expression thenExpr)
CastExpr
CastExpr. setType(Type type)
ClassExpr
ClassExpr. setType(Type type)
InstanceOfExpr
InstanceOfExpr. setType(ReferenceType type)
ObjectCreationExpr
ObjectCreationExpr. setType(ClassOrInterfaceType type)
TypeExpr
TypeExpr. setType(Type type)
FieldAccessExpr
FieldAccessExpr. setTypeArguments(NodeList<Type> typeArguments)
Sets the type argumentsMethodCallExpr
MethodCallExpr. setTypeArguments(NodeList<Type> typeArguments)
Sets the typeArgumentsMethodReferenceExpr
MethodReferenceExpr. setTypeArguments(NodeList<Type> typeArguments)
Sets the typeArgumentsObjectCreationExpr
ObjectCreationExpr. setTypeArguments(NodeList<Type> typeArguments)
Sets the typeArgumentsSuperExpr
SuperExpr. setTypeName(Name typeName)
ThisExpr
ThisExpr. setTypeName(Name typeName)
AssignExpr
AssignExpr. setValue(Expression value)
BooleanLiteralExpr
BooleanLiteralExpr. setValue(boolean value)
LiteralStringValueExpr
LiteralStringValueExpr. setValue(String value)
MemberValuePair
MemberValuePair. setValue(Expression value)
ArrayInitializerExpr
ArrayInitializerExpr. setValues(NodeList<Expression> values)
VariableDeclarationExpr
VariableDeclarationExpr. setVariables(NodeList<VariableDeclarator> variables)
Optional<AnnotationExpr>
AnnotationExpr. toAnnotationExpr()
Optional<AnnotationExpr>
Expression. toAnnotationExpr()
Optional<ArrayAccessExpr>
ArrayAccessExpr. toArrayAccessExpr()
Optional<ArrayAccessExpr>
Expression. toArrayAccessExpr()
Optional<ArrayCreationExpr>
ArrayCreationExpr. toArrayCreationExpr()
Optional<ArrayCreationExpr>
Expression. toArrayCreationExpr()
Optional<ArrayInitializerExpr>
ArrayInitializerExpr. toArrayInitializerExpr()
Optional<ArrayInitializerExpr>
Expression. toArrayInitializerExpr()
Optional<AssignExpr>
AssignExpr. toAssignExpr()
Optional<AssignExpr>
Expression. toAssignExpr()
Optional<BinaryExpr>
BinaryExpr. toBinaryExpr()
Optional<BinaryExpr>
Expression. toBinaryExpr()
Optional<BooleanLiteralExpr>
BooleanLiteralExpr. toBooleanLiteralExpr()
Optional<BooleanLiteralExpr>
Expression. toBooleanLiteralExpr()
Optional<CastExpr>
CastExpr. toCastExpr()
Optional<CastExpr>
Expression. toCastExpr()
Optional<CharLiteralExpr>
CharLiteralExpr. toCharLiteralExpr()
Optional<CharLiteralExpr>
Expression. toCharLiteralExpr()
Optional<ClassExpr>
ClassExpr. toClassExpr()
Optional<ClassExpr>
Expression. toClassExpr()
Optional<ConditionalExpr>
ConditionalExpr. toConditionalExpr()
Optional<ConditionalExpr>
Expression. toConditionalExpr()
Optional<DoubleLiteralExpr>
DoubleLiteralExpr. toDoubleLiteralExpr()
Optional<DoubleLiteralExpr>
Expression. toDoubleLiteralExpr()
Optional<EnclosedExpr>
EnclosedExpr. toEnclosedExpr()
Optional<EnclosedExpr>
Expression. toEnclosedExpr()
Optional<FieldAccessExpr>
Expression. toFieldAccessExpr()
Optional<FieldAccessExpr>
FieldAccessExpr. toFieldAccessExpr()
Optional<InstanceOfExpr>
Expression. toInstanceOfExpr()
Optional<InstanceOfExpr>
InstanceOfExpr. toInstanceOfExpr()
Optional<IntegerLiteralExpr>
Expression. toIntegerLiteralExpr()
Optional<IntegerLiteralExpr>
IntegerLiteralExpr. toIntegerLiteralExpr()
Optional<LambdaExpr>
Expression. toLambdaExpr()
Optional<LambdaExpr>
LambdaExpr. toLambdaExpr()
Optional<LiteralExpr>
Expression. toLiteralExpr()
Optional<LiteralExpr>
LiteralExpr. toLiteralExpr()
Optional<LiteralStringValueExpr>
Expression. toLiteralStringValueExpr()
Optional<LiteralStringValueExpr>
LiteralStringValueExpr. toLiteralStringValueExpr()
Optional<LongLiteralExpr>
Expression. toLongLiteralExpr()
Optional<LongLiteralExpr>
LongLiteralExpr. toLongLiteralExpr()
Optional<MarkerAnnotationExpr>
Expression. toMarkerAnnotationExpr()
Optional<MarkerAnnotationExpr>
MarkerAnnotationExpr. toMarkerAnnotationExpr()
Optional<MethodCallExpr>
Expression. toMethodCallExpr()
Optional<MethodCallExpr>
MethodCallExpr. toMethodCallExpr()
Optional<MethodReferenceExpr>
Expression. toMethodReferenceExpr()
Optional<MethodReferenceExpr>
MethodReferenceExpr. toMethodReferenceExpr()
Optional<NameExpr>
Expression. toNameExpr()
Optional<NameExpr>
NameExpr. toNameExpr()
Optional<NormalAnnotationExpr>
Expression. toNormalAnnotationExpr()
Optional<NormalAnnotationExpr>
NormalAnnotationExpr. toNormalAnnotationExpr()
Optional<NullLiteralExpr>
Expression. toNullLiteralExpr()
Optional<NullLiteralExpr>
NullLiteralExpr. toNullLiteralExpr()
Optional<ObjectCreationExpr>
Expression. toObjectCreationExpr()
Optional<ObjectCreationExpr>
ObjectCreationExpr. toObjectCreationExpr()
Optional<SingleMemberAnnotationExpr>
Expression. toSingleMemberAnnotationExpr()
Optional<SingleMemberAnnotationExpr>
SingleMemberAnnotationExpr. toSingleMemberAnnotationExpr()
Optional<StringLiteralExpr>
Expression. toStringLiteralExpr()
Optional<StringLiteralExpr>
StringLiteralExpr. toStringLiteralExpr()
Optional<SuperExpr>
Expression. toSuperExpr()
Optional<SuperExpr>
SuperExpr. toSuperExpr()
Optional<SwitchExpr>
Expression. toSwitchExpr()
Optional<SwitchExpr>
SwitchExpr. toSwitchExpr()
Optional<TextBlockLiteralExpr>
Expression. toTextBlockLiteralExpr()
Optional<TextBlockLiteralExpr>
TextBlockLiteralExpr. toTextBlockLiteralExpr()
Optional<ThisExpr>
Expression. toThisExpr()
Optional<ThisExpr>
ThisExpr. toThisExpr()
Optional<TypeExpr>
Expression. toTypeExpr()
Optional<TypeExpr>
TypeExpr. toTypeExpr()
Optional<UnaryExpr>
Expression. toUnaryExpr()
Optional<UnaryExpr>
UnaryExpr. toUnaryExpr()
Optional<VariableDeclarationExpr>
Expression. toVariableDeclarationExpr()
Optional<VariableDeclarationExpr>
VariableDeclarationExpr. toVariableDeclarationExpr()
Constructors in com.github.javaparser.ast.expr with annotations of type Generated Constructor Description AnnotationExpr(TokenRange tokenRange, Name name)
This constructor is used by the parser and is considered private.ArrayAccessExpr(TokenRange tokenRange, Expression name, Expression index)
This constructor is used by the parser and is considered private.ArrayCreationExpr(TokenRange tokenRange, Type elementType, NodeList<ArrayCreationLevel> levels, ArrayInitializerExpr initializer)
This constructor is used by the parser and is considered private.ArrayInitializerExpr(TokenRange tokenRange, NodeList<Expression> values)
This constructor is used by the parser and is considered private.AssignExpr(TokenRange tokenRange, Expression target, Expression value, AssignExpr.Operator operator)
This constructor is used by the parser and is considered private.BinaryExpr(TokenRange tokenRange, Expression left, Expression right, BinaryExpr.Operator operator)
This constructor is used by the parser and is considered private.BooleanLiteralExpr(TokenRange tokenRange, boolean value)
This constructor is used by the parser and is considered private.CastExpr(TokenRange tokenRange, Type type, Expression expression)
This constructor is used by the parser and is considered private.CharLiteralExpr(TokenRange tokenRange, String value)
This constructor is used by the parser and is considered private.ClassExpr(TokenRange tokenRange, Type type)
This constructor is used by the parser and is considered private.ConditionalExpr(TokenRange tokenRange, Expression condition, Expression thenExpr, Expression elseExpr)
This constructor is used by the parser and is considered private.DoubleLiteralExpr(TokenRange tokenRange, String value)
This constructor is used by the parser and is considered private.EnclosedExpr(TokenRange tokenRange, Expression inner)
This constructor is used by the parser and is considered private.Expression(TokenRange tokenRange)
This constructor is used by the parser and is considered private.FieldAccessExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, SimpleName name)
This constructor is used by the parser and is considered private.InstanceOfExpr(TokenRange tokenRange, Expression expression, ReferenceType type)
This constructor is used by the parser and is considered private.IntegerLiteralExpr(TokenRange tokenRange, String value)
This constructor is used by the parser and is considered private.LambdaExpr(TokenRange tokenRange, NodeList<Parameter> parameters, Statement body, boolean isEnclosingParameters)
This constructor is used by the parser and is considered private.LiteralExpr(TokenRange tokenRange)
This constructor is used by the parser and is considered private.LiteralStringValueExpr(TokenRange tokenRange, String value)
This constructor is used by the parser and is considered private.LongLiteralExpr(TokenRange tokenRange, String value)
This constructor is used by the parser and is considered private.MarkerAnnotationExpr(TokenRange tokenRange, Name name)
This constructor is used by the parser and is considered private.MemberValuePair(TokenRange tokenRange, SimpleName name, Expression value)
This constructor is used by the parser and is considered private.MethodCallExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, SimpleName name, NodeList<Expression> arguments)
This constructor is used by the parser and is considered private.MethodReferenceExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, String identifier)
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.NameExpr(TokenRange tokenRange, SimpleName name)
This constructor is used by the parser and is considered private.NormalAnnotationExpr(TokenRange tokenRange, Name name, NodeList<MemberValuePair> pairs)
This constructor is used by the parser and is considered private.NullLiteralExpr(TokenRange tokenRange)
This constructor is used by the parser and is considered private.ObjectCreationExpr(TokenRange tokenRange, Expression scope, ClassOrInterfaceType type, NodeList<Type> typeArguments, NodeList<Expression> arguments, NodeList<BodyDeclaration<?>> anonymousClassBody)
This constructor is used by the parser and is considered private.SimpleName(TokenRange tokenRange, String identifier)
This constructor is used by the parser and is considered private.SingleMemberAnnotationExpr(TokenRange tokenRange, Name name, Expression memberValue)
This constructor is used by the parser and is considered private.StringLiteralExpr(TokenRange tokenRange, String value)
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.SwitchExpr(TokenRange tokenRange, Expression selector, NodeList<SwitchEntry> entries)
This constructor is used by the parser and is considered private.TextBlockLiteralExpr(TokenRange tokenRange, String value)
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.TypeExpr(TokenRange tokenRange, Type type)
This constructor is used by the parser and is considered private.UnaryExpr(TokenRange tokenRange, Expression expression, UnaryExpr.Operator operator)
This constructor is used by the parser and is considered private.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 Generated in com.github.javaparser.ast.modules
Constructors in com.github.javaparser.ast.modules with annotations of type Generated Constructor Description ModuleDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Name name, boolean isOpen, NodeList<ModuleDirective> directives)
This constructor is used by the parser and is considered private.ModuleDirective(TokenRange tokenRange)
This constructor is used by the parser and is considered private.ModuleExportsDirective(TokenRange tokenRange, Name name, NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.ModuleOpensDirective(TokenRange tokenRange, Name name, NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.ModuleProvidesDirective(TokenRange tokenRange, Name name, NodeList<Name> with)
This constructor is used by the parser and is considered private.ModuleRequiresDirective(TokenRange tokenRange, NodeList<Modifier> modifiers, Name name)
This constructor is used by the parser and is considered private.ModuleUsesDirective(TokenRange tokenRange, Name name)
This constructor is used by the parser and is considered private. -
Uses of Generated in com.github.javaparser.ast.observer
Classes in com.github.javaparser.ast.observer with annotations of type Generated Modifier and Type Class Description class
ObservableProperty
Properties considered by the AstObserver -
Uses of Generated in com.github.javaparser.ast.stmt
Methods in com.github.javaparser.ast.stmt with annotations of type Generated Modifier and Type Method Description <R,A>
RAssertStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
AssertStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RBlockStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
BlockStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RBreakStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
BreakStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RCatchClause. accept(GenericVisitor<R,A> v, A arg)
<A> void
CatchClause. accept(VoidVisitor<A> v, A arg)
<R,A>
RContinueStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
ContinueStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RDoStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
DoStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
REmptyStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
EmptyStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RExplicitConstructorInvocationStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
ExplicitConstructorInvocationStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RExpressionStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
ExpressionStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RForEachStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
ForEachStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RForStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
ForStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RIfStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
IfStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RLabeledStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
LabeledStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RLocalClassDeclarationStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
LocalClassDeclarationStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RReturnStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
ReturnStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RSwitchEntry. accept(GenericVisitor<R,A> v, A arg)
<A> void
SwitchEntry. accept(VoidVisitor<A> v, A arg)
<R,A>
RSwitchStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
SwitchStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RSynchronizedStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
SynchronizedStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RThrowStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
ThrowStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RTryStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
TryStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RUnparsableStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
UnparsableStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RWhileStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
WhileStmt. accept(VoidVisitor<A> v, A arg)
<R,A>
RYieldStmt. accept(GenericVisitor<R,A> v, A arg)
<A> void
YieldStmt. accept(VoidVisitor<A> v, A arg)
AssertStmt
AssertStmt. asAssertStmt()
AssertStmt
Statement. asAssertStmt()
BlockStmt
BlockStmt. asBlockStmt()
BlockStmt
Statement. asBlockStmt()
BreakStmt
BreakStmt. asBreakStmt()
BreakStmt
Statement. asBreakStmt()
ContinueStmt
ContinueStmt. asContinueStmt()
ContinueStmt
Statement. asContinueStmt()
DoStmt
DoStmt. asDoStmt()
DoStmt
Statement. asDoStmt()
EmptyStmt
EmptyStmt. asEmptyStmt()
EmptyStmt
Statement. asEmptyStmt()
ExplicitConstructorInvocationStmt
ExplicitConstructorInvocationStmt. asExplicitConstructorInvocationStmt()
ExplicitConstructorInvocationStmt
Statement. asExplicitConstructorInvocationStmt()
ExpressionStmt
ExpressionStmt. asExpressionStmt()
ExpressionStmt
Statement. asExpressionStmt()
ForEachStmt
ForEachStmt. asForEachStmt()
ForEachStmt
Statement. asForEachStmt()
ForStmt
ForStmt. asForStmt()
ForStmt
Statement. asForStmt()
IfStmt
IfStmt. asIfStmt()
IfStmt
Statement. asIfStmt()
LabeledStmt
LabeledStmt. asLabeledStmt()
LabeledStmt
Statement. asLabeledStmt()
LocalClassDeclarationStmt
LocalClassDeclarationStmt. asLocalClassDeclarationStmt()
LocalClassDeclarationStmt
Statement. asLocalClassDeclarationStmt()
ReturnStmt
ReturnStmt. asReturnStmt()
ReturnStmt
Statement. asReturnStmt()
SwitchStmt
Statement. asSwitchStmt()
SwitchStmt
SwitchStmt. asSwitchStmt()
SynchronizedStmt
Statement. asSynchronizedStmt()
SynchronizedStmt
SynchronizedStmt. asSynchronizedStmt()
ThrowStmt
Statement. asThrowStmt()
ThrowStmt
ThrowStmt. asThrowStmt()
TryStmt
Statement. asTryStmt()
TryStmt
TryStmt. asTryStmt()
UnparsableStmt
Statement. asUnparsableStmt()
UnparsableStmt
UnparsableStmt. asUnparsableStmt()
WhileStmt
Statement. asWhileStmt()
WhileStmt
WhileStmt. asWhileStmt()
YieldStmt
Statement. asYieldStmt()
YieldStmt
YieldStmt. asYieldStmt()
AssertStmt
AssertStmt. clone()
BlockStmt
BlockStmt. clone()
BreakStmt
BreakStmt. clone()
CatchClause
CatchClause. clone()
ContinueStmt
ContinueStmt. clone()
DoStmt
DoStmt. clone()
EmptyStmt
EmptyStmt. clone()
ExplicitConstructorInvocationStmt
ExplicitConstructorInvocationStmt. clone()
ExpressionStmt
ExpressionStmt. clone()
ForEachStmt
ForEachStmt. clone()
ForStmt
ForStmt. clone()
IfStmt
IfStmt. clone()
LabeledStmt
LabeledStmt. clone()
LocalClassDeclarationStmt
LocalClassDeclarationStmt. clone()
ReturnStmt
ReturnStmt. clone()
Statement
Statement. clone()
SwitchEntry
SwitchEntry. clone()
SwitchStmt
SwitchStmt. clone()
SynchronizedStmt
SynchronizedStmt. clone()
ThrowStmt
ThrowStmt. clone()
TryStmt
TryStmt. clone()
UnparsableStmt
UnparsableStmt. clone()
WhileStmt
WhileStmt. clone()
YieldStmt
YieldStmt. clone()
NodeList<Expression>
ExplicitConstructorInvocationStmt. getArguments()
BlockStmt
CatchClause. getBody()
Statement
DoStmt. getBody()
Statement
ForEachStmt. getBody()
Statement
ForStmt. getBody()
BlockStmt
SynchronizedStmt. getBody()
Statement
WhileStmt. getBody()
NodeList<CatchClause>
TryStmt. getCatchClauses()
Expression
AssertStmt. getCheck()
ClassOrInterfaceDeclaration
LocalClassDeclarationStmt. getClassDeclaration()
Optional<Expression>
ForStmt. getCompare()
Expression
DoStmt. getCondition()
Expression
IfStmt. getCondition()
Expression
WhileStmt. getCondition()
Optional<Statement>
IfStmt. getElseStmt()
NodeList<SwitchEntry>
SwitchStmt. getEntries()
Optional<Expression>
ExplicitConstructorInvocationStmt. getExpression()
Expression
ExpressionStmt. getExpression()
Optional<Expression>
ReturnStmt. getExpression()
Expression
SynchronizedStmt. getExpression()
Expression
ThrowStmt. getExpression()
Expression
YieldStmt. getExpression()
Optional<BlockStmt>
TryStmt. getFinallyBlock()
NodeList<Expression>
ForStmt. getInitialization()
Expression
ForEachStmt. getIterable()
Optional<SimpleName>
BreakStmt. getLabel()
Optional<SimpleName>
ContinueStmt. getLabel()
SimpleName
LabeledStmt. getLabel()
NodeList<Expression>
SwitchEntry. getLabels()
Optional<Expression>
AssertStmt. getMessage()
AssertStmtMetaModel
AssertStmt. getMetaModel()
BlockStmtMetaModel
BlockStmt. getMetaModel()
BreakStmtMetaModel
BreakStmt. getMetaModel()
CatchClauseMetaModel
CatchClause. getMetaModel()
ContinueStmtMetaModel
ContinueStmt. getMetaModel()
DoStmtMetaModel
DoStmt. getMetaModel()
EmptyStmtMetaModel
EmptyStmt. getMetaModel()
ExplicitConstructorInvocationStmtMetaModel
ExplicitConstructorInvocationStmt. getMetaModel()
ExpressionStmtMetaModel
ExpressionStmt. getMetaModel()
ForEachStmtMetaModel
ForEachStmt. getMetaModel()
ForStmtMetaModel
ForStmt. getMetaModel()
IfStmtMetaModel
IfStmt. getMetaModel()
LabeledStmtMetaModel
LabeledStmt. getMetaModel()
LocalClassDeclarationStmtMetaModel
LocalClassDeclarationStmt. getMetaModel()
ReturnStmtMetaModel
ReturnStmt. getMetaModel()
StatementMetaModel
Statement. getMetaModel()
SwitchEntryMetaModel
SwitchEntry. getMetaModel()
SwitchStmtMetaModel
SwitchStmt. getMetaModel()
SynchronizedStmtMetaModel
SynchronizedStmt. getMetaModel()
ThrowStmtMetaModel
ThrowStmt. getMetaModel()
TryStmtMetaModel
TryStmt. getMetaModel()
UnparsableStmtMetaModel
UnparsableStmt. getMetaModel()
WhileStmtMetaModel
WhileStmt. getMetaModel()
YieldStmtMetaModel
YieldStmt. getMetaModel()
Parameter
CatchClause. getParameter()
Note that the type of the Parameter can be a UnionType.NodeList<Expression>
TryStmt. getResources()
Expression
SwitchStmt. getSelector()
Statement
LabeledStmt. getStatement()
NodeList<Statement>
BlockStmt. getStatements()
NodeList<Statement>
SwitchEntry. getStatements()
Statement
IfStmt. getThenStmt()
BlockStmt
TryStmt. getTryBlock()
SwitchEntry.Type
SwitchEntry. getType()
Optional<NodeList<Type>>
ExplicitConstructorInvocationStmt. getTypeArguments()
NodeList<Expression>
ForStmt. getUpdate()
VariableDeclarationExpr
ForEachStmt. getVariable()
void
AssertStmt. ifAssertStmt(Consumer<AssertStmt> action)
void
Statement. ifAssertStmt(Consumer<AssertStmt> action)
void
BlockStmt. ifBlockStmt(Consumer<BlockStmt> action)
void
Statement. ifBlockStmt(Consumer<BlockStmt> action)
void
BreakStmt. ifBreakStmt(Consumer<BreakStmt> action)
void
Statement. ifBreakStmt(Consumer<BreakStmt> action)
void
ContinueStmt. ifContinueStmt(Consumer<ContinueStmt> action)
void
Statement. ifContinueStmt(Consumer<ContinueStmt> action)
void
DoStmt. ifDoStmt(Consumer<DoStmt> action)
void
Statement. ifDoStmt(Consumer<DoStmt> action)
void
EmptyStmt. ifEmptyStmt(Consumer<EmptyStmt> action)
void
Statement. ifEmptyStmt(Consumer<EmptyStmt> action)
void
ExplicitConstructorInvocationStmt. ifExplicitConstructorInvocationStmt(Consumer<ExplicitConstructorInvocationStmt> action)
void
Statement. ifExplicitConstructorInvocationStmt(Consumer<ExplicitConstructorInvocationStmt> action)
void
ExpressionStmt. ifExpressionStmt(Consumer<ExpressionStmt> action)
void
Statement. ifExpressionStmt(Consumer<ExpressionStmt> action)
void
ForEachStmt. ifForEachStmt(Consumer<ForEachStmt> action)
void
Statement. ifForEachStmt(Consumer<ForEachStmt> action)
void
ForStmt. ifForStmt(Consumer<ForStmt> action)
void
Statement. ifForStmt(Consumer<ForStmt> action)
void
IfStmt. ifIfStmt(Consumer<IfStmt> action)
void
Statement. ifIfStmt(Consumer<IfStmt> action)
void
LabeledStmt. ifLabeledStmt(Consumer<LabeledStmt> action)
void
Statement. ifLabeledStmt(Consumer<LabeledStmt> action)
void
LocalClassDeclarationStmt. ifLocalClassDeclarationStmt(Consumer<LocalClassDeclarationStmt> action)
void
Statement. ifLocalClassDeclarationStmt(Consumer<LocalClassDeclarationStmt> action)
void
ReturnStmt. ifReturnStmt(Consumer<ReturnStmt> action)
void
Statement. ifReturnStmt(Consumer<ReturnStmt> action)
void
Statement. ifSwitchStmt(Consumer<SwitchStmt> action)
void
SwitchStmt. ifSwitchStmt(Consumer<SwitchStmt> action)
void
Statement. ifSynchronizedStmt(Consumer<SynchronizedStmt> action)
void
SynchronizedStmt. ifSynchronizedStmt(Consumer<SynchronizedStmt> action)
void
Statement. ifThrowStmt(Consumer<ThrowStmt> action)
void
ThrowStmt. ifThrowStmt(Consumer<ThrowStmt> action)
void
Statement. ifTryStmt(Consumer<TryStmt> action)
void
TryStmt. ifTryStmt(Consumer<TryStmt> action)
void
Statement. ifUnparsableStmt(Consumer<UnparsableStmt> action)
void
UnparsableStmt. ifUnparsableStmt(Consumer<UnparsableStmt> action)
void
Statement. ifWhileStmt(Consumer<WhileStmt> action)
void
WhileStmt. ifWhileStmt(Consumer<WhileStmt> action)
void
Statement. ifYieldStmt(Consumer<YieldStmt> action)
void
YieldStmt. ifYieldStmt(Consumer<YieldStmt> action)
boolean
AssertStmt. isAssertStmt()
boolean
Statement. isAssertStmt()
boolean
BlockStmt. isBlockStmt()
boolean
Statement. isBlockStmt()
boolean
BreakStmt. isBreakStmt()
boolean
Statement. isBreakStmt()
boolean
ContinueStmt. isContinueStmt()
boolean
Statement. isContinueStmt()
boolean
DoStmt. isDoStmt()
boolean
Statement. isDoStmt()
boolean
EmptyStmt. isEmptyStmt()
boolean
Statement. isEmptyStmt()
boolean
ExplicitConstructorInvocationStmt. isExplicitConstructorInvocationStmt()
boolean
Statement. isExplicitConstructorInvocationStmt()
boolean
ExpressionStmt. isExpressionStmt()
boolean
Statement. isExpressionStmt()
boolean
ForEachStmt. isForEachStmt()
boolean
Statement. isForEachStmt()
boolean
ForStmt. isForStmt()
boolean
Statement. isForStmt()
boolean
IfStmt. isIfStmt()
boolean
Statement. isIfStmt()
boolean
LabeledStmt. isLabeledStmt()
boolean
Statement. isLabeledStmt()
boolean
LocalClassDeclarationStmt. isLocalClassDeclarationStmt()
boolean
Statement. isLocalClassDeclarationStmt()
boolean
ReturnStmt. isReturnStmt()
boolean
Statement. isReturnStmt()
boolean
Statement. isSwitchStmt()
boolean
SwitchStmt. isSwitchStmt()
boolean
Statement. isSynchronizedStmt()
boolean
SynchronizedStmt. isSynchronizedStmt()
boolean
ExplicitConstructorInvocationStmt. isThis()
boolean
Statement. isThrowStmt()
boolean
ThrowStmt. isThrowStmt()
boolean
Statement. isTryStmt()
boolean
TryStmt. isTryStmt()
boolean
Statement. isUnparsableStmt()
boolean
UnparsableStmt. isUnparsableStmt()
boolean
Statement. isWhileStmt()
boolean
WhileStmt. isWhileStmt()
boolean
Statement. isYieldStmt()
boolean
YieldStmt. isYieldStmt()
boolean
AssertStmt. remove(Node node)
boolean
BlockStmt. remove(Node node)
boolean
BreakStmt. remove(Node node)
boolean
CatchClause. remove(Node node)
boolean
ContinueStmt. remove(Node node)
boolean
DoStmt. remove(Node node)
boolean
EmptyStmt. remove(Node node)
boolean
ExplicitConstructorInvocationStmt. remove(Node node)
boolean
ExpressionStmt. remove(Node node)
boolean
ForEachStmt. remove(Node node)
boolean
ForStmt. remove(Node node)
boolean
IfStmt. remove(Node node)
boolean
LabeledStmt. remove(Node node)
boolean
LocalClassDeclarationStmt. remove(Node node)
boolean
ReturnStmt. remove(Node node)
boolean
Statement. remove(Node node)
boolean
SwitchEntry. remove(Node node)
boolean
SwitchStmt. remove(Node node)
boolean
SynchronizedStmt. remove(Node node)
boolean
ThrowStmt. remove(Node node)
boolean
TryStmt. remove(Node node)
boolean
UnparsableStmt. remove(Node node)
boolean
WhileStmt. remove(Node node)
boolean
YieldStmt. remove(Node node)
ForStmt
ForStmt. removeCompare()
IfStmt
IfStmt. removeElseStmt()
ExplicitConstructorInvocationStmt
ExplicitConstructorInvocationStmt. removeExpression()
ReturnStmt
ReturnStmt. removeExpression()
TryStmt
TryStmt. removeFinallyBlock()
BreakStmt
BreakStmt. removeLabel()
ContinueStmt
ContinueStmt. removeLabel()
AssertStmt
AssertStmt. removeMessage()
boolean
AssertStmt. replace(Node node, Node replacementNode)
boolean
BlockStmt. replace(Node node, Node replacementNode)
boolean
BreakStmt. replace(Node node, Node replacementNode)
boolean
CatchClause. replace(Node node, Node replacementNode)
boolean
ContinueStmt. replace(Node node, Node replacementNode)
boolean
DoStmt. replace(Node node, Node replacementNode)
boolean
EmptyStmt. replace(Node node, Node replacementNode)
boolean
ExplicitConstructorInvocationStmt. replace(Node node, Node replacementNode)
boolean
ExpressionStmt. replace(Node node, Node replacementNode)
boolean
ForEachStmt. replace(Node node, Node replacementNode)
boolean
ForStmt. replace(Node node, Node replacementNode)
boolean
IfStmt. replace(Node node, Node replacementNode)
boolean
LabeledStmt. replace(Node node, Node replacementNode)
boolean
LocalClassDeclarationStmt. replace(Node node, Node replacementNode)
boolean
ReturnStmt. replace(Node node, Node replacementNode)
boolean
Statement. replace(Node node, Node replacementNode)
boolean
SwitchEntry. replace(Node node, Node replacementNode)
boolean
SwitchStmt. replace(Node node, Node replacementNode)
boolean
SynchronizedStmt. replace(Node node, Node replacementNode)
boolean
ThrowStmt. replace(Node node, Node replacementNode)
boolean
TryStmt. replace(Node node, Node replacementNode)
boolean
UnparsableStmt. replace(Node node, Node replacementNode)
boolean
WhileStmt. replace(Node node, Node replacementNode)
boolean
YieldStmt. replace(Node node, Node replacementNode)
ExplicitConstructorInvocationStmt
ExplicitConstructorInvocationStmt. setArguments(NodeList<Expression> arguments)
CatchClause
CatchClause. setBody(BlockStmt body)
DoStmt
DoStmt. setBody(Statement body)
ForEachStmt
ForEachStmt. setBody(Statement body)
ForStmt
ForStmt. setBody(Statement body)
SynchronizedStmt
SynchronizedStmt. setBody(BlockStmt body)
WhileStmt
WhileStmt. setBody(Statement body)
TryStmt
TryStmt. setCatchClauses(NodeList<CatchClause> catchClauses)
AssertStmt
AssertStmt. setCheck(Expression check)
LocalClassDeclarationStmt
LocalClassDeclarationStmt. setClassDeclaration(ClassOrInterfaceDeclaration classDeclaration)
ForStmt
ForStmt. setCompare(Expression compare)
Sets the compareDoStmt
DoStmt. setCondition(Expression condition)
IfStmt
IfStmt. setCondition(Expression condition)
WhileStmt
WhileStmt. setCondition(Expression condition)
IfStmt
IfStmt. setElseStmt(Statement elseStmt)
Sets the elseStmtSwitchStmt
SwitchStmt. setEntries(NodeList<SwitchEntry> entries)
ExplicitConstructorInvocationStmt
ExplicitConstructorInvocationStmt. setExpression(Expression expression)
Sets the expressionExpressionStmt
ExpressionStmt. setExpression(Expression expression)
ReturnStmt
ReturnStmt. setExpression(Expression expression)
Sets the expressionSynchronizedStmt
SynchronizedStmt. setExpression(Expression expression)
ThrowStmt
ThrowStmt. setExpression(Expression expression)
YieldStmt
YieldStmt. setExpression(Expression expression)
Sets the labelTryStmt
TryStmt. setFinallyBlock(BlockStmt finallyBlock)
ForStmt
ForStmt. setInitialization(NodeList<Expression> initialization)
ForEachStmt
ForEachStmt. setIterable(Expression iterable)
BreakStmt
BreakStmt. setLabel(SimpleName label)
Sets the labelContinueStmt
ContinueStmt. setLabel(SimpleName label)
Sets the labelLabeledStmt
LabeledStmt. setLabel(SimpleName label)
SwitchEntry
SwitchEntry. setLabels(NodeList<Expression> labels)
Sets the labelAssertStmt
AssertStmt. setMessage(Expression message)
Sets the messageCatchClause
CatchClause. setParameter(Parameter parameter)
TryStmt
TryStmt. setResources(NodeList<Expression> resources)
SwitchStmt
SwitchStmt. setSelector(Expression selector)
LabeledStmt
LabeledStmt. setStatement(Statement statement)
BlockStmt
BlockStmt. setStatements(NodeList<Statement> statements)
SwitchEntry
SwitchEntry. setStatements(NodeList<Statement> statements)
IfStmt
IfStmt. setThenStmt(Statement thenStmt)
ExplicitConstructorInvocationStmt
ExplicitConstructorInvocationStmt. setThis(boolean isThis)
TryStmt
TryStmt. setTryBlock(BlockStmt tryBlock)
SwitchEntry
SwitchEntry. setType(SwitchEntry.Type type)
ExplicitConstructorInvocationStmt
ExplicitConstructorInvocationStmt. setTypeArguments(NodeList<Type> typeArguments)
Sets the typeArgumentsForStmt
ForStmt. setUpdate(NodeList<Expression> update)
ForEachStmt
ForEachStmt. setVariable(VariableDeclarationExpr variable)
Optional<AssertStmt>
AssertStmt. toAssertStmt()
Optional<AssertStmt>
Statement. toAssertStmt()
Optional<BlockStmt>
BlockStmt. toBlockStmt()
Optional<BlockStmt>
Statement. toBlockStmt()
Optional<BreakStmt>
BreakStmt. toBreakStmt()
Optional<BreakStmt>
Statement. toBreakStmt()
Optional<ContinueStmt>
ContinueStmt. toContinueStmt()
Optional<ContinueStmt>
Statement. toContinueStmt()
Optional<DoStmt>
DoStmt. toDoStmt()
Optional<DoStmt>
Statement. toDoStmt()
Optional<EmptyStmt>
EmptyStmt. toEmptyStmt()
Optional<EmptyStmt>
Statement. toEmptyStmt()
Optional<ExplicitConstructorInvocationStmt>
ExplicitConstructorInvocationStmt. toExplicitConstructorInvocationStmt()
Optional<ExplicitConstructorInvocationStmt>
Statement. toExplicitConstructorInvocationStmt()
Optional<ExpressionStmt>
ExpressionStmt. toExpressionStmt()
Optional<ExpressionStmt>
Statement. toExpressionStmt()
Optional<ForEachStmt>
ForEachStmt. toForEachStmt()
Optional<ForEachStmt>
Statement. toForEachStmt()
Optional<ForStmt>
ForStmt. toForStmt()
Optional<ForStmt>
Statement. toForStmt()
Optional<IfStmt>
IfStmt. toIfStmt()
Optional<IfStmt>
Statement. toIfStmt()
Optional<LabeledStmt>
LabeledStmt. toLabeledStmt()
Optional<LabeledStmt>
Statement. toLabeledStmt()
Optional<LocalClassDeclarationStmt>
LocalClassDeclarationStmt. toLocalClassDeclarationStmt()
Optional<LocalClassDeclarationStmt>
Statement. toLocalClassDeclarationStmt()
Optional<ReturnStmt>
ReturnStmt. toReturnStmt()
Optional<ReturnStmt>
Statement. toReturnStmt()
Optional<SwitchStmt>
Statement. toSwitchStmt()
Optional<SwitchStmt>
SwitchStmt. toSwitchStmt()
Optional<SynchronizedStmt>
Statement. toSynchronizedStmt()
Optional<SynchronizedStmt>
SynchronizedStmt. toSynchronizedStmt()
Optional<ThrowStmt>
Statement. toThrowStmt()
Optional<ThrowStmt>
ThrowStmt. toThrowStmt()
Optional<TryStmt>
Statement. toTryStmt()
Optional<TryStmt>
TryStmt. toTryStmt()
Optional<UnparsableStmt>
Statement. toUnparsableStmt()
Optional<UnparsableStmt>
UnparsableStmt. toUnparsableStmt()
Optional<WhileStmt>
Statement. toWhileStmt()
Optional<WhileStmt>
WhileStmt. toWhileStmt()
Optional<YieldStmt>
Statement. toYieldStmt()
Optional<YieldStmt>
YieldStmt. toYieldStmt()
Constructors in com.github.javaparser.ast.stmt with annotations of type Generated Constructor Description AssertStmt(TokenRange tokenRange, Expression check, Expression message)
This constructor is used by the parser and is considered private.BlockStmt(TokenRange tokenRange, NodeList<Statement> statements)
This constructor is used by the parser and is considered private.BreakStmt(TokenRange tokenRange, SimpleName label)
This constructor is used by the parser and is considered private.CatchClause(TokenRange tokenRange, Parameter parameter, BlockStmt body)
This constructor is used by the parser and is considered private.ContinueStmt(TokenRange tokenRange, SimpleName label)
This constructor is used by the parser and is considered private.DoStmt(TokenRange tokenRange, Statement body, Expression condition)
This constructor is used by the parser and is considered private.EmptyStmt(TokenRange tokenRange)
This constructor is used by the parser and is considered private.ExplicitConstructorInvocationStmt(TokenRange tokenRange, NodeList<Type> typeArguments, boolean isThis, Expression expression, NodeList<Expression> arguments)
This constructor is used by the parser and is considered private.ExpressionStmt(TokenRange tokenRange, Expression expression)
This constructor is used by the parser and is considered private.ForEachStmt(TokenRange tokenRange, VariableDeclarationExpr variable, Expression iterable, Statement body)
This constructor is used by the parser and is considered private.ForStmt(TokenRange tokenRange, NodeList<Expression> initialization, Expression compare, NodeList<Expression> update, Statement body)
This constructor is used by the parser and is considered private.IfStmt(TokenRange tokenRange, Expression condition, Statement thenStmt, Statement elseStmt)
This constructor is used by the parser and is considered private.LabeledStmt(TokenRange tokenRange, SimpleName label, Statement statement)
This constructor is used by the parser and is considered private.LocalClassDeclarationStmt(TokenRange tokenRange, ClassOrInterfaceDeclaration classDeclaration)
This constructor is used by the parser and is considered private.ReturnStmt(TokenRange tokenRange, Expression expression)
This constructor is used by the parser and is considered private.Statement(TokenRange tokenRange)
This constructor is used by the parser and is considered private.SwitchEntry(TokenRange tokenRange, NodeList<Expression> labels, SwitchEntry.Type type, NodeList<Statement> statements)
This constructor is used by the parser and is considered private.SwitchStmt(TokenRange tokenRange, Expression selector, NodeList<SwitchEntry> entries)
This constructor is used by the parser and is considered private.SynchronizedStmt(TokenRange tokenRange, Expression expression, BlockStmt body)
This constructor is used by the parser and is considered private.ThrowStmt(TokenRange tokenRange, Expression expression)
This constructor is used by the parser and is considered private.TryStmt(TokenRange tokenRange, NodeList<Expression> resources, BlockStmt tryBlock, NodeList<CatchClause> catchClauses, BlockStmt finallyBlock)
This constructor is used by the parser and is considered private.UnparsableStmt(TokenRange tokenRange)
This constructor is used by the parser and is considered private.WhileStmt(TokenRange tokenRange, Expression condition, Statement body)
This constructor is used by the parser and is considered private.YieldStmt(TokenRange tokenRange, Expression expression)
This constructor is used by the parser and is considered private. -
Uses of Generated in com.github.javaparser.ast.type
Constructors in com.github.javaparser.ast.type with annotations of type Generated Constructor Description ArrayType(TokenRange tokenRange, Type componentType, ArrayType.Origin origin, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.ClassOrInterfaceType(TokenRange tokenRange, ClassOrInterfaceType scope, SimpleName name, NodeList<Type> typeArguments, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.IntersectionType(TokenRange tokenRange, NodeList<ReferenceType> elements)
This constructor is used by the parser and is considered private.PrimitiveType(TokenRange tokenRange, PrimitiveType.Primitive type, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.ReferenceType(TokenRange tokenRange, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.Type(TokenRange tokenRange, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.TypeParameter(TokenRange tokenRange, SimpleName name, NodeList<ClassOrInterfaceType> typeBound, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.UnionType(TokenRange tokenRange, NodeList<ReferenceType> elements)
This constructor is used by the parser and is considered private.UnknownType(TokenRange tokenRange)
This constructor is used by the parser and is considered private.VarType(TokenRange tokenRange)
This constructor is used by the parser and is considered private.VoidType(TokenRange tokenRange)
This constructor is used by the parser and is considered private.WildcardType(TokenRange tokenRange, ReferenceType extendedType, ReferenceType superType)
This constructor is used by the parser and is considered private.WildcardType(TokenRange tokenRange, ReferenceType extendedType, ReferenceType superType, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private. -
Uses of Generated in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with annotations of type Generated Modifier and Type Method Description Visitable
CloneVisitor. visit(CompilationUnit n, Object arg)
Visitable
CloneVisitor. visit(PackageDeclaration n, Object arg)
-