Class and Description |
---|
com.github.javaparser.ast.validator.NoProblemsValidator
when setting a language validator, try
ParserConfiguration.setLanguageLevel(ParserConfiguration.LanguageLevel) with RAW. |
Constructor and Description |
---|
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.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.
|
com.github.javaparser.ast.body.MethodDeclaration(EnumSet<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.type.TypeParameter(Range, SimpleName, NodeList<ClassOrInterfaceType>)
range shouldn't be in utility constructors.
|
Copyright © 2007–2018. All rights reserved.