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 BodyDeclarationprotected Stringprotected BaseExpressionprotected ObjectTypeFields inherited from class AbstractLineNumberExpression
lineNumberFields inherited from interface 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 TypeMethodDescriptionvoidaccept(ExpressionVisitor visitor) intgetType()voidsetObjectType(ObjectType type) voidsetParameters(BaseExpression parameters) voidsetType(ObjectType type) toString()Methods inherited from class AbstractLineNumberExpression
getLineNumberMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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:
getPriorityin interfaceExpression- Overrides:
getPriorityin classAbstractLineNumberExpression
-
getDescriptor
-
getParameters
-
setParameters
-
getBodyDeclaration
-
accept
-
toString
-