Class and Description |
---|
com.github.javaparser.ast.body.EmptyMemberDeclaration
these ;'s should be ignored
|
com.github.javaparser.ast.stmt.EmptyStmt
these ;'s should be ignored
|
Constructor and Description |
---|
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.
|
Copyright © 2007–2017. All rights reserved.