Example usage for Java org.eclipse.jdt.core.dom ClassInstanceCreation fields, constructors, methods, implement or subclass
The text is from its open source code.
ChildPropertyDescriptor | NAME_PROPERTY The "name" structural property of this node type (child type: Name ) (JLS2 API only). |
ChildPropertyDescriptor | TYPE_PROPERTY The "type" structural property of this node type (child type: Type ) (added in JLS3 API). |
ChildListPropertyDescriptor | ARGUMENTS_PROPERTY The "arguments" structural property of this node type (element type: Expression ). |
ASTNode.NodeList | typeArguments The type arguments (element type: Type ). |
ASTNode.NodeList | arguments The list of argument expressions (element type: Expression ). |
ClassInstanceCreation(AST ast) Creates a new AST node for a class instance creation expression owned by the given AST. |
AnonymousClassDeclaration | getAnonymousClassDeclaration() Returns the anonymous class declaration introduced by this class instance creation expression, if it has one. |
Expression | getExpression() Returns the expression of this class instance creation expression, or null if there is none. |
Name | getName() Returns the name of the type instantiated in this class instance creation expression (JLS2 API only). |
Type | getType() Returns the type instantiated in this class instance creation expression (added in JLS3 API). |
void | internalSetName(Name name) Internal synonym for deprecated method. |
boolean | isResolvedTypeInferredFromExpectedType() Returns true if the resolved class type has been inferred from the assignment context (JLS4 15.12.2.8), false otherwise. |
IMethodBinding | resolveConstructorBinding() Resolves and returns the binding for the constructor invoked by this expression. |
void | setAnonymousClassDeclaration(AnonymousClassDeclaration decl) Sets whether this class instance creation expression declares an anonymous class (that is, has class body declarations). |
void | setExpression(Expression expression) Sets or clears the expression of this class instance creation expression. |
void | setType(Type type) Sets the type instantiated in this class instance creation expression (added in JLS3 API). |