Class NewExpression
java.lang.Object
org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberExpression
org.jd.core.v1.model.javasyntax.expression.NewExpression
- All Implemented Interfaces:
Iterable<Expression>
,BaseExpression
,Expression
,Base<Expression>
- Direct Known Subclasses:
ClassFileNewExpression
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BodyDeclaration
protected String
protected BaseExpression
protected ObjectType
Fields inherited from class org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberExpression
lineNumber
Fields inherited from interface org.jd.core.v1.model.javasyntax.expression.Expression
UNKNOWN_LINE_NUMBER
-
Constructor Summary
ConstructorsConstructorDescriptionNewExpression
(int lineNumber, ObjectType type, String descriptor) NewExpression
(int lineNumber, ObjectType type, String descriptor, BodyDeclaration bodyDeclaration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ExpressionVisitor visitor) int
getType()
void
setObjectType
(ObjectType type) void
setParameters
(BaseExpression parameters) void
setType
(ObjectType type) toString()
Methods inherited from class org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberExpression
getLineNumber
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, size
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
type
-
descriptor
-
parameters
-
bodyDeclaration
-
-
Constructor Details
-
NewExpression
-
NewExpression
public NewExpression(int lineNumber, ObjectType type, String descriptor, BodyDeclaration bodyDeclaration)
-
-
Method Details
-
getObjectType
-
setObjectType
-
getType
-
setType
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfaceExpression
- Overrides:
getPriority
in classAbstractLineNumberExpression
-
getDescriptor
-
getParameters
-
setParameters
-
getBodyDeclaration
-
accept
-
toString
-