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 org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberExpression
lineNumberFields 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 TypeMethodDescriptionvoidaccept(ExpressionVisitor visitor) intgetType()voidsetObjectType(ObjectType type) voidsetParameters(BaseExpression parameters) voidsetType(ObjectType type) toString()Methods inherited from class org.jd.core.v1.model.javasyntax.expression.AbstractLineNumberExpression
getLineNumberMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, sizeMethods 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:
getPriorityin interfaceExpression- Overrides:
getPriorityin classAbstractLineNumberExpression
-
getDescriptor
-
getParameters
-
setParameters
-
getBodyDeclaration
-
accept
-
toString
-