public class InlineCastExpr extends com.github.javaparser.ast.expr.Expression implements com.github.javaparser.ast.nodeTypes.NodeWithType<InlineCastExpr,com.github.javaparser.ast.type.Type>, com.github.javaparser.ast.nodeTypes.NodeWithExpression<InlineCastExpr>
com.github.javaparser.ast.Node.BreadthFirstIterator, com.github.javaparser.ast.Node.DirectChildrenIterator, com.github.javaparser.ast.Node.ObserverRegistrationMode, com.github.javaparser.ast.Node.ParentsVisitor, com.github.javaparser.ast.Node.Parsedness, com.github.javaparser.ast.Node.PostOrderIterator, com.github.javaparser.ast.Node.PreOrderIterator, com.github.javaparser.ast.Node.TreeTraversal
Constructor and Description |
---|
InlineCastExpr() |
InlineCastExpr(com.github.javaparser.TokenRange tokenRange,
com.github.javaparser.ast.type.Type type,
com.github.javaparser.ast.expr.Expression expression)
This constructor is used by the parser and is considered private.
|
InlineCastExpr(com.github.javaparser.ast.type.Type type,
com.github.javaparser.ast.expr.Expression expression) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(com.github.javaparser.ast.visitor.GenericVisitor<R,A> v,
A arg) |
<A> void |
accept(com.github.javaparser.ast.visitor.VoidVisitor<A> v,
A arg) |
InlineCastExpr |
asInlineCastExpr() |
InlineCastExpr |
clone() |
com.github.javaparser.ast.expr.Expression |
getExpression() |
com.github.javaparser.ast.type.Type |
getType() |
void |
ifInlineCastExpr(Consumer<InlineCastExpr> action) |
boolean |
remove(com.github.javaparser.ast.Node node) |
boolean |
replace(com.github.javaparser.ast.Node node,
com.github.javaparser.ast.Node replacementNode) |
InlineCastExpr |
setExpression(com.github.javaparser.ast.expr.Expression expression) |
InlineCastExpr |
setType(com.github.javaparser.ast.type.Type type) |
Optional<InlineCastExpr> |
toInlineCastExpr() |
asAnnotationExpr, asArrayAccessExpr, asArrayCreationExpr, asArrayInitializerExpr, asAssignExpr, asBinaryExpr, asBooleanLiteralExpr, asCastExpr, asCharLiteralExpr, asClassExpr, asConditionalExpr, asDoubleLiteralExpr, asEnclosedExpr, asFieldAccessExpr, asInstanceOfExpr, asIntegerLiteralExpr, asLambdaExpr, asLiteralExpr, asLiteralStringValueExpr, asLongLiteralExpr, asMarkerAnnotationExpr, asMethodCallExpr, asMethodReferenceExpr, asNameExpr, asNormalAnnotationExpr, asNullLiteralExpr, asObjectCreationExpr, asSingleMemberAnnotationExpr, asStringLiteralExpr, asSuperExpr, asSwitchExpr, asThisExpr, asTypeExpr, asUnaryExpr, asVariableDeclarationExpr, calculateResolvedType, getMetaModel, ifAnnotationExpr, ifArrayAccessExpr, ifArrayCreationExpr, ifArrayInitializerExpr, ifAssignExpr, ifBinaryExpr, ifBooleanLiteralExpr, ifCastExpr, ifCharLiteralExpr, ifClassExpr, ifConditionalExpr, ifDoubleLiteralExpr, ifEnclosedExpr, ifFieldAccessExpr, ifInstanceOfExpr, ifIntegerLiteralExpr, ifLambdaExpr, ifLiteralExpr, ifLiteralStringValueExpr, ifLongLiteralExpr, ifMarkerAnnotationExpr, ifMethodCallExpr, ifMethodReferenceExpr, ifNameExpr, ifNormalAnnotationExpr, ifNullLiteralExpr, ifObjectCreationExpr, ifSingleMemberAnnotationExpr, ifStringLiteralExpr, ifSuperExpr, ifSwitchExpr, ifThisExpr, ifTypeExpr, ifUnaryExpr, ifVariableDeclarationExpr, isAnnotationExpr, isArrayAccessExpr, isArrayCreationExpr, isArrayInitializerExpr, isAssignExpr, isBinaryExpr, isBooleanLiteralExpr, isCastExpr, isCharLiteralExpr, isClassExpr, isConditionalExpr, isDoubleLiteralExpr, isEnclosedExpr, isFieldAccessExpr, isInstanceOfExpr, isIntegerLiteralExpr, isLambdaExpr, isLiteralExpr, isLiteralStringValueExpr, isLongLiteralExpr, isMarkerAnnotationExpr, isMethodCallExpr, isMethodReferenceExpr, isNameExpr, isNormalAnnotationExpr, isNullLiteralExpr, isObjectCreationExpr, isSingleMemberAnnotationExpr, isStringLiteralExpr, isSuperExpr, isSwitchExpr, isThisExpr, isTypeExpr, isUnaryExpr, isVariableDeclarationExpr, toAnnotationExpr, toArrayAccessExpr, toArrayCreationExpr, toArrayInitializerExpr, toAssignExpr, toBinaryExpr, toBooleanLiteralExpr, toCastExpr, toCharLiteralExpr, toClassExpr, toConditionalExpr, toDoubleLiteralExpr, toEnclosedExpr, toFieldAccessExpr, toInstanceOfExpr, toIntegerLiteralExpr, toLambdaExpr, toLiteralExpr, toLiteralStringValueExpr, toLongLiteralExpr, toMarkerAnnotationExpr, toMethodCallExpr, toMethodReferenceExpr, toNameExpr, toNormalAnnotationExpr, toNullLiteralExpr, toObjectCreationExpr, toSingleMemberAnnotationExpr, toStringLiteralExpr, toSuperExpr, toSwitchExpr, toThisExpr, toTypeExpr, toUnaryExpr, toVariableDeclarationExpr
addOrphanComment, containsData, customInitialization, equals, findAll, findAll, findCompilationUnit, findFirst, findFirst, findFirst, findRootNode, getAllContainedComments, getChildNodes, getChildNodesByType, getComment, getData, getDataKeys, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getParsed, getRange, getSymbolResolver, getTokenRange, getToStringPrettyPrinterConfiguration, hashCode, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, removeComment, removeData, removeForced, removeOrphanComment, replace, setAsParentNodeOf, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setParsed, setRange, setTokenRange, setToStringPrettyPrinterConfiguration, stream, stream, toString, toString, tryAddImportToParentCompilationUnit, unregister, walk, walk, walk
finalize, getClass, notify, notifyAll, wait, wait, wait
getTypeAsString, setType, setType, tryAddImportToParentCompilationUnit
public InlineCastExpr()
public InlineCastExpr(com.github.javaparser.ast.type.Type type, com.github.javaparser.ast.expr.Expression expression)
public InlineCastExpr(com.github.javaparser.TokenRange tokenRange, com.github.javaparser.ast.type.Type type, com.github.javaparser.ast.expr.Expression expression)
public com.github.javaparser.ast.expr.Expression getExpression()
getExpression
in interface com.github.javaparser.ast.nodeTypes.NodeWithExpression<InlineCastExpr>
public com.github.javaparser.ast.type.Type getType()
getType
in interface com.github.javaparser.ast.nodeTypes.NodeWithType<InlineCastExpr,com.github.javaparser.ast.type.Type>
public InlineCastExpr setExpression(com.github.javaparser.ast.expr.Expression expression)
setExpression
in interface com.github.javaparser.ast.nodeTypes.NodeWithExpression<InlineCastExpr>
public InlineCastExpr setType(com.github.javaparser.ast.type.Type type)
setType
in interface com.github.javaparser.ast.nodeTypes.NodeWithType<InlineCastExpr,com.github.javaparser.ast.type.Type>
public boolean remove(com.github.javaparser.ast.Node node)
remove
in class com.github.javaparser.ast.expr.Expression
public InlineCastExpr clone()
clone
in class com.github.javaparser.ast.expr.Expression
public boolean replace(com.github.javaparser.ast.Node node, com.github.javaparser.ast.Node replacementNode)
replace
in class com.github.javaparser.ast.expr.Expression
public InlineCastExpr asInlineCastExpr()
public void ifInlineCastExpr(Consumer<InlineCastExpr> action)
public Optional<InlineCastExpr> toInlineCastExpr()
public <R,A> R accept(com.github.javaparser.ast.visitor.GenericVisitor<R,A> v, A arg)
accept
in interface com.github.javaparser.ast.visitor.Visitable
public <A> void accept(com.github.javaparser.ast.visitor.VoidVisitor<A> v, A arg)
accept
in interface com.github.javaparser.ast.visitor.Visitable
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.