Uses of Interface
com.github.javaparser.HasParentNode
Packages that use HasParentNode
Package
Description
-
Uses of HasParentNode in com.github.javaparser.ast
Classes in com.github.javaparser.ast that implement HasParentNodeModifier and TypeClassDescriptionclass
Innew int[1][2];
there are two ArrayCreationLevel objects, the first one contains the expression "1", the second the expression "2".class
This class represents the entire compilation unit.class
An import declaration.class
A modifier, like private, public, or volatile.class
Base class for all nodes of the abstract syntax tree.class
A list of nodes.class
A package declaration. -
Uses of HasParentNode in com.github.javaparser.ast.body
Classes in com.github.javaparser.ast.body that implement HasParentNodeModifier and TypeClassDescriptionclass
An annotation type declaration.@interface X { ... }
class
The "int id();" in@interface X { int id(); }
class
BodyDeclaration<T extends BodyDeclaration<?>>
Any declaration that can appear between the { and } of a class, interface, enum, or record.class
CallableDeclaration<T extends CallableDeclaration<?>>
Represents a declaration which is callable eg.class
A definition of a class or interface.class X { ... }
interface X { ... }
class
The record declaration's constructorclass
A constructor declaration:class X { X() { } }
where X(){} is the constructor declaration.class
One of the values an enum can take.class
The declaration of an enum.enum X { ... }
class
The declaration of a field in a class.class
A (possibly static) initializer body.class
A method declaration.class
The parameters to a method or lambda.class
The receiver parameter feature of Java.class
The record declarationclass
TypeDeclaration<T extends TypeDeclaration<?>>
A base class for all types of type declarations.class
The declaration of a variable.
Inint x = 14, y = 3;
"int x = 14" and "int y = 3" are VariableDeclarators. -
Uses of HasParentNode in com.github.javaparser.ast.comments
Classes in com.github.javaparser.ast.comments that implement HasParentNodeModifier and TypeClassDescriptionclass
AST node that represent block comments.class
Abstract class for all AST nodes that represent comments.class
A Javadoc comment.class
AST node that represent line comments. -
Uses of HasParentNode in com.github.javaparser.ast.expr
Classes in com.github.javaparser.ast.expr that implement HasParentNodeModifier and TypeClassDescriptionclass
A base class for the different types of annotations.class
Array brackets [] being used to get a value from an array.class
new int[5][4][][]
ornew int[][]{{1},{2,3}}
.class
The initialization of an array.class
An assignment expression.class
An expression with an expression on the left, an expression on the right, and an operator in the middle.class
The boolean literals.class
A typecast.class
A literal character.class
Defines an expression that accesses the class of a type.class
The ternary conditional expression.class
A float or a double constant.class
An expression between ( ).class
A base class for all expressions.class
Access of a field of an object or a class.class
The instanceof statementclass
All ways to specify an int literal.class
A lambda expressionclass
A base class for all literal expressions.class
Any literal value that is stored internally as a String.class
All ways to specify a long literal.class
An annotation that uses only the annotation type name.class
A value for a member of an annotation.class
A method call on an object or a class.class
Method reference expressions introduced in Java 8 specifically designed to simplify lambda Expressions.class
A name that may consist of multiple identifiers.class
Whenever a SimpleName is used in an expression, it is wrapped in NameExpr.class
An annotation that has zero or more key-value pairs.@Mapping(a=5, d=10)
class
A literal "null".class
A constructor call.class
The instanceof statementclass
A name that consists of a single identifier.class
An annotation that has a single value.class
A literal string.class
An occurrence of the "super" keyword.class
The switch expressionclass
A text blockclass
An occurrence of the "this" keyword.class
This class is just instantiated as scopes for MethodReferenceExpr nodes to encapsulate Types.class
An expression where an operator is applied to a single expression.class
A declaration of variables. -
Uses of HasParentNode in com.github.javaparser.ast.modules
Classes in com.github.javaparser.ast.modules that implement HasParentNodeModifier and TypeClassDescriptionclass
A Java 9 Jigsaw module declaration.class
A module directive.class
An exports directive in module-info.java.class
An opens directive in module-info.java.class
A provides directive in module-info.java.class
A require directive in module-info.java.class
A uses directive in module-info.java. -
Uses of HasParentNode in com.github.javaparser.ast.stmt
Classes in com.github.javaparser.ast.stmt that implement HasParentNodeModifier and TypeClassDescriptionclass
A usage of the keyword "assert"
Inassert dead : "Wasn't expecting to be dead here";
the check is "dead" and the message is the string.class
Statements in between { and }.class
The break statementclass
The catch part of a try-catch-finally.class
A continue statement with an optional label;continue brains;
continue;
class
A do-while.class
An empty statement is a ";" where a statement is expected.class
A call to super or this in a constructor or initializer.class
Used to wrap an expression so that it can take the place of a statement.class
A for-each statement.class
The classic for statementclass
An if-then-else statement.class
A statement that is labeled, likelabel123: println("continuing");
class
A class declaration inside a method.class
A record declaration inside a method.class
The return statement, with an optional expression to return.class
A base class for all statements.class
One case in a switch statementclass
The switch statementclass
Usage of the synchronized keyword.class
Usage of the throw statement.class
The try statementclass
A statement that had parse errors.class
A while statement.class
The yield statement -
Uses of HasParentNode in com.github.javaparser.ast.type
Classes in com.github.javaparser.ast.type that implement HasParentNodeModifier and TypeClassDescriptionclass
To indicate that a type is an array, it gets wrapped in an ArrayType for every array level it has.class
A class or an interface type.class
Represents a set of types.class
A primitive type.class
Base class for reference types.class
Base class for types.class
A type parameter.class
The union typeclass
An unknown parameter type object.class
A type called "var" waiting for Java to infer it.class
The return type of aMethodDeclaration
when it returns void.class
A wildcard type argument.