Uses of Class
com.github.javaparser.ast.expr.ObjectCreationExpr
Packages that use ObjectCreationExpr
Package
Description
Implementation of model based on JavaParser.
-
Uses of ObjectCreationExpr in com.github.javaparser.ast.expr
Methods in com.github.javaparser.ast.expr that return ObjectCreationExprModifier and TypeMethodDescriptionExpression.asObjectCreationExpr()
ObjectCreationExpr.asObjectCreationExpr()
ObjectCreationExpr.clone()
ObjectCreationExpr.removeScope()
ObjectCreationExpr.setAnonymousClassBody
(NodeList<BodyDeclaration<?>> anonymousClassBody) Sets the anonymousClassBody
Null means no class body
Empty NodeList means new ClassName(){ }ObjectCreationExpr.setArguments
(NodeList<Expression> arguments) ObjectCreationExpr.setScope
(Expression scope) Sets the scopeObjectCreationExpr.setType
(ClassOrInterfaceType type) ObjectCreationExpr.setTypeArguments
(NodeList<Type> typeArguments) Sets the typeArgumentsMethods in com.github.javaparser.ast.expr that return types with arguments of type ObjectCreationExprModifier and TypeMethodDescriptionExpression.toObjectCreationExpr()
ObjectCreationExpr.toObjectCreationExpr()
Method parameters in com.github.javaparser.ast.expr with type arguments of type ObjectCreationExprModifier and TypeMethodDescriptionvoid
Expression.ifObjectCreationExpr
(Consumer<ObjectCreationExpr> action) void
ObjectCreationExpr.ifObjectCreationExpr
(Consumer<ObjectCreationExpr> action) -
Uses of ObjectCreationExpr in com.github.javaparser.ast.visitor
Methods in com.github.javaparser.ast.visitor with parameters of type ObjectCreationExprModifier and TypeMethodDescriptionCloneVisitor.visit
(ObjectCreationExpr n, Object arg) EqualsVisitor.visit
(ObjectCreationExpr n, Visitable arg) GenericListVisitorAdapter.visit
(ObjectCreationExpr n, A arg) GenericVisitor.visit
(ObjectCreationExpr n, A arg) GenericVisitorAdapter.visit
(ObjectCreationExpr n, A arg) GenericVisitorWithDefaults.visit
(ObjectCreationExpr n, A arg) HashCodeVisitor.visit
(ObjectCreationExpr n, Void arg) ModifierVisitor.visit
(ObjectCreationExpr n, A arg) NoCommentEqualsVisitor.visit
(ObjectCreationExpr n, Visitable arg) NoCommentHashCodeVisitor.visit
(ObjectCreationExpr n, Void arg) void
NodeFinderVisitor.visit
(ObjectCreationExpr n, Range arg) ObjectIdentityEqualsVisitor.visit
(ObjectCreationExpr n, Visitable arg) ObjectIdentityHashCodeVisitor.visit
(ObjectCreationExpr n, Void arg) void
VoidVisitor.visit
(ObjectCreationExpr n, A arg) void
VoidVisitorAdapter.visit
(ObjectCreationExpr n, A arg) void
VoidVisitorWithDefaults.visit
(ObjectCreationExpr n, A arg) -
Uses of ObjectCreationExpr in com.github.javaparser.printer
Methods in com.github.javaparser.printer with parameters of type ObjectCreationExprModifier and TypeMethodDescriptionvoid
DefaultPrettyPrinterVisitor.visit
(ObjectCreationExpr n, Void arg) void
PrettyPrintVisitor.visit
(ObjectCreationExpr n, Void arg) Deprecated. -
Uses of ObjectCreationExpr in com.github.javaparser.symbolsolver.javaparsermodel
Methods in com.github.javaparser.symbolsolver.javaparsermodel with parameters of type ObjectCreationExprModifier and TypeMethodDescriptionJavaParserFacade.solve
(ObjectCreationExpr objectCreationExpr) JavaParserFacade.solve
(ObjectCreationExpr objectCreationExpr, boolean solveLambdas) Given a constructor call find out to which constructor declaration it corresponds.DefaultVisitorAdapter.visit
(ObjectCreationExpr node, Boolean aBoolean) TypeExtractor.visit
(ObjectCreationExpr node, Boolean solveLambdas) -
Uses of ObjectCreationExpr in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Constructors in com.github.javaparser.symbolsolver.javaparsermodel.contexts with parameters of type ObjectCreationExprModifierConstructorDescriptionAnonymousClassDeclarationContext
(ObjectCreationExpr node, TypeSolver typeSolver) ObjectCreationContext
(ObjectCreationExpr wrappedNode, TypeSolver typeSolver) -
Uses of ObjectCreationExpr in com.github.javaparser.symbolsolver.javaparsermodel.declarations
Fields in com.github.javaparser.symbolsolver.javaparsermodel.declarations declared as ObjectCreationExprModifier and TypeFieldDescriptionprivate final ObjectCreationExpr
JavaParserAnonymousClassDeclaration.wrappedNode
Constructors in com.github.javaparser.symbolsolver.javaparsermodel.declarations with parameters of type ObjectCreationExprModifierConstructorDescriptionJavaParserAnonymousClassDeclaration
(ObjectCreationExpr wrappedNode, TypeSolver typeSolver)