-
Classes Class Description com.github.javaparser.ast.validator.NoProblemsValidator when setting a language validator, tryParserConfiguration.setLanguageLevel(ParserConfiguration.LanguageLevel)
with RAW.com.github.javaparser.printer.JsonPrinter this class was mostly used for serialization purposes. Use JavaParserJsonSerializer in the javaparser-core-serialization module for that.com.github.javaparser.utils.CollectionContext useCollectionStrategy
directly
-
Constructors Constructor Description com.github.javaparser.ast.body.MethodDeclaration(NodeList<Modifier>, NodeList<AnnotationExpr>, NodeList<TypeParameter>, Type, SimpleName, boolean, NodeList<Parameter>, NodeList<ReferenceType>, BlockStmt) this constructor allows you to set "isDefault", but this is no longer a field of this node, but simply one of the modifiers. Use setDefault(boolean) or add DEFAULT to the modifiers set.com.github.javaparser.ast.expr.ArrayCreationExpr(Range, Type) range shouldn't be in utility constructors.com.github.javaparser.ast.type.ClassOrInterfaceType(String) use JavaParser.parseClassOrInterfaceType instead. This constructor does not understand generics.com.github.javaparser.ast.type.TypeParameter(Range, SimpleName, NodeList<ClassOrInterfaceType>) range shouldn't be in utility constructors.com.github.javaparser.printer.lexicalpreservation.LexicalPreservingPrinter(Node) use setup(Node) to prepare a node for lexical preservation, then use the static methods on this class to print it.