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.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–2017. All rights reserved.