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 classJavaToken.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> voidArrayCreationLevel. accept(VoidVisitor<A> v, A arg)<R,A>
RCompilationUnit. accept(GenericVisitor<R,A> v, A arg)<A> voidCompilationUnit. accept(VoidVisitor<A> v, A arg)<R,A>
RImportDeclaration. accept(GenericVisitor<R,A> v, A arg)<A> voidImportDeclaration. accept(VoidVisitor<A> v, A arg)<R,A>
RPackageDeclaration. accept(GenericVisitor<R,A> v, A arg)<A> voidPackageDeclaration. accept(VoidVisitor<A> v, A arg)ArrayCreationLevelArrayCreationLevel. clone()CompilationUnitCompilationUnit. clone()ImportDeclarationImportDeclaration. clone()NodeNode. clone()PackageDeclarationPackageDeclaration. 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 ornullif there is no import.ArrayCreationLevelMetaModelArrayCreationLevel. getMetaModel()CompilationUnitMetaModelCompilationUnit. getMetaModel()ImportDeclarationMetaModelImportDeclaration. getMetaModel()NodeMetaModelNode. getMetaModel()PackageDeclarationMetaModelPackageDeclaration. getMetaModel()Optional<ModuleDeclaration>CompilationUnit. getModule()NameImportDeclaration. getName()Retrieves the name of the import (.* is not included.)NamePackageDeclaration. 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,noneis returned.booleanImportDeclaration. isAsterisk()Return if the import ends with "*".booleanImportDeclaration. isStatic()booleanArrayCreationLevel. remove(Node node)booleanCompilationUnit. remove(Node node)booleanImportDeclaration. remove(Node node)booleanNode. remove(Node node)booleanPackageDeclaration. remove(Node node)NodeNode. removeComment()ArrayCreationLevelArrayCreationLevel. removeDimension()CompilationUnitCompilationUnit. removeModule()CompilationUnitCompilationUnit. removePackageDeclaration()booleanArrayCreationLevel. replace(Node node, Node replacementNode)booleanCompilationUnit. replace(Node node, Node replacementNode)booleanImportDeclaration. replace(Node node, Node replacementNode)booleanNode. replace(Node node, Node replacementNode)booleanPackageDeclaration. replace(Node node, Node replacementNode)ArrayCreationLevelArrayCreationLevel. setAnnotations(NodeList<AnnotationExpr> annotations)PackageDeclarationPackageDeclaration. setAnnotations(NodeList<AnnotationExpr> annotations)ImportDeclarationImportDeclaration. setAsterisk(boolean isAsterisk)ArrayCreationLevelArrayCreationLevel. setDimension(Expression dimension)Sets the dimensionCompilationUnitCompilationUnit. setImports(NodeList<ImportDeclaration> imports)Sets the list of imports of this compilation unit.CompilationUnitCompilationUnit. setModule(ModuleDeclaration module)ImportDeclarationImportDeclaration. setName(Name name)PackageDeclarationPackageDeclaration. setName(Name name)Sets the name of this package declaration.CompilationUnitCompilationUnit. setPackageDeclaration(PackageDeclaration packageDeclaration)Sets or clear the package declarations of this compilation unit.ImportDeclarationImportDeclaration. setStatic(boolean isStatic)CompilationUnitCompilationUnit. 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.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> voidAnnotationDeclaration. accept(VoidVisitor<A> v, A arg)<R,A>
RAnnotationMemberDeclaration. accept(GenericVisitor<R,A> v, A arg)<A> voidAnnotationMemberDeclaration. accept(VoidVisitor<A> v, A arg)<R,A>
RClassOrInterfaceDeclaration. accept(GenericVisitor<R,A> v, A arg)<A> voidClassOrInterfaceDeclaration. accept(VoidVisitor<A> v, A arg)<R,A>
RConstructorDeclaration. accept(GenericVisitor<R,A> v, A arg)<A> voidConstructorDeclaration. accept(VoidVisitor<A> v, A arg)<R,A>
REnumConstantDeclaration. accept(GenericVisitor<R,A> v, A arg)<A> voidEnumConstantDeclaration. accept(VoidVisitor<A> v, A arg)<R,A>
REnumDeclaration. accept(GenericVisitor<R,A> v, A arg)<A> voidEnumDeclaration. accept(VoidVisitor<A> v, A arg)<R,A>
RFieldDeclaration. accept(GenericVisitor<R,A> v, A arg)<A> voidFieldDeclaration. accept(VoidVisitor<A> v, A arg)<R,A>
RInitializerDeclaration. accept(GenericVisitor<R,A> v, A arg)<A> voidInitializerDeclaration. accept(VoidVisitor<A> v, A arg)<R,A>
RMethodDeclaration. accept(GenericVisitor<R,A> v, A arg)<A> voidMethodDeclaration. accept(VoidVisitor<A> v, A arg)<R,A>
RParameter. accept(GenericVisitor<R,A> v, A arg)<A> voidParameter. accept(VoidVisitor<A> v, A arg)<R,A>
RReceiverParameter. accept(GenericVisitor<R,A> v, A arg)<A> voidReceiverParameter. accept(VoidVisitor<A> v, A arg)<R,A>
RVariableDeclarator. accept(GenericVisitor<R,A> v, A arg)<A> voidVariableDeclarator. accept(VoidVisitor<A> v, A arg)AnnotationDeclarationAnnotationDeclaration. asAnnotationDeclaration()AnnotationDeclarationBodyDeclaration. asAnnotationDeclaration()AnnotationMemberDeclarationAnnotationMemberDeclaration. asAnnotationMemberDeclaration()AnnotationMemberDeclarationBodyDeclaration. asAnnotationMemberDeclaration()CallableDeclarationBodyDeclaration. asCallableDeclaration()CallableDeclarationCallableDeclaration. asCallableDeclaration()ClassOrInterfaceDeclarationBodyDeclaration. asClassOrInterfaceDeclaration()ClassOrInterfaceDeclarationClassOrInterfaceDeclaration. asClassOrInterfaceDeclaration()ConstructorDeclarationBodyDeclaration. asConstructorDeclaration()ConstructorDeclarationConstructorDeclaration. asConstructorDeclaration()EnumConstantDeclarationBodyDeclaration. asEnumConstantDeclaration()EnumConstantDeclarationEnumConstantDeclaration. asEnumConstantDeclaration()EnumDeclarationBodyDeclaration. asEnumDeclaration()EnumDeclarationEnumDeclaration. asEnumDeclaration()FieldDeclarationBodyDeclaration. asFieldDeclaration()FieldDeclarationFieldDeclaration. asFieldDeclaration()InitializerDeclarationBodyDeclaration. asInitializerDeclaration()InitializerDeclarationInitializerDeclaration. asInitializerDeclaration()MethodDeclarationBodyDeclaration. asMethodDeclaration()MethodDeclarationMethodDeclaration. asMethodDeclaration()TypeDeclarationBodyDeclaration. asTypeDeclaration()TypeDeclarationTypeDeclaration. asTypeDeclaration()AnnotationDeclarationAnnotationDeclaration. clone()AnnotationMemberDeclarationAnnotationMemberDeclaration. clone()BodyDeclaration<?>BodyDeclaration. clone()CallableDeclaration<?>CallableDeclaration. clone()ClassOrInterfaceDeclarationClassOrInterfaceDeclaration. clone()ConstructorDeclarationConstructorDeclaration. clone()EnumConstantDeclarationEnumConstantDeclaration. clone()EnumDeclarationEnumDeclaration. clone()FieldDeclarationFieldDeclaration. clone()InitializerDeclarationInitializerDeclaration. clone()MethodDeclarationMethodDeclaration. clone()ParameterParameter. clone()ReceiverParameterReceiverParameter. clone()TypeDeclaration<?>TypeDeclaration. clone()VariableDeclaratorVariableDeclarator. clone()NodeList<AnnotationExpr>BodyDeclaration. getAnnotations()NodeList<AnnotationExpr>Parameter. getAnnotations()NodeList<AnnotationExpr>ReceiverParameter. getAnnotations()NodeList<Expression>EnumConstantDeclaration. getArguments()BlockStmtConstructorDeclaration. getBody()BlockStmtInitializerDeclaration. 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()AnnotationDeclarationMetaModelAnnotationDeclaration. getMetaModel()AnnotationMemberDeclarationMetaModelAnnotationMemberDeclaration. getMetaModel()BodyDeclarationMetaModelBodyDeclaration. getMetaModel()CallableDeclarationMetaModelCallableDeclaration. getMetaModel()ClassOrInterfaceDeclarationMetaModelClassOrInterfaceDeclaration. getMetaModel()ConstructorDeclarationMetaModelConstructorDeclaration. getMetaModel()EnumConstantDeclarationMetaModelEnumConstantDeclaration. getMetaModel()EnumDeclarationMetaModelEnumDeclaration. getMetaModel()FieldDeclarationMetaModelFieldDeclaration. getMetaModel()InitializerDeclarationMetaModelInitializerDeclaration. getMetaModel()MethodDeclarationMetaModelMethodDeclaration. getMetaModel()ParameterMetaModelParameter. getMetaModel()ReceiverParameterMetaModelReceiverParameter. getMetaModel()TypeDeclarationMetaModelTypeDeclaration. getMetaModel()VariableDeclaratorMetaModelVariableDeclarator. getMetaModel()EnumSet<Modifier>AnnotationMemberDeclaration. getModifiers()Return the modifiers of this member declaration.EnumSet<Modifier>CallableDeclaration. getModifiers()Return the modifiers of this member declaration.EnumSet<Modifier>FieldDeclaration. getModifiers()Return the modifiers of this member declaration.EnumSet<Modifier>Parameter. getModifiers()Return the modifiers of this parameter declaration.EnumSet<Modifier>TypeDeclaration. getModifiers()Return the modifiers of this type declaration.SimpleNameAnnotationMemberDeclaration. getName()SimpleNameCallableDeclaration. getName()SimpleNameEnumConstantDeclaration. getName()SimpleNameParameter. getName()NameReceiverParameter. getName()SimpleNameTypeDeclaration. getName()SimpleNameVariableDeclarator. getName()NodeList<Parameter>CallableDeclaration. getParameters()Optional<ReceiverParameter>CallableDeclaration. getReceiverParameter()NodeList<ReferenceType>CallableDeclaration. getThrownExceptions()TypeAnnotationMemberDeclaration. getType()TypeMethodDeclaration. getType()TypeParameter. getType()TypeReceiverParameter. getType()TypeVariableDeclarator. getType()NodeList<TypeParameter>CallableDeclaration. getTypeParameters()NodeList<TypeParameter>ClassOrInterfaceDeclaration. getTypeParameters()NodeList<AnnotationExpr>Parameter. getVarArgsAnnotations()NodeList<VariableDeclarator>FieldDeclaration. getVariables()voidAnnotationDeclaration. ifAnnotationDeclaration(Consumer<AnnotationDeclaration> action)voidBodyDeclaration. ifAnnotationDeclaration(Consumer<AnnotationDeclaration> action)voidAnnotationMemberDeclaration. ifAnnotationMemberDeclaration(Consumer<AnnotationMemberDeclaration> action)voidBodyDeclaration. ifAnnotationMemberDeclaration(Consumer<AnnotationMemberDeclaration> action)voidBodyDeclaration. ifCallableDeclaration(Consumer<CallableDeclaration> action)voidCallableDeclaration. ifCallableDeclaration(Consumer<CallableDeclaration> action)voidBodyDeclaration. ifClassOrInterfaceDeclaration(Consumer<ClassOrInterfaceDeclaration> action)voidClassOrInterfaceDeclaration. ifClassOrInterfaceDeclaration(Consumer<ClassOrInterfaceDeclaration> action)voidBodyDeclaration. ifConstructorDeclaration(Consumer<ConstructorDeclaration> action)voidConstructorDeclaration. ifConstructorDeclaration(Consumer<ConstructorDeclaration> action)voidBodyDeclaration. ifEnumConstantDeclaration(Consumer<EnumConstantDeclaration> action)voidEnumConstantDeclaration. ifEnumConstantDeclaration(Consumer<EnumConstantDeclaration> action)voidBodyDeclaration. ifEnumDeclaration(Consumer<EnumDeclaration> action)voidEnumDeclaration. ifEnumDeclaration(Consumer<EnumDeclaration> action)voidBodyDeclaration. ifFieldDeclaration(Consumer<FieldDeclaration> action)voidFieldDeclaration. ifFieldDeclaration(Consumer<FieldDeclaration> action)voidBodyDeclaration. ifInitializerDeclaration(Consumer<InitializerDeclaration> action)voidInitializerDeclaration. ifInitializerDeclaration(Consumer<InitializerDeclaration> action)voidBodyDeclaration. ifMethodDeclaration(Consumer<MethodDeclaration> action)voidMethodDeclaration. ifMethodDeclaration(Consumer<MethodDeclaration> action)voidBodyDeclaration. ifTypeDeclaration(Consumer<TypeDeclaration> action)voidTypeDeclaration. ifTypeDeclaration(Consumer<TypeDeclaration> action)booleanAnnotationDeclaration. isAnnotationDeclaration()booleanBodyDeclaration. isAnnotationDeclaration()booleanAnnotationMemberDeclaration. isAnnotationMemberDeclaration()booleanBodyDeclaration. isAnnotationMemberDeclaration()booleanBodyDeclaration. isCallableDeclaration()booleanCallableDeclaration. isCallableDeclaration()booleanBodyDeclaration. isClassOrInterfaceDeclaration()booleanClassOrInterfaceDeclaration. isClassOrInterfaceDeclaration()booleanBodyDeclaration. isConstructorDeclaration()booleanConstructorDeclaration. isConstructorDeclaration()booleanBodyDeclaration. isEnumConstantDeclaration()booleanEnumConstantDeclaration. isEnumConstantDeclaration()booleanBodyDeclaration. isEnumDeclaration()booleanEnumDeclaration. isEnumDeclaration()booleanBodyDeclaration. isFieldDeclaration()booleanFieldDeclaration. isFieldDeclaration()booleanBodyDeclaration. isInitializerDeclaration()booleanInitializerDeclaration. isInitializerDeclaration()booleanClassOrInterfaceDeclaration. isInterface()booleanBodyDeclaration. isMethodDeclaration()booleanMethodDeclaration. isMethodDeclaration()booleanInitializerDeclaration. isStatic()booleanBodyDeclaration. isTypeDeclaration()booleanTypeDeclaration. isTypeDeclaration()booleanParameter. isVarArgs()booleanAnnotationDeclaration. remove(Node node)booleanAnnotationMemberDeclaration. remove(Node node)booleanBodyDeclaration. remove(Node node)booleanCallableDeclaration. remove(Node node)booleanClassOrInterfaceDeclaration. remove(Node node)booleanConstructorDeclaration. remove(Node node)booleanEnumConstantDeclaration. remove(Node node)booleanEnumDeclaration. remove(Node node)booleanFieldDeclaration. remove(Node node)booleanInitializerDeclaration. remove(Node node)booleanMethodDeclaration. remove(Node node)booleanParameter. remove(Node node)booleanReceiverParameter. remove(Node node)booleanTypeDeclaration. remove(Node node)booleanVariableDeclarator. remove(Node node)MethodDeclarationMethodDeclaration. removeBody()AnnotationMemberDeclarationAnnotationMemberDeclaration. removeDefaultValue()VariableDeclaratorVariableDeclarator. removeInitializer()CallableDeclarationCallableDeclaration. removeReceiverParameter()booleanAnnotationDeclaration. replace(Node node, Node replacementNode)booleanAnnotationMemberDeclaration. replace(Node node, Node replacementNode)booleanBodyDeclaration. replace(Node node, Node replacementNode)booleanCallableDeclaration. replace(Node node, Node replacementNode)booleanClassOrInterfaceDeclaration. replace(Node node, Node replacementNode)booleanConstructorDeclaration. replace(Node node, Node replacementNode)booleanEnumConstantDeclaration. replace(Node node, Node replacementNode)booleanEnumDeclaration. replace(Node node, Node replacementNode)booleanFieldDeclaration. replace(Node node, Node replacementNode)booleanInitializerDeclaration. replace(Node node, Node replacementNode)booleanMethodDeclaration. replace(Node node, Node replacementNode)booleanParameter. replace(Node node, Node replacementNode)booleanReceiverParameter. replace(Node node, Node replacementNode)booleanTypeDeclaration. replace(Node node, Node replacementNode)booleanVariableDeclarator. replace(Node node, Node replacementNode)TBodyDeclaration. setAnnotations(NodeList<AnnotationExpr> annotations)ParameterParameter. setAnnotations(NodeList<AnnotationExpr> annotations)ReceiverParameterReceiverParameter. setAnnotations(NodeList<AnnotationExpr> annotations)EnumConstantDeclarationEnumConstantDeclaration. setArguments(NodeList<Expression> arguments)ConstructorDeclarationConstructorDeclaration. setBody(BlockStmt body)Sets the bodyInitializerDeclarationInitializerDeclaration. setBody(BlockStmt body)MethodDeclarationMethodDeclaration. setBody(BlockStmt body)Sets the bodyEnumConstantDeclarationEnumConstantDeclaration. setClassBody(NodeList<BodyDeclaration<?>> classBody)AnnotationMemberDeclarationAnnotationMemberDeclaration. setDefaultValue(Expression defaultValue)Sets the default valueEnumDeclarationEnumDeclaration. setEntries(NodeList<EnumConstantDeclaration> entries)ClassOrInterfaceDeclarationClassOrInterfaceDeclaration. setExtendedTypes(NodeList<ClassOrInterfaceType> extendedTypes)ClassOrInterfaceDeclarationClassOrInterfaceDeclaration. setImplementedTypes(NodeList<ClassOrInterfaceType> implementedTypes)EnumDeclarationEnumDeclaration. setImplementedTypes(NodeList<ClassOrInterfaceType> implementedTypes)VariableDeclaratorVariableDeclarator. setInitializer(Expression initializer)Sets the initializer expressionClassOrInterfaceDeclarationClassOrInterfaceDeclaration. setInterface(boolean isInterface)TTypeDeclaration. setMembers(NodeList<BodyDeclaration<?>> members)AnnotationMemberDeclarationAnnotationMemberDeclaration. setModifiers(EnumSet<Modifier> modifiers)TCallableDeclaration. setModifiers(EnumSet<Modifier> modifiers)FieldDeclarationFieldDeclaration. setModifiers(EnumSet<Modifier> modifiers)ParameterParameter. setModifiers(EnumSet<Modifier> modifiers)TTypeDeclaration. setModifiers(EnumSet<Modifier> modifiers)AnnotationMemberDeclarationAnnotationMemberDeclaration. setName(SimpleName name)TCallableDeclaration. setName(SimpleName name)EnumConstantDeclarationEnumConstantDeclaration. setName(SimpleName name)ParameterParameter. setName(SimpleName name)ReceiverParameterReceiverParameter. setName(Name name)TTypeDeclaration. setName(SimpleName name)VariableDeclaratorVariableDeclarator. setName(SimpleName name)TCallableDeclaration. setParameters(NodeList<Parameter> parameters)TCallableDeclaration. setReceiverParameter(ReceiverParameter receiverParameter)InitializerDeclarationInitializerDeclaration. setStatic(boolean isStatic)TCallableDeclaration. setThrownExceptions(NodeList<ReferenceType> thrownExceptions)AnnotationMemberDeclarationAnnotationMemberDeclaration. setType(Type type)MethodDeclarationMethodDeclaration. setType(Type type)ParameterParameter. setType(Type type)ReceiverParameterReceiverParameter. setType(Type type)VariableDeclaratorVariableDeclarator. setType(Type type)TCallableDeclaration. setTypeParameters(NodeList<TypeParameter> typeParameters)ClassOrInterfaceDeclarationClassOrInterfaceDeclaration. setTypeParameters(NodeList<TypeParameter> typeParameters)ParameterParameter. setVarArgs(boolean isVarArgs)ParameterParameter. setVarArgsAnnotations(NodeList<AnnotationExpr> varArgsAnnotations)FieldDeclarationFieldDeclaration. 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, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members)This constructor is used by the parser and is considered private.AnnotationMemberDeclaration(TokenRange tokenRange, EnumSet<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, EnumSet<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, EnumSet<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, EnumSet<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, EnumSet<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, EnumSet<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, EnumSet<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, EnumSet<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, EnumSet<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> voidBlockComment. accept(VoidVisitor<A> v, A arg)<R,A>
RJavadocComment. accept(GenericVisitor<R,A> v, A arg)<A> voidJavadocComment. accept(VoidVisitor<A> v, A arg)<R,A>
RLineComment. accept(GenericVisitor<R,A> v, A arg)<A> voidLineComment. accept(VoidVisitor<A> v, A arg)BlockCommentBlockComment. asBlockComment()BlockCommentComment. asBlockComment()JavadocCommentComment. asJavadocComment()JavadocCommentJavadocComment. asJavadocComment()LineCommentComment. asLineComment()LineCommentLineComment. asLineComment()BlockCommentBlockComment. clone()CommentComment. clone()JavadocCommentJavadocComment. clone()LineCommentLineComment. clone()StringComment. getContent()Return the text of the comment.BlockCommentMetaModelBlockComment. getMetaModel()CommentMetaModelComment. getMetaModel()JavadocCommentMetaModelJavadocComment. getMetaModel()LineCommentMetaModelLineComment. getMetaModel()voidBlockComment. ifBlockComment(Consumer<BlockComment> action)voidComment. ifBlockComment(Consumer<BlockComment> action)voidComment. ifJavadocComment(Consumer<JavadocComment> action)voidJavadocComment. ifJavadocComment(Consumer<JavadocComment> action)voidComment. ifLineComment(Consumer<LineComment> action)voidLineComment. ifLineComment(Consumer<LineComment> action)booleanBlockComment. isBlockComment()booleanComment. isBlockComment()booleanComment. isJavadocComment()booleanJavadocComment. isJavadocComment()booleanComment. isLineComment()booleanLineComment. isLineComment()booleanBlockComment. remove(Node node)booleanComment. remove(Node node)booleanJavadocComment. remove(Node node)booleanLineComment. remove(Node node)booleanBlockComment. replace(Node node, Node replacementNode)booleanComment. replace(Node node, Node replacementNode)booleanJavadocComment. replace(Node node, Node replacementNode)booleanLineComment. replace(Node node, Node replacementNode)CommentComment. 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> voidArrayAccessExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RArrayCreationExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidArrayCreationExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RArrayInitializerExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidArrayInitializerExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RAssignExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidAssignExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RBinaryExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidBinaryExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RBooleanLiteralExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidBooleanLiteralExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RCastExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidCastExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RCharLiteralExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidCharLiteralExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RClassExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidClassExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RConditionalExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidConditionalExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RDoubleLiteralExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidDoubleLiteralExpr. accept(VoidVisitor<A> v, A arg)<R,A>
REnclosedExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidEnclosedExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RFieldAccessExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidFieldAccessExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RInstanceOfExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidInstanceOfExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RIntegerLiteralExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidIntegerLiteralExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RLambdaExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidLambdaExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RLongLiteralExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidLongLiteralExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RMarkerAnnotationExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidMarkerAnnotationExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RMemberValuePair. accept(GenericVisitor<R,A> v, A arg)<A> voidMemberValuePair. accept(VoidVisitor<A> v, A arg)<R,A>
RMethodCallExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidMethodCallExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RMethodReferenceExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidMethodReferenceExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RName. accept(GenericVisitor<R,A> v, A arg)<A> voidName. accept(VoidVisitor<A> v, A arg)<R,A>
RNameExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidNameExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RNormalAnnotationExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidNormalAnnotationExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RNullLiteralExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidNullLiteralExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RObjectCreationExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidObjectCreationExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RSimpleName. accept(GenericVisitor<R,A> v, A arg)<A> voidSimpleName. accept(VoidVisitor<A> v, A arg)<R,A>
RSingleMemberAnnotationExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidSingleMemberAnnotationExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RStringLiteralExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidStringLiteralExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RSuperExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidSuperExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RThisExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidThisExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RTypeExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidTypeExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RUnaryExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidUnaryExpr. accept(VoidVisitor<A> v, A arg)<R,A>
RVariableDeclarationExpr. accept(GenericVisitor<R,A> v, A arg)<A> voidVariableDeclarationExpr. accept(VoidVisitor<A> v, A arg)AnnotationExprAnnotationExpr. asAnnotationExpr()AnnotationExprExpression. asAnnotationExpr()ArrayAccessExprArrayAccessExpr. asArrayAccessExpr()ArrayAccessExprExpression. asArrayAccessExpr()ArrayCreationExprArrayCreationExpr. asArrayCreationExpr()ArrayCreationExprExpression. asArrayCreationExpr()ArrayInitializerExprArrayInitializerExpr. asArrayInitializerExpr()ArrayInitializerExprExpression. asArrayInitializerExpr()AssignExprAssignExpr. asAssignExpr()AssignExprExpression. asAssignExpr()BinaryExprBinaryExpr. asBinaryExpr()BinaryExprExpression. asBinaryExpr()BooleanLiteralExprBooleanLiteralExpr. asBooleanLiteralExpr()BooleanLiteralExprExpression. asBooleanLiteralExpr()CastExprCastExpr. asCastExpr()CastExprExpression. asCastExpr()CharLiteralExprCharLiteralExpr. asCharLiteralExpr()CharLiteralExprExpression. asCharLiteralExpr()ClassExprClassExpr. asClassExpr()ClassExprExpression. asClassExpr()ConditionalExprConditionalExpr. asConditionalExpr()ConditionalExprExpression. asConditionalExpr()DoubleLiteralExprDoubleLiteralExpr. asDoubleLiteralExpr()DoubleLiteralExprExpression. asDoubleLiteralExpr()EnclosedExprEnclosedExpr. asEnclosedExpr()EnclosedExprExpression. asEnclosedExpr()FieldAccessExprExpression. asFieldAccessExpr()FieldAccessExprFieldAccessExpr. asFieldAccessExpr()InstanceOfExprExpression. asInstanceOfExpr()InstanceOfExprInstanceOfExpr. asInstanceOfExpr()IntegerLiteralExprExpression. asIntegerLiteralExpr()IntegerLiteralExprIntegerLiteralExpr. asIntegerLiteralExpr()LambdaExprExpression. asLambdaExpr()LambdaExprLambdaExpr. asLambdaExpr()LiteralExprExpression. asLiteralExpr()LiteralExprLiteralExpr. asLiteralExpr()LiteralStringValueExprExpression. asLiteralStringValueExpr()LiteralStringValueExprLiteralStringValueExpr. asLiteralStringValueExpr()LongLiteralExprExpression. asLongLiteralExpr()LongLiteralExprLongLiteralExpr. asLongLiteralExpr()MarkerAnnotationExprExpression. asMarkerAnnotationExpr()MarkerAnnotationExprMarkerAnnotationExpr. asMarkerAnnotationExpr()MethodCallExprExpression. asMethodCallExpr()MethodCallExprMethodCallExpr. asMethodCallExpr()MethodReferenceExprExpression. asMethodReferenceExpr()MethodReferenceExprMethodReferenceExpr. asMethodReferenceExpr()NameExprExpression. asNameExpr()NameExprNameExpr. asNameExpr()NormalAnnotationExprExpression. asNormalAnnotationExpr()NormalAnnotationExprNormalAnnotationExpr. asNormalAnnotationExpr()NullLiteralExprExpression. asNullLiteralExpr()NullLiteralExprNullLiteralExpr. asNullLiteralExpr()ObjectCreationExprExpression. asObjectCreationExpr()ObjectCreationExprObjectCreationExpr. asObjectCreationExpr()SingleMemberAnnotationExprExpression. asSingleMemberAnnotationExpr()SingleMemberAnnotationExprSingleMemberAnnotationExpr. asSingleMemberAnnotationExpr()StringLiteralExprExpression. asStringLiteralExpr()StringLiteralExprStringLiteralExpr. asStringLiteralExpr()SuperExprExpression. asSuperExpr()SuperExprSuperExpr. asSuperExpr()ThisExprExpression. asThisExpr()ThisExprThisExpr. asThisExpr()TypeExprExpression. asTypeExpr()TypeExprTypeExpr. asTypeExpr()UnaryExprExpression. asUnaryExpr()UnaryExprUnaryExpr. asUnaryExpr()VariableDeclarationExprExpression. asVariableDeclarationExpr()VariableDeclarationExprVariableDeclarationExpr. asVariableDeclarationExpr()AnnotationExprAnnotationExpr. clone()ArrayAccessExprArrayAccessExpr. clone()ArrayCreationExprArrayCreationExpr. clone()ArrayInitializerExprArrayInitializerExpr. clone()AssignExprAssignExpr. clone()BinaryExprBinaryExpr. clone()BooleanLiteralExprBooleanLiteralExpr. clone()CastExprCastExpr. clone()CharLiteralExprCharLiteralExpr. clone()ClassExprClassExpr. clone()ConditionalExprConditionalExpr. clone()DoubleLiteralExprDoubleLiteralExpr. clone()EnclosedExprEnclosedExpr. clone()ExpressionExpression. clone()FieldAccessExprFieldAccessExpr. clone()InstanceOfExprInstanceOfExpr. clone()IntegerLiteralExprIntegerLiteralExpr. clone()LambdaExprLambdaExpr. clone()LiteralExprLiteralExpr. clone()LiteralStringValueExprLiteralStringValueExpr. clone()LongLiteralExprLongLiteralExpr. clone()MarkerAnnotationExprMarkerAnnotationExpr. clone()MemberValuePairMemberValuePair. clone()MethodCallExprMethodCallExpr. clone()MethodReferenceExprMethodReferenceExpr. clone()NameName. clone()NameExprNameExpr. clone()NormalAnnotationExprNormalAnnotationExpr. clone()NullLiteralExprNullLiteralExpr. clone()ObjectCreationExprObjectCreationExpr. clone()SimpleNameSimpleName. clone()SingleMemberAnnotationExprSingleMemberAnnotationExpr. clone()StringLiteralExprStringLiteralExpr. clone()SuperExprSuperExpr. clone()ThisExprThisExpr. clone()TypeExprTypeExpr. clone()UnaryExprUnaryExpr. clone()VariableDeclarationExprVariableDeclarationExpr. clone()NodeList<AnnotationExpr>Name. getAnnotations()NodeList<AnnotationExpr>VariableDeclarationExpr. getAnnotations()Optional<NodeList<BodyDeclaration<?>>>ObjectCreationExpr. getAnonymousClassBody()NodeList<Expression>MethodCallExpr. getArguments()NodeList<Expression>ObjectCreationExpr. getArguments()StatementLambdaExpr. getBody()Optional<Expression>SuperExpr. getClassExpr()Optional<Expression>ThisExpr. getClassExpr()ExpressionConditionalExpr. getCondition()TypeArrayCreationExpr. getElementType()ExpressionConditionalExpr. getElseExpr()ExpressionCastExpr. getExpression()ExpressionInstanceOfExpr. getExpression()ExpressionUnaryExpr. getExpression()StringMethodReferenceExpr. getIdentifier()StringName. getIdentifier()StringSimpleName. getIdentifier()ExpressionArrayAccessExpr. getIndex()Optional<ArrayInitializerExpr>ArrayCreationExpr. getInitializer()ExpressionEnclosedExpr. getInner()ExpressionBinaryExpr. getLeft()NodeList<ArrayCreationLevel>ArrayCreationExpr. getLevels()ExpressionSingleMemberAnnotationExpr. getMemberValue()AnnotationExprMetaModelAnnotationExpr. getMetaModel()ArrayAccessExprMetaModelArrayAccessExpr. getMetaModel()ArrayCreationExprMetaModelArrayCreationExpr. getMetaModel()ArrayInitializerExprMetaModelArrayInitializerExpr. getMetaModel()AssignExprMetaModelAssignExpr. getMetaModel()BinaryExprMetaModelBinaryExpr. getMetaModel()BooleanLiteralExprMetaModelBooleanLiteralExpr. getMetaModel()CastExprMetaModelCastExpr. getMetaModel()CharLiteralExprMetaModelCharLiteralExpr. getMetaModel()ClassExprMetaModelClassExpr. getMetaModel()ConditionalExprMetaModelConditionalExpr. getMetaModel()DoubleLiteralExprMetaModelDoubleLiteralExpr. getMetaModel()EnclosedExprMetaModelEnclosedExpr. getMetaModel()ExpressionMetaModelExpression. getMetaModel()FieldAccessExprMetaModelFieldAccessExpr. getMetaModel()InstanceOfExprMetaModelInstanceOfExpr. getMetaModel()IntegerLiteralExprMetaModelIntegerLiteralExpr. getMetaModel()LambdaExprMetaModelLambdaExpr. getMetaModel()LiteralExprMetaModelLiteralExpr. getMetaModel()LiteralStringValueExprMetaModelLiteralStringValueExpr. getMetaModel()LongLiteralExprMetaModelLongLiteralExpr. getMetaModel()MarkerAnnotationExprMetaModelMarkerAnnotationExpr. getMetaModel()MemberValuePairMetaModelMemberValuePair. getMetaModel()MethodCallExprMetaModelMethodCallExpr. getMetaModel()MethodReferenceExprMetaModelMethodReferenceExpr. getMetaModel()NameMetaModelName. getMetaModel()NameExprMetaModelNameExpr. getMetaModel()NormalAnnotationExprMetaModelNormalAnnotationExpr. getMetaModel()NullLiteralExprMetaModelNullLiteralExpr. getMetaModel()ObjectCreationExprMetaModelObjectCreationExpr. getMetaModel()SimpleNameMetaModelSimpleName. getMetaModel()SingleMemberAnnotationExprMetaModelSingleMemberAnnotationExpr. getMetaModel()StringLiteralExprMetaModelStringLiteralExpr. getMetaModel()SuperExprMetaModelSuperExpr. getMetaModel()ThisExprMetaModelThisExpr. getMetaModel()TypeExprMetaModelTypeExpr. getMetaModel()UnaryExprMetaModelUnaryExpr. getMetaModel()VariableDeclarationExprMetaModelVariableDeclarationExpr. getMetaModel()EnumSet<Modifier>VariableDeclarationExpr. getModifiers()Return the modifiers of this variable declaration.NameAnnotationExpr. getName()ExpressionArrayAccessExpr. getName()SimpleNameFieldAccessExpr. getName()SimpleNameMemberValuePair. getName()SimpleNameMethodCallExpr. getName()SimpleNameNameExpr. getName()AssignExpr.OperatorAssignExpr. getOperator()BinaryExpr.OperatorBinaryExpr. getOperator()UnaryExpr.OperatorUnaryExpr. getOperator()NodeList<MemberValuePair>NormalAnnotationExpr. getPairs()NodeList<Parameter>LambdaExpr. getParameters()Optional<Name>Name. getQualifier()ExpressionBinaryExpr. getRight()ExpressionFieldAccessExpr. getScope()Optional<Expression>MethodCallExpr. getScope()ExpressionMethodReferenceExpr. getScope()Optional<Expression>ObjectCreationExpr. getScope()ExpressionAssignExpr. getTarget()ExpressionConditionalExpr. getThenExpr()TypeCastExpr. getType()TypeClassExpr. getType()ReferenceTypeInstanceOfExpr. getType()ClassOrInterfaceTypeObjectCreationExpr. getType()TypeTypeExpr. getType()Optional<NodeList<Type>>FieldAccessExpr. getTypeArguments()Optional<NodeList<Type>>MethodCallExpr. getTypeArguments()Optional<NodeList<Type>>MethodReferenceExpr. getTypeArguments()Optional<NodeList<Type>>ObjectCreationExpr. getTypeArguments()ExpressionAssignExpr. getValue()booleanBooleanLiteralExpr. getValue()StringLiteralStringValueExpr. getValue()ExpressionMemberValuePair. getValue()NodeList<Expression>ArrayInitializerExpr. getValues()NodeList<VariableDeclarator>VariableDeclarationExpr. getVariables()voidAnnotationExpr. ifAnnotationExpr(Consumer<AnnotationExpr> action)voidExpression. ifAnnotationExpr(Consumer<AnnotationExpr> action)voidArrayAccessExpr. ifArrayAccessExpr(Consumer<ArrayAccessExpr> action)voidExpression. ifArrayAccessExpr(Consumer<ArrayAccessExpr> action)voidArrayCreationExpr. ifArrayCreationExpr(Consumer<ArrayCreationExpr> action)voidExpression. ifArrayCreationExpr(Consumer<ArrayCreationExpr> action)voidArrayInitializerExpr. ifArrayInitializerExpr(Consumer<ArrayInitializerExpr> action)voidExpression. ifArrayInitializerExpr(Consumer<ArrayInitializerExpr> action)voidAssignExpr. ifAssignExpr(Consumer<AssignExpr> action)voidExpression. ifAssignExpr(Consumer<AssignExpr> action)voidBinaryExpr. ifBinaryExpr(Consumer<BinaryExpr> action)voidExpression. ifBinaryExpr(Consumer<BinaryExpr> action)voidBooleanLiteralExpr. ifBooleanLiteralExpr(Consumer<BooleanLiteralExpr> action)voidExpression. ifBooleanLiteralExpr(Consumer<BooleanLiteralExpr> action)voidCastExpr. ifCastExpr(Consumer<CastExpr> action)voidExpression. ifCastExpr(Consumer<CastExpr> action)voidCharLiteralExpr. ifCharLiteralExpr(Consumer<CharLiteralExpr> action)voidExpression. ifCharLiteralExpr(Consumer<CharLiteralExpr> action)voidClassExpr. ifClassExpr(Consumer<ClassExpr> action)voidExpression. ifClassExpr(Consumer<ClassExpr> action)voidConditionalExpr. ifConditionalExpr(Consumer<ConditionalExpr> action)voidExpression. ifConditionalExpr(Consumer<ConditionalExpr> action)voidDoubleLiteralExpr. ifDoubleLiteralExpr(Consumer<DoubleLiteralExpr> action)voidExpression. ifDoubleLiteralExpr(Consumer<DoubleLiteralExpr> action)voidEnclosedExpr. ifEnclosedExpr(Consumer<EnclosedExpr> action)voidExpression. ifEnclosedExpr(Consumer<EnclosedExpr> action)voidExpression. ifFieldAccessExpr(Consumer<FieldAccessExpr> action)voidFieldAccessExpr. ifFieldAccessExpr(Consumer<FieldAccessExpr> action)voidExpression. ifInstanceOfExpr(Consumer<InstanceOfExpr> action)voidInstanceOfExpr. ifInstanceOfExpr(Consumer<InstanceOfExpr> action)voidExpression. ifIntegerLiteralExpr(Consumer<IntegerLiteralExpr> action)voidIntegerLiteralExpr. ifIntegerLiteralExpr(Consumer<IntegerLiteralExpr> action)voidExpression. ifLambdaExpr(Consumer<LambdaExpr> action)voidLambdaExpr. ifLambdaExpr(Consumer<LambdaExpr> action)voidExpression. ifLiteralExpr(Consumer<LiteralExpr> action)voidLiteralExpr. ifLiteralExpr(Consumer<LiteralExpr> action)voidExpression. ifLiteralStringValueExpr(Consumer<LiteralStringValueExpr> action)voidLiteralStringValueExpr. ifLiteralStringValueExpr(Consumer<LiteralStringValueExpr> action)voidExpression. ifLongLiteralExpr(Consumer<LongLiteralExpr> action)voidLongLiteralExpr. ifLongLiteralExpr(Consumer<LongLiteralExpr> action)voidExpression. ifMarkerAnnotationExpr(Consumer<MarkerAnnotationExpr> action)voidMarkerAnnotationExpr. ifMarkerAnnotationExpr(Consumer<MarkerAnnotationExpr> action)voidExpression. ifMethodCallExpr(Consumer<MethodCallExpr> action)voidMethodCallExpr. ifMethodCallExpr(Consumer<MethodCallExpr> action)voidExpression. ifMethodReferenceExpr(Consumer<MethodReferenceExpr> action)voidMethodReferenceExpr. ifMethodReferenceExpr(Consumer<MethodReferenceExpr> action)voidExpression. ifNameExpr(Consumer<NameExpr> action)voidNameExpr. ifNameExpr(Consumer<NameExpr> action)voidExpression. ifNormalAnnotationExpr(Consumer<NormalAnnotationExpr> action)voidNormalAnnotationExpr. ifNormalAnnotationExpr(Consumer<NormalAnnotationExpr> action)voidExpression. ifNullLiteralExpr(Consumer<NullLiteralExpr> action)voidNullLiteralExpr. ifNullLiteralExpr(Consumer<NullLiteralExpr> action)voidExpression. ifObjectCreationExpr(Consumer<ObjectCreationExpr> action)voidObjectCreationExpr. ifObjectCreationExpr(Consumer<ObjectCreationExpr> action)voidExpression. ifSingleMemberAnnotationExpr(Consumer<SingleMemberAnnotationExpr> action)voidSingleMemberAnnotationExpr. ifSingleMemberAnnotationExpr(Consumer<SingleMemberAnnotationExpr> action)voidExpression. ifStringLiteralExpr(Consumer<StringLiteralExpr> action)voidStringLiteralExpr. ifStringLiteralExpr(Consumer<StringLiteralExpr> action)voidExpression. ifSuperExpr(Consumer<SuperExpr> action)voidSuperExpr. ifSuperExpr(Consumer<SuperExpr> action)voidExpression. ifThisExpr(Consumer<ThisExpr> action)voidThisExpr. ifThisExpr(Consumer<ThisExpr> action)voidExpression. ifTypeExpr(Consumer<TypeExpr> action)voidTypeExpr. ifTypeExpr(Consumer<TypeExpr> action)voidExpression. ifUnaryExpr(Consumer<UnaryExpr> action)voidUnaryExpr. ifUnaryExpr(Consumer<UnaryExpr> action)voidExpression. ifVariableDeclarationExpr(Consumer<VariableDeclarationExpr> action)voidVariableDeclarationExpr. ifVariableDeclarationExpr(Consumer<VariableDeclarationExpr> action)booleanAnnotationExpr. isAnnotationExpr()booleanExpression. isAnnotationExpr()booleanArrayAccessExpr. isArrayAccessExpr()booleanExpression. isArrayAccessExpr()booleanArrayCreationExpr. isArrayCreationExpr()booleanExpression. isArrayCreationExpr()booleanArrayInitializerExpr. isArrayInitializerExpr()booleanExpression. isArrayInitializerExpr()booleanAssignExpr. isAssignExpr()booleanExpression. isAssignExpr()booleanBinaryExpr. isBinaryExpr()booleanExpression. isBinaryExpr()booleanBooleanLiteralExpr. isBooleanLiteralExpr()booleanExpression. isBooleanLiteralExpr()booleanCastExpr. isCastExpr()booleanExpression. isCastExpr()booleanCharLiteralExpr. isCharLiteralExpr()booleanExpression. isCharLiteralExpr()booleanClassExpr. isClassExpr()booleanExpression. isClassExpr()booleanConditionalExpr. isConditionalExpr()booleanExpression. isConditionalExpr()booleanDoubleLiteralExpr. isDoubleLiteralExpr()booleanExpression. isDoubleLiteralExpr()booleanEnclosedExpr. isEnclosedExpr()booleanExpression. isEnclosedExpr()booleanLambdaExpr. isEnclosingParameters()booleanExpression. isFieldAccessExpr()booleanFieldAccessExpr. isFieldAccessExpr()booleanExpression. isInstanceOfExpr()booleanInstanceOfExpr. isInstanceOfExpr()booleanExpression. isIntegerLiteralExpr()booleanIntegerLiteralExpr. isIntegerLiteralExpr()booleanExpression. isLambdaExpr()booleanLambdaExpr. isLambdaExpr()booleanExpression. isLiteralExpr()booleanLiteralExpr. isLiteralExpr()booleanExpression. isLiteralStringValueExpr()booleanLiteralStringValueExpr. isLiteralStringValueExpr()booleanExpression. isLongLiteralExpr()booleanLongLiteralExpr. isLongLiteralExpr()booleanExpression. isMarkerAnnotationExpr()booleanMarkerAnnotationExpr. isMarkerAnnotationExpr()booleanExpression. isMethodCallExpr()booleanMethodCallExpr. isMethodCallExpr()booleanExpression. isMethodReferenceExpr()booleanMethodReferenceExpr. isMethodReferenceExpr()booleanExpression. isNameExpr()booleanNameExpr. isNameExpr()booleanExpression. isNormalAnnotationExpr()booleanNormalAnnotationExpr. isNormalAnnotationExpr()booleanExpression. isNullLiteralExpr()booleanNullLiteralExpr. isNullLiteralExpr()booleanExpression. isObjectCreationExpr()booleanObjectCreationExpr. isObjectCreationExpr()booleanExpression. isSingleMemberAnnotationExpr()booleanSingleMemberAnnotationExpr. isSingleMemberAnnotationExpr()booleanExpression. isStringLiteralExpr()booleanStringLiteralExpr. isStringLiteralExpr()booleanExpression. isSuperExpr()booleanSuperExpr. isSuperExpr()booleanExpression. isThisExpr()booleanThisExpr. isThisExpr()booleanExpression. isTypeExpr()booleanTypeExpr. isTypeExpr()booleanExpression. isUnaryExpr()booleanUnaryExpr. isUnaryExpr()booleanExpression. isVariableDeclarationExpr()booleanVariableDeclarationExpr. isVariableDeclarationExpr()booleanAnnotationExpr. remove(Node node)booleanArrayAccessExpr. remove(Node node)booleanArrayCreationExpr. remove(Node node)booleanArrayInitializerExpr. remove(Node node)booleanAssignExpr. remove(Node node)booleanBinaryExpr. remove(Node node)booleanBooleanLiteralExpr. remove(Node node)booleanCastExpr. remove(Node node)booleanCharLiteralExpr. remove(Node node)booleanClassExpr. remove(Node node)booleanConditionalExpr. remove(Node node)booleanDoubleLiteralExpr. remove(Node node)booleanEnclosedExpr. remove(Node node)booleanExpression. remove(Node node)booleanFieldAccessExpr. remove(Node node)booleanInstanceOfExpr. remove(Node node)booleanIntegerLiteralExpr. remove(Node node)booleanLambdaExpr. remove(Node node)booleanLiteralExpr. remove(Node node)booleanLiteralStringValueExpr. remove(Node node)booleanLongLiteralExpr. remove(Node node)booleanMarkerAnnotationExpr. remove(Node node)booleanMemberValuePair. remove(Node node)booleanMethodCallExpr. remove(Node node)booleanMethodReferenceExpr. remove(Node node)booleanName. remove(Node node)booleanNameExpr. remove(Node node)booleanNormalAnnotationExpr. remove(Node node)booleanNullLiteralExpr. remove(Node node)booleanObjectCreationExpr. remove(Node node)booleanSimpleName. remove(Node node)booleanSingleMemberAnnotationExpr. remove(Node node)booleanStringLiteralExpr. remove(Node node)booleanSuperExpr. remove(Node node)booleanThisExpr. remove(Node node)booleanTypeExpr. remove(Node node)booleanUnaryExpr. remove(Node node)booleanVariableDeclarationExpr. remove(Node node)SuperExprSuperExpr. removeClassExpr()ThisExprThisExpr. removeClassExpr()ArrayCreationExprArrayCreationExpr. removeInitializer()EnclosedExprEnclosedExpr. removeInner()NameName. removeQualifier()MethodCallExprMethodCallExpr. removeScope()ObjectCreationExprObjectCreationExpr. removeScope()booleanAnnotationExpr. replace(Node node, Node replacementNode)booleanArrayAccessExpr. replace(Node node, Node replacementNode)booleanArrayCreationExpr. replace(Node node, Node replacementNode)booleanArrayInitializerExpr. replace(Node node, Node replacementNode)booleanAssignExpr. replace(Node node, Node replacementNode)booleanBinaryExpr. replace(Node node, Node replacementNode)booleanBooleanLiteralExpr. replace(Node node, Node replacementNode)booleanCastExpr. replace(Node node, Node replacementNode)booleanCharLiteralExpr. replace(Node node, Node replacementNode)booleanClassExpr. replace(Node node, Node replacementNode)booleanConditionalExpr. replace(Node node, Node replacementNode)booleanDoubleLiteralExpr. replace(Node node, Node replacementNode)booleanEnclosedExpr. replace(Node node, Node replacementNode)booleanExpression. replace(Node node, Node replacementNode)booleanFieldAccessExpr. replace(Node node, Node replacementNode)booleanInstanceOfExpr. replace(Node node, Node replacementNode)booleanIntegerLiteralExpr. replace(Node node, Node replacementNode)booleanLambdaExpr. replace(Node node, Node replacementNode)booleanLiteralExpr. replace(Node node, Node replacementNode)booleanLiteralStringValueExpr. replace(Node node, Node replacementNode)booleanLongLiteralExpr. replace(Node node, Node replacementNode)booleanMarkerAnnotationExpr. replace(Node node, Node replacementNode)booleanMemberValuePair. replace(Node node, Node replacementNode)booleanMethodCallExpr. replace(Node node, Node replacementNode)booleanMethodReferenceExpr. replace(Node node, Node replacementNode)booleanName. replace(Node node, Node replacementNode)booleanNameExpr. replace(Node node, Node replacementNode)booleanNormalAnnotationExpr. replace(Node node, Node replacementNode)booleanNullLiteralExpr. replace(Node node, Node replacementNode)booleanObjectCreationExpr. replace(Node node, Node replacementNode)booleanSimpleName. replace(Node node, Node replacementNode)booleanSingleMemberAnnotationExpr. replace(Node node, Node replacementNode)booleanStringLiteralExpr. replace(Node node, Node replacementNode)booleanSuperExpr. replace(Node node, Node replacementNode)booleanThisExpr. replace(Node node, Node replacementNode)booleanTypeExpr. replace(Node node, Node replacementNode)booleanUnaryExpr. replace(Node node, Node replacementNode)booleanVariableDeclarationExpr. replace(Node node, Node replacementNode)NameName. setAnnotations(NodeList<AnnotationExpr> annotations)VariableDeclarationExprVariableDeclarationExpr. setAnnotations(NodeList<AnnotationExpr> annotations)ObjectCreationExprObjectCreationExpr. setAnonymousClassBody(NodeList<BodyDeclaration<?>> anonymousClassBody)Sets the anonymousClassBody
Null means no class body
Empty NodeList means new ClassName(){ }MethodCallExprMethodCallExpr. setArguments(NodeList<Expression> arguments)ObjectCreationExprObjectCreationExpr. setArguments(NodeList<Expression> arguments)LambdaExprLambdaExpr. setBody(Statement body)SuperExprSuperExpr. setClassExpr(Expression classExpr)Sets the classExprThisExprThisExpr. setClassExpr(Expression classExpr)ConditionalExprConditionalExpr. setCondition(Expression condition)ArrayCreationExprArrayCreationExpr. setElementType(Type elementType)ConditionalExprConditionalExpr. setElseExpr(Expression elseExpr)LambdaExprLambdaExpr. setEnclosingParameters(boolean isEnclosingParameters)CastExprCastExpr. setExpression(Expression expression)InstanceOfExprInstanceOfExpr. setExpression(Expression expression)UnaryExprUnaryExpr. setExpression(Expression expression)MethodReferenceExprMethodReferenceExpr. setIdentifier(String identifier)NameName. setIdentifier(String identifier)SimpleNameSimpleName. setIdentifier(String identifier)ArrayAccessExprArrayAccessExpr. setIndex(Expression index)ArrayCreationExprArrayCreationExpr. setInitializer(ArrayInitializerExpr initializer)Sets the initializerEnclosedExprEnclosedExpr. setInner(Expression inner)Sets the inner expressionBinaryExprBinaryExpr. setLeft(Expression left)ArrayCreationExprArrayCreationExpr. setLevels(NodeList<ArrayCreationLevel> levels)SingleMemberAnnotationExprSingleMemberAnnotationExpr. setMemberValue(Expression memberValue)VariableDeclarationExprVariableDeclarationExpr. setModifiers(EnumSet<Modifier> modifiers)AnnotationExprAnnotationExpr. setName(Name name)ArrayAccessExprArrayAccessExpr. setName(Expression name)FieldAccessExprFieldAccessExpr. setName(SimpleName name)MemberValuePairMemberValuePair. setName(SimpleName name)MethodCallExprMethodCallExpr. setName(SimpleName name)NameExprNameExpr. setName(SimpleName name)AssignExprAssignExpr. setOperator(AssignExpr.Operator operator)BinaryExprBinaryExpr. setOperator(BinaryExpr.Operator operator)UnaryExprUnaryExpr. setOperator(UnaryExpr.Operator operator)NormalAnnotationExprNormalAnnotationExpr. setPairs(NodeList<MemberValuePair> pairs)LambdaExprLambdaExpr. setParameters(NodeList<Parameter> parameters)NameName. setQualifier(Name qualifier)BinaryExprBinaryExpr. setRight(Expression right)FieldAccessExprFieldAccessExpr. setScope(Expression scope)Sets the scopeMethodCallExprMethodCallExpr. setScope(Expression scope)MethodReferenceExprMethodReferenceExpr. setScope(Expression scope)ObjectCreationExprObjectCreationExpr. setScope(Expression scope)Sets the scopeAssignExprAssignExpr. setTarget(Expression target)ConditionalExprConditionalExpr. setThenExpr(Expression thenExpr)CastExprCastExpr. setType(Type type)ClassExprClassExpr. setType(Type type)InstanceOfExprInstanceOfExpr. setType(ReferenceType type)ObjectCreationExprObjectCreationExpr. setType(ClassOrInterfaceType type)TypeExprTypeExpr. setType(Type type)FieldAccessExprFieldAccessExpr. setTypeArguments(NodeList<Type> typeArguments)Sets the type argumentsMethodCallExprMethodCallExpr. setTypeArguments(NodeList<Type> typeArguments)Sets the typeArgumentsMethodReferenceExprMethodReferenceExpr. setTypeArguments(NodeList<Type> typeArguments)Sets the typeArgumentsObjectCreationExprObjectCreationExpr. setTypeArguments(NodeList<Type> typeArguments)Sets the typeArgumentsAssignExprAssignExpr. setValue(Expression value)BooleanLiteralExprBooleanLiteralExpr. setValue(boolean value)LiteralStringValueExprLiteralStringValueExpr. setValue(String value)MemberValuePairMemberValuePair. setValue(Expression value)ArrayInitializerExprArrayInitializerExpr. setValues(NodeList<Expression> values)VariableDeclarationExprVariableDeclarationExpr. 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<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, NodeList<AnnotationExpr> annotations)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, Expression classExpr)This constructor is used by the parser and is considered private.ThisExpr(TokenRange tokenRange, Expression classExpr)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, EnumSet<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, EnumSet<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 classObservablePropertyProperties 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> voidAssertStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RBlockStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidBlockStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RBreakStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidBreakStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RCatchClause. accept(GenericVisitor<R,A> v, A arg)<A> voidCatchClause. accept(VoidVisitor<A> v, A arg)<R,A>
RContinueStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidContinueStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RDoStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidDoStmt. accept(VoidVisitor<A> v, A arg)<R,A>
REmptyStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidEmptyStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RExplicitConstructorInvocationStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidExplicitConstructorInvocationStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RExpressionStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidExpressionStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RForEachStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidForEachStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RForStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidForStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RIfStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidIfStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RLabeledStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidLabeledStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RLocalClassDeclarationStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidLocalClassDeclarationStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RReturnStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidReturnStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RSwitchEntryStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidSwitchEntryStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RSwitchStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidSwitchStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RSynchronizedStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidSynchronizedStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RThrowStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidThrowStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RTryStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidTryStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RUnparsableStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidUnparsableStmt. accept(VoidVisitor<A> v, A arg)<R,A>
RWhileStmt. accept(GenericVisitor<R,A> v, A arg)<A> voidWhileStmt. accept(VoidVisitor<A> v, A arg)AssertStmtAssertStmt. asAssertStmt()AssertStmtStatement. asAssertStmt()BlockStmtBlockStmt. asBlockStmt()BlockStmtStatement. asBlockStmt()BreakStmtBreakStmt. asBreakStmt()BreakStmtStatement. asBreakStmt()ContinueStmtContinueStmt. asContinueStmt()ContinueStmtStatement. asContinueStmt()DoStmtDoStmt. asDoStmt()DoStmtStatement. asDoStmt()EmptyStmtEmptyStmt. asEmptyStmt()EmptyStmtStatement. asEmptyStmt()ExplicitConstructorInvocationStmtExplicitConstructorInvocationStmt. asExplicitConstructorInvocationStmt()ExplicitConstructorInvocationStmtStatement. asExplicitConstructorInvocationStmt()ExpressionStmtExpressionStmt. asExpressionStmt()ExpressionStmtStatement. asExpressionStmt()ForEachStmtForEachStmt. asForeachStmt()ForEachStmtStatement. asForeachStmt()ForEachStmtForEachStmt. asForEachStmt()ForEachStmtStatement. asForEachStmt()ForStmtForStmt. asForStmt()ForStmtStatement. asForStmt()IfStmtIfStmt. asIfStmt()IfStmtStatement. asIfStmt()LabeledStmtLabeledStmt. asLabeledStmt()LabeledStmtStatement. asLabeledStmt()LocalClassDeclarationStmtLocalClassDeclarationStmt. asLocalClassDeclarationStmt()LocalClassDeclarationStmtStatement. asLocalClassDeclarationStmt()ReturnStmtReturnStmt. asReturnStmt()ReturnStmtStatement. asReturnStmt()SwitchEntryStmtStatement. asSwitchEntryStmt()SwitchEntryStmtSwitchEntryStmt. asSwitchEntryStmt()SwitchStmtStatement. asSwitchStmt()SwitchStmtSwitchStmt. asSwitchStmt()SynchronizedStmtStatement. asSynchronizedStmt()SynchronizedStmtSynchronizedStmt. asSynchronizedStmt()ThrowStmtStatement. asThrowStmt()ThrowStmtThrowStmt. asThrowStmt()TryStmtStatement. asTryStmt()TryStmtTryStmt. asTryStmt()UnparsableStmtStatement. asUnparsableStmt()UnparsableStmtUnparsableStmt. asUnparsableStmt()WhileStmtStatement. asWhileStmt()WhileStmtWhileStmt. asWhileStmt()AssertStmtAssertStmt. clone()BlockStmtBlockStmt. clone()BreakStmtBreakStmt. clone()CatchClauseCatchClause. clone()ContinueStmtContinueStmt. clone()DoStmtDoStmt. clone()EmptyStmtEmptyStmt. clone()ExplicitConstructorInvocationStmtExplicitConstructorInvocationStmt. clone()ExpressionStmtExpressionStmt. clone()ForEachStmtForEachStmt. clone()ForStmtForStmt. clone()IfStmtIfStmt. clone()LabeledStmtLabeledStmt. clone()LocalClassDeclarationStmtLocalClassDeclarationStmt. clone()ReturnStmtReturnStmt. clone()StatementStatement. clone()SwitchEntryStmtSwitchEntryStmt. clone()SwitchStmtSwitchStmt. clone()SynchronizedStmtSynchronizedStmt. clone()ThrowStmtThrowStmt. clone()TryStmtTryStmt. clone()UnparsableStmtUnparsableStmt. clone()WhileStmtWhileStmt. clone()NodeList<Expression>ExplicitConstructorInvocationStmt. getArguments()BlockStmtCatchClause. getBody()StatementDoStmt. getBody()StatementForEachStmt. getBody()StatementForStmt. getBody()BlockStmtSynchronizedStmt. getBody()StatementWhileStmt. getBody()NodeList<CatchClause>TryStmt. getCatchClauses()ExpressionAssertStmt. getCheck()ClassOrInterfaceDeclarationLocalClassDeclarationStmt. getClassDeclaration()Optional<Expression>ForStmt. getCompare()ExpressionDoStmt. getCondition()ExpressionIfStmt. getCondition()ExpressionWhileStmt. getCondition()Optional<Statement>IfStmt. getElseStmt()NodeList<SwitchEntryStmt>SwitchStmt. getEntries()Optional<Expression>ExplicitConstructorInvocationStmt. getExpression()ExpressionExpressionStmt. getExpression()Optional<Expression>ReturnStmt. getExpression()ExpressionSynchronizedStmt. getExpression()ExpressionThrowStmt. getExpression()Optional<BlockStmt>TryStmt. getFinallyBlock()NodeList<Expression>ForStmt. getInitialization()ExpressionForEachStmt. getIterable()Optional<SimpleName>BreakStmt. getLabel()Optional<SimpleName>ContinueStmt. getLabel()SimpleNameLabeledStmt. getLabel()Optional<Expression>SwitchEntryStmt. getLabel()Optional<Expression>AssertStmt. getMessage()AssertStmtMetaModelAssertStmt. getMetaModel()BlockStmtMetaModelBlockStmt. getMetaModel()BreakStmtMetaModelBreakStmt. getMetaModel()CatchClauseMetaModelCatchClause. getMetaModel()ContinueStmtMetaModelContinueStmt. getMetaModel()DoStmtMetaModelDoStmt. getMetaModel()EmptyStmtMetaModelEmptyStmt. getMetaModel()ExplicitConstructorInvocationStmtMetaModelExplicitConstructorInvocationStmt. getMetaModel()ExpressionStmtMetaModelExpressionStmt. getMetaModel()ForEachStmtMetaModelForEachStmt. getMetaModel()ForStmtMetaModelForStmt. getMetaModel()IfStmtMetaModelIfStmt. getMetaModel()LabeledStmtMetaModelLabeledStmt. getMetaModel()LocalClassDeclarationStmtMetaModelLocalClassDeclarationStmt. getMetaModel()ReturnStmtMetaModelReturnStmt. getMetaModel()StatementMetaModelStatement. getMetaModel()SwitchEntryStmtMetaModelSwitchEntryStmt. getMetaModel()SwitchStmtMetaModelSwitchStmt. getMetaModel()SynchronizedStmtMetaModelSynchronizedStmt. getMetaModel()ThrowStmtMetaModelThrowStmt. getMetaModel()TryStmtMetaModelTryStmt. getMetaModel()UnparsableStmtMetaModelUnparsableStmt. getMetaModel()WhileStmtMetaModelWhileStmt. getMetaModel()ParameterCatchClause. getParameter()Note that the type of the Parameter can be a UnionType.NodeList<Expression>TryStmt. getResources()ExpressionSwitchStmt. getSelector()StatementLabeledStmt. getStatement()NodeList<Statement>BlockStmt. getStatements()NodeList<Statement>SwitchEntryStmt. getStatements()StatementIfStmt. getThenStmt()BlockStmtTryStmt. getTryBlock()Optional<NodeList<Type>>ExplicitConstructorInvocationStmt. getTypeArguments()NodeList<Expression>ForStmt. getUpdate()VariableDeclarationExprForEachStmt. getVariable()voidAssertStmt. ifAssertStmt(Consumer<AssertStmt> action)voidStatement. ifAssertStmt(Consumer<AssertStmt> action)voidBlockStmt. ifBlockStmt(Consumer<BlockStmt> action)voidStatement. ifBlockStmt(Consumer<BlockStmt> action)voidBreakStmt. ifBreakStmt(Consumer<BreakStmt> action)voidStatement. ifBreakStmt(Consumer<BreakStmt> action)voidContinueStmt. ifContinueStmt(Consumer<ContinueStmt> action)voidStatement. ifContinueStmt(Consumer<ContinueStmt> action)voidDoStmt. ifDoStmt(Consumer<DoStmt> action)voidStatement. ifDoStmt(Consumer<DoStmt> action)voidEmptyStmt. ifEmptyStmt(Consumer<EmptyStmt> action)voidStatement. ifEmptyStmt(Consumer<EmptyStmt> action)voidExplicitConstructorInvocationStmt. ifExplicitConstructorInvocationStmt(Consumer<ExplicitConstructorInvocationStmt> action)voidStatement. ifExplicitConstructorInvocationStmt(Consumer<ExplicitConstructorInvocationStmt> action)voidExpressionStmt. ifExpressionStmt(Consumer<ExpressionStmt> action)voidStatement. ifExpressionStmt(Consumer<ExpressionStmt> action)voidForEachStmt. ifForeachStmt(Consumer<ForEachStmt> action)voidStatement. ifForeachStmt(Consumer<ForEachStmt> action)voidForEachStmt. ifForEachStmt(Consumer<ForEachStmt> action)voidStatement. ifForEachStmt(Consumer<ForEachStmt> action)voidForStmt. ifForStmt(Consumer<ForStmt> action)voidStatement. ifForStmt(Consumer<ForStmt> action)voidIfStmt. ifIfStmt(Consumer<IfStmt> action)voidStatement. ifIfStmt(Consumer<IfStmt> action)voidLabeledStmt. ifLabeledStmt(Consumer<LabeledStmt> action)voidStatement. ifLabeledStmt(Consumer<LabeledStmt> action)voidLocalClassDeclarationStmt. ifLocalClassDeclarationStmt(Consumer<LocalClassDeclarationStmt> action)voidStatement. ifLocalClassDeclarationStmt(Consumer<LocalClassDeclarationStmt> action)voidReturnStmt. ifReturnStmt(Consumer<ReturnStmt> action)voidStatement. ifReturnStmt(Consumer<ReturnStmt> action)voidStatement. ifSwitchEntryStmt(Consumer<SwitchEntryStmt> action)voidSwitchEntryStmt. ifSwitchEntryStmt(Consumer<SwitchEntryStmt> action)voidStatement. ifSwitchStmt(Consumer<SwitchStmt> action)voidSwitchStmt. ifSwitchStmt(Consumer<SwitchStmt> action)voidStatement. ifSynchronizedStmt(Consumer<SynchronizedStmt> action)voidSynchronizedStmt. ifSynchronizedStmt(Consumer<SynchronizedStmt> action)voidStatement. ifThrowStmt(Consumer<ThrowStmt> action)voidThrowStmt. ifThrowStmt(Consumer<ThrowStmt> action)voidStatement. ifTryStmt(Consumer<TryStmt> action)voidTryStmt. ifTryStmt(Consumer<TryStmt> action)voidStatement. ifUnparsableStmt(Consumer<UnparsableStmt> action)voidUnparsableStmt. ifUnparsableStmt(Consumer<UnparsableStmt> action)voidStatement. ifWhileStmt(Consumer<WhileStmt> action)voidWhileStmt. ifWhileStmt(Consumer<WhileStmt> action)booleanAssertStmt. isAssertStmt()booleanStatement. isAssertStmt()booleanBlockStmt. isBlockStmt()booleanStatement. isBlockStmt()booleanBreakStmt. isBreakStmt()booleanStatement. isBreakStmt()booleanContinueStmt. isContinueStmt()booleanStatement. isContinueStmt()booleanDoStmt. isDoStmt()booleanStatement. isDoStmt()booleanEmptyStmt. isEmptyStmt()booleanStatement. isEmptyStmt()booleanExplicitConstructorInvocationStmt. isExplicitConstructorInvocationStmt()booleanStatement. isExplicitConstructorInvocationStmt()booleanExpressionStmt. isExpressionStmt()booleanStatement. isExpressionStmt()booleanForEachStmt. isForeachStmt()booleanStatement. isForeachStmt()booleanForEachStmt. isForEachStmt()booleanStatement. isForEachStmt()booleanForStmt. isForStmt()booleanStatement. isForStmt()booleanIfStmt. isIfStmt()booleanStatement. isIfStmt()booleanLabeledStmt. isLabeledStmt()booleanStatement. isLabeledStmt()booleanLocalClassDeclarationStmt. isLocalClassDeclarationStmt()booleanStatement. isLocalClassDeclarationStmt()booleanReturnStmt. isReturnStmt()booleanStatement. isReturnStmt()booleanStatement. isSwitchEntryStmt()booleanSwitchEntryStmt. isSwitchEntryStmt()booleanStatement. isSwitchStmt()booleanSwitchStmt. isSwitchStmt()booleanStatement. isSynchronizedStmt()booleanSynchronizedStmt. isSynchronizedStmt()booleanExplicitConstructorInvocationStmt. isThis()booleanStatement. isThrowStmt()booleanThrowStmt. isThrowStmt()booleanStatement. isTryStmt()booleanTryStmt. isTryStmt()booleanStatement. isUnparsableStmt()booleanUnparsableStmt. isUnparsableStmt()booleanStatement. isWhileStmt()booleanWhileStmt. isWhileStmt()booleanAssertStmt. remove(Node node)booleanBlockStmt. remove(Node node)booleanBreakStmt. remove(Node node)booleanCatchClause. remove(Node node)booleanContinueStmt. remove(Node node)booleanDoStmt. remove(Node node)booleanEmptyStmt. remove(Node node)booleanExplicitConstructorInvocationStmt. remove(Node node)booleanExpressionStmt. remove(Node node)booleanForEachStmt. remove(Node node)booleanForStmt. remove(Node node)booleanIfStmt. remove(Node node)booleanLabeledStmt. remove(Node node)booleanLocalClassDeclarationStmt. remove(Node node)booleanReturnStmt. remove(Node node)booleanStatement. remove(Node node)booleanSwitchEntryStmt. remove(Node node)booleanSwitchStmt. remove(Node node)booleanSynchronizedStmt. remove(Node node)booleanThrowStmt. remove(Node node)booleanTryStmt. remove(Node node)booleanUnparsableStmt. remove(Node node)booleanWhileStmt. remove(Node node)ForStmtForStmt. removeCompare()IfStmtIfStmt. removeElseStmt()ExplicitConstructorInvocationStmtExplicitConstructorInvocationStmt. removeExpression()ReturnStmtReturnStmt. removeExpression()TryStmtTryStmt. removeFinallyBlock()BreakStmtBreakStmt. removeLabel()ContinueStmtContinueStmt. removeLabel()SwitchEntryStmtSwitchEntryStmt. removeLabel()AssertStmtAssertStmt. removeMessage()TryStmtTryStmt. removeTryBlock()booleanAssertStmt. replace(Node node, Node replacementNode)booleanBlockStmt. replace(Node node, Node replacementNode)booleanBreakStmt. replace(Node node, Node replacementNode)booleanCatchClause. replace(Node node, Node replacementNode)booleanContinueStmt. replace(Node node, Node replacementNode)booleanDoStmt. replace(Node node, Node replacementNode)booleanEmptyStmt. replace(Node node, Node replacementNode)booleanExplicitConstructorInvocationStmt. replace(Node node, Node replacementNode)booleanExpressionStmt. replace(Node node, Node replacementNode)booleanForEachStmt. replace(Node node, Node replacementNode)booleanForStmt. replace(Node node, Node replacementNode)booleanIfStmt. replace(Node node, Node replacementNode)booleanLabeledStmt. replace(Node node, Node replacementNode)booleanLocalClassDeclarationStmt. replace(Node node, Node replacementNode)booleanReturnStmt. replace(Node node, Node replacementNode)booleanStatement. replace(Node node, Node replacementNode)booleanSwitchEntryStmt. replace(Node node, Node replacementNode)booleanSwitchStmt. replace(Node node, Node replacementNode)booleanSynchronizedStmt. replace(Node node, Node replacementNode)booleanThrowStmt. replace(Node node, Node replacementNode)booleanTryStmt. replace(Node node, Node replacementNode)booleanUnparsableStmt. replace(Node node, Node replacementNode)booleanWhileStmt. replace(Node node, Node replacementNode)ExplicitConstructorInvocationStmtExplicitConstructorInvocationStmt. setArguments(NodeList<Expression> arguments)CatchClauseCatchClause. setBody(BlockStmt body)DoStmtDoStmt. setBody(Statement body)ForEachStmtForEachStmt. setBody(Statement body)ForStmtForStmt. setBody(Statement body)SynchronizedStmtSynchronizedStmt. setBody(BlockStmt body)WhileStmtWhileStmt. setBody(Statement body)TryStmtTryStmt. setCatchClauses(NodeList<CatchClause> catchClauses)AssertStmtAssertStmt. setCheck(Expression check)LocalClassDeclarationStmtLocalClassDeclarationStmt. setClassDeclaration(ClassOrInterfaceDeclaration classDeclaration)ForStmtForStmt. setCompare(Expression compare)Sets the compareDoStmtDoStmt. setCondition(Expression condition)IfStmtIfStmt. setCondition(Expression condition)WhileStmtWhileStmt. setCondition(Expression condition)IfStmtIfStmt. setElseStmt(Statement elseStmt)Sets the elseStmtSwitchStmtSwitchStmt. setEntries(NodeList<SwitchEntryStmt> entries)ExplicitConstructorInvocationStmtExplicitConstructorInvocationStmt. setExpression(Expression expression)Sets the expressionExpressionStmtExpressionStmt. setExpression(Expression expression)ReturnStmtReturnStmt. setExpression(Expression expression)Sets the expressionSynchronizedStmtSynchronizedStmt. setExpression(Expression expression)ThrowStmtThrowStmt. setExpression(Expression expression)TryStmtTryStmt. setFinallyBlock(BlockStmt finallyBlock)ForStmtForStmt. setInitialization(NodeList<Expression> initialization)ForEachStmtForEachStmt. setIterable(Expression iterable)BreakStmtBreakStmt. setLabel(SimpleName label)Sets the labelContinueStmtContinueStmt. setLabel(SimpleName label)Sets the labelLabeledStmtLabeledStmt. setLabel(SimpleName label)SwitchEntryStmtSwitchEntryStmt. setLabel(Expression label)Sets the labelAssertStmtAssertStmt. setMessage(Expression message)Sets the messageCatchClauseCatchClause. setParameter(Parameter parameter)TryStmtTryStmt. setResources(NodeList<Expression> resources)SwitchStmtSwitchStmt. setSelector(Expression selector)LabeledStmtLabeledStmt. setStatement(Statement statement)BlockStmtBlockStmt. setStatements(NodeList<Statement> statements)SwitchEntryStmtSwitchEntryStmt. setStatements(NodeList<Statement> statements)IfStmtIfStmt. setThenStmt(Statement thenStmt)ExplicitConstructorInvocationStmtExplicitConstructorInvocationStmt. setThis(boolean isThis)TryStmtTryStmt. setTryBlock(BlockStmt tryBlock)ExplicitConstructorInvocationStmtExplicitConstructorInvocationStmt. setTypeArguments(NodeList<Type> typeArguments)Sets the typeArgumentsForStmtForStmt. setUpdate(NodeList<Expression> update)ForEachStmtForEachStmt. 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<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<SwitchEntryStmt>Statement. toSwitchEntryStmt()Optional<SwitchEntryStmt>SwitchEntryStmt. toSwitchEntryStmt()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()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.SwitchEntryStmt(TokenRange tokenRange, Expression label, NodeList<Statement> statements)This constructor is used by the parser and is considered private.SwitchStmt(TokenRange tokenRange, Expression selector, NodeList<SwitchEntryStmt> 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. -
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 VisitableCloneVisitor. visit(CompilationUnit n, Object arg)VisitableCloneVisitor. visit(PackageDeclaration n, Object arg)
-