Uses of Class
com.strobel.decompiler.languages.java.ast.AstNode
Packages that use AstNode
Package
Description
-
Uses of AstNode in com.strobel.decompiler.languages.java
Fields in com.strobel.decompiler.languages.java with type parameters of type AstNodeModifier and TypeFieldDescriptionJavaOutputVisitor.containerStackTextOutputFormatter.nodeStackJavaOutputVisitor.positionStackMethods in com.strobel.decompiler.languages.java with parameters of type AstNodeModifier and TypeMethodDescription(package private) void(package private) voidvoid(package private) voidvoidprivate booleanJavaOutputVisitor.isBitwiseContext(AstNode parent, AstNode node) private static booleanTextOutputFormatter.isDefinition(AstNode node) private booleanTextOutputFormatter.isImportDeclaration(AstNode node) static booleanvoid(package private) voidvoidJavaOutputVisitor.visitPatternPlaceholder(AstNode node, Pattern pattern, Void ignored) private voidJavaOutputVisitor.writeSpecials(AstNode start, AstNode end) private voidJavaOutputVisitor.writeSpecialsUpToNode(AstNode node) private voidJavaOutputVisitor.writeSpecialsUpToRole(Role<?> role, AstNode nextNode) Method parameters in com.strobel.decompiler.languages.java with type arguments of type AstNodeModifier and TypeMethodDescriptionprivate voidJavaOutputVisitor.writeCommaSeparatedList(Iterable<? extends AstNode> list) private voidJavaOutputVisitor.writeCommaSeparatedListInParenthesis(Iterable<? extends AstNode> list, boolean spaceWithin) private voidJavaOutputVisitor.writePipeSeparatedList(Iterable<? extends AstNode> list) -
Uses of AstNode in com.strobel.decompiler.languages.java.analysis
Fields in com.strobel.decompiler.languages.java.analysis with type parameters of type AstNodeModifier and TypeFieldDescriptionprivate Function<AstNode, ResolveResult> ControlFlowGraphBuilder.resolverMethods in com.strobel.decompiler.languages.java.analysis with parameters of type AstNodeModifier and TypeMethodDescriptionprivate static voidCorrelator.collectCorrelations(AstNode node, Correlator.CorrelationMode mode, Collection<IMetadataTypeMember> members) protected ControlFlowNodeControlFlowGraphBuilder.NodeCreationVisitor.visitChildren(AstNode node, ControlFlowNode data) Method parameters in com.strobel.decompiler.languages.java.analysis with type arguments of type AstNodeModifier and TypeMethodDescriptionControlFlowGraphBuilder.buildControlFlowGraph(Statement statement, Function<AstNode, ResolveResult> resolver) -
Uses of AstNode in com.strobel.decompiler.languages.java.ast
Classes in com.strobel.decompiler.languages.java.ast with type parameters of type AstNodeSubclasses of AstNode in com.strobel.decompiler.languages.java.astModifier and TypeClassDescriptionclassclassclassclassprivate static final classclassclassclassprivate static final classprivate static final classclassprivate static final classprivate static final classclassclassprivate static final classprivate static final classclassclassprivate static final classclassclassclassprivate static final classprivate static final classfinal classclass(package private) final classclassclassclassclassclassclassfinal classclassclassclassprivate static final classprivate static final classclassclassclassclassclassclassprivate static final classclassclassclassprivate static final classclassclassprivate static final classclassclassclassclassclassclassprivate static final classclassclassclassclassfinal classclassclassprivate static final classclassfinal classclassprivate static final classclassfinal classclassclassprivate static final classclassprivate static final classclassclassclassclassclassclassprivate static final classprivate static final classfinal classclassprivate static final classclassprivate static final classclassclassclassclassfinal classclassclassclassprivate static final classclassclassclassclassfinal classclassclassprivate static final classprivate static final classclassclassfinal classClasses in com.strobel.decompiler.languages.java.ast that implement interfaces with type arguments of type AstNodeFields in com.strobel.decompiler.languages.java.ast declared as AstNodeModifier and TypeFieldDescriptionprivate AstNodeAstNode._firstChildprivate AstNodeAstNode._lastChildprivate AstNodeAstNode._nextSiblingprivate final AstNodeAstNodeCollection._nodeprivate AstNodeAstNode._parentprivate AstNodeAstNode._previousSiblingprivate AstNodeInliningHelper.InliningVisitor._resultprivate AstNodeCompilationUnit._topExpressionstatic final AstNodeAstNode.NULLFields in com.strobel.decompiler.languages.java.ast with type parameters of type AstNodeModifier and TypeFieldDescriptionprivate final Map<ParameterDefinition, ? extends AstNode> InliningHelper.InliningVisitor._argumentMappingsLocalClassHelper.ClosureRewriterPhaseOneVisitor._nodesToRemoveLambdaExpression.BODY_ROLEInsertParenthesesVisitor.PARENTHESIZE_FUNCTIONInsertParenthesesVisitor.PARENTHESIZE_FUNCTIONprivate final Function<AstNode, ResolveResult> DefiniteAssignmentAnalysis.resolverRoles.RootAstNode.ROOT_ROLEMethods in com.strobel.decompiler.languages.java.ast with type parameters of type AstNodeModifier and TypeMethodDescriptionfinal <T extends AstNode>
voidAstNode.getAncestors(Class<T> type) final <T extends AstNode>
TAstNode.getChildByRole(Role<? extends T> role) final <T extends AstNode>
AstNodeCollection<T> AstNode.getChildrenByRole(Role<? extends T> role) final <T extends AstNode>
TAstNode.getNextSibling(Role<? extends T> role) final <T extends AstNode>
Tfinal <T extends AstNode>
TAstNode.getPreviousSibling(Role<? extends T> role) final <T extends AstNode>
voidAstNode.insertChildAfter(AstNode previousSibling, T child, Role<? extends T> role) final <T extends AstNode>
voidAstNode.insertChildBefore(AstNode nextSibling, T child, Role<? extends T> role) final <T extends AstNode>
voidAstNode.insertChildrenAfter(AstNode nextSibling, Role<? extends T> role, T... children) final <T extends AstNode>
voidAstNode.insertChildrenBefore(AstNode nextSibling, Role<? extends T> role, T... children) final <T extends AstNode>
TAstNode.replaceWith(Function<? super AstNode, ? extends T> replaceFunction) protected final <T extends AstNode>
voidAstNode.setChildByRole(Role<? extends T> role, T newChild) Methods in com.strobel.decompiler.languages.java.ast that return AstNodeModifier and TypeMethodDescriptionAstNode.clone()static AstNodeAstNode.forPattern(Pattern pattern) final AstNodeLambdaExpression.getBody()final AstNodeAstNode.getFirstChild()final AstNodeInliningHelper.InliningVisitor.getInlinedBody()final AstNodeAstNode.getLastChild()final AstNodeAstNode.getNextNode()final AstNodeAstNode.getNextSibling()final AstNodeAstNode.getParent()final AstNodeAstNode.getPreviousNode()final AstNodeAstNode.getPreviousSibling()final AstNodeCompilationUnit.getTopExpression()static AstNodeInliningHelper.inlineMethod(MethodDeclaration method, Map<ParameterDefinition, ? extends AstNode> argumentMappings) private AstNodeAstMethodBodyBuilder.transformByteCode(Expression byteCode, boolean isTopLevel) private AstNodeAstMethodBodyBuilder.transformExpression(Expression e, boolean isTopLevel) Methods in com.strobel.decompiler.languages.java.ast that return types with arguments of type AstNodeModifier and TypeMethodDescriptionAstNode.getAncestors()AstNode.getAncestorsAndSelf()AstNode.getChildren()AstNode.getDescendants()AstNode.getDescendantsAndSelf()AstNode.getRole()Methods in com.strobel.decompiler.languages.java.ast with parameters of type AstNodeModifier and TypeMethodDescription(package private) final voidAstNode.addChildUnsafe(AstNode child, Role<?> role) (package private) static voidEntityDeclaration.addModifier(AstNode node, Flags.Flag modifier) private static <T> voidvoidAstNode.copyUserDataFrom(AstNode source) (package private) static List<Flags.Flag> EntityDeclaration.getModifiers(AstNode node) private voidDefiniteAssignmentAnalysis.insertAnonymousMethods(int insertPosition, AstNode node, ControlFlowGraphBuilder builder) final <T extends AstNode>
voidAstNode.insertChildAfter(AstNode previousSibling, T child, Role<? extends T> role) final <T extends AstNode>
voidAstNode.insertChildBefore(AstNode nextSibling, T child, Role<? extends T> role) (package private) final voidAstNode.insertChildBeforeUnsafe(AstNode nextSibling, AstNode child, Role<?> role) final <T extends AstNode>
voidAstNode.insertChildrenAfter(AstNode nextSibling, Role<? extends T> role, T... children) final <T extends AstNode>
voidAstNode.insertChildrenAfter(AstNode nextSibling, Role<? extends T> role, T... children) final <T extends AstNode>
voidAstNode.insertChildrenBefore(AstNode nextSibling, Role<? extends T> role, T... children) final <T extends AstNode>
voidAstNode.insertChildrenBefore(AstNode nextSibling, Role<? extends T> role, T... children) static voidLocalClassHelper.introduceInitializerBlocks(DecompilerContext context, AstNode node) final booleanAstNode.isAncestorOf(AstNode node) final booleanAstNode.isAncestorOf(AstNode node, AstNode stopAt) final booleanAstNode.isDescendantOf(AstNode node) static booleanstatic booleanJavaNameResolver.isStaticContext(AstNode node) static booleanJavaNameResolver.isStaticContext(AstNode node, boolean topLevelAreStatic, boolean considerMethods) static booleanAstNode.isUnconditionalBranch(AstNode statement) (package private) static booleanEntityDeclaration.removeModifier(AstNode node, Flags.Flag modifier) static voidCommentStatement.replaceAll(AstNode tree) final voidAstNode.replaceWith(AstNode newNode) static NameResolveResultstatic NameResolveResultJavaNameResolver.resolveAsType(String name, AstNode node) JavaNameResolver.resolveCore(AstNode location, String name, NameResolveMode mode) protected ResolveResultJavaResolver.ResolveVisitor.resolveLambda(AstNode node) JavaNameResolver.FindDeclarationVisitor.resolveName(AstNode node, String name, NameResolveMode mode) voidvoidfinal void(package private) static voidEntityDeclaration.setModifiers(AstNode node, Collection<Flags.Flag> modifiers) (package private) final voidCompilationUnit.setTopExpression(AstNode topExpression) protected DefiniteAssignmentStatusDefiniteAssignmentAnalysis.DefiniteAssignmentVisitor.visitChildren(AstNode node, DefiniteAssignmentStatus data) protected SDepthFirstAstVisitor.visitChildren(AstNode node, T data) protected ResolveResultJavaResolver.ResolveVisitor.visitChildren(AstNode node, Void p) protected VoidLocalClassHelper.ClosureRewriterPhaseOneVisitor.visitChildren(AstNode node, Void p) DepthFirstAstVisitor.visitPatternPlaceholder(AstNode node, Pattern pattern, T data) IAstVisitor.visitPatternPlaceholder(AstNode node, Pattern pattern, T data) JavaNameResolver.FindDeclarationVisitor.visitPatternPlaceholder(AstNode node, Pattern pattern, String name) Method parameters in com.strobel.decompiler.languages.java.ast with type arguments of type AstNodeModifier and TypeMethodDescriptionstatic AstNodeInliningHelper.inlineMethod(MethodDeclaration method, Map<ParameterDefinition, ? extends AstNode> argumentMappings) final <T extends AstNode>
TAstNode.replaceWith(Function<? super AstNode, ? extends T> replaceFunction) Constructors in com.strobel.decompiler.languages.java.ast with parameters of type AstNodeConstructor parameters in com.strobel.decompiler.languages.java.ast with type arguments of type AstNodeModifierConstructorDescriptionDefiniteAssignmentAnalysis(Statement rootStatement, Function<AstNode, ResolveResult> resolver) InliningVisitor(DecompilerContext context, Map<ParameterDefinition, ? extends AstNode> argumentMappings) -
Uses of AstNode in com.strobel.decompiler.languages.java.ast.transforms
Subclasses with type arguments of type AstNode in com.strobel.decompiler.languages.java.ast.transformsModifier and TypeClassDescriptionfinal classclassclassFields in com.strobel.decompiler.languages.java.ast.transforms declared as AstNodeModifier and TypeFieldDescriptionprivate static final AstNodeRemoveHiddenMembersTransform.EMPTY_SUPER(package private) AstNodeBreakTargetRelocation.LabelInfo.labelTargetFields in com.strobel.decompiler.languages.java.ast.transforms with type parameters of type AstNodeModifier and TypeFieldDescriptionAddReferenceQualifiersTransform._addQualifierCandidatesEliminateSyntheticAccessorsTransform._nodesToRemoveIntroduceOuterClassReferencesTransform._nodesToRemoveAddReferenceQualifiersTransform._removeQualifierCandidatesSimplifyAssignmentsTransform.NEGATE_FUNCTIONSimplifyAssignmentsTransform.NEGATE_FUNCTIONMethods in com.strobel.decompiler.languages.java.ast.transforms that return AstNodeModifier and TypeMethodDescriptionprivate static AstNodeRemoveRedundantCastsTransform.skipParenthesesUp(AstNode e) SimplifyAssignmentsTransform.visitAssignmentExpression(AssignmentExpression node, Void data) SimplifyAssignmentsTransform.visitBinaryOperatorExpression(BinaryOperatorExpression node, Void data) protected AstNodeConvertLoopsTransform.visitChildren(AstNode node, Void data) SimplifyAssignmentsTransform.visitConditionalExpression(ConditionalExpression node, Void data) ConvertLoopsTransform.visitExpressionStatement(ExpressionStatement node, Void data) FlattenSwitchBlocksTransform.visitSwitchSection(SwitchSection node, Void p) SimplifyAssignmentsTransform.visitUnaryOperatorExpression(UnaryOperatorExpression node, Void p) ConvertLoopsTransform.visitWhileStatement(WhileStatement node, Void data) Methods in com.strobel.decompiler.languages.java.ast.transforms that return types with arguments of type AstNodeModifier and TypeMethodDescriptionMethods in com.strobel.decompiler.languages.java.ast.transforms with parameters of type AstNodeModifier and TypeMethodDescriptionprivate booleanInsertNecessaryConversionsTransform.addCastForAssignment(AstNode left, Expression right) DeclareVariablesTransform.analyze(DeclareVariablesTransform.VariableToDeclare v, AstNode scope) BreakTargetRelocation.assessForLoop(AstNode commonAncestor, List<Stack<AstNode>> paths, LabelStatement label, List<GotoStatement> statements) private static booleanDeclareVariablesTransform.canRedeclareVariable(DefiniteAssignmentAnalysis analysis, BlockStatement block, AstNode node, String variableName) private static ParameterDeclarationNewTryWithResourcesTransform.findDeclaration(IdentifierExpression id, AstNode source) private MethodDeclarationEnumRewriterTransform.Visitor.findMethodDeclaration(AstNode node) private StatementEnumRewriterTransform.Visitor.findStatement(AstNode node) (package private) static VariableDeclarationStatementConvertLoopsTransform.findVariableDeclaration(AstNode node, String identifier) private static booleanConvertLoopsTransform.hasNestedBlocks(AstNode node) private static booleanDeclareLocalClassesTransform.hasNestedBlocks(AstNode node) private static booleanDeclareVariablesTransform.hasNestedBlocks(AstNode node) (package private) static booleanRemoveHiddenMembersTransform.isHiddenMemberReference(AstNode node, DecompilerContext context) private booleanRemoveImplicitBoxingTransform.isUnboxingExpression(AstNode node) private booleanRemoveImplicitBoxingTransform.isValidPrimitiveParent(InvocationExpression node, AstNode parent) private static booleanprivate static booleanBreakTargetRelocation.lookBehind(AstNode start, Set<AstNode> targets) private static NameResolveModeAddReferenceQualifiersTransform.modeForType(AstNode type) private StringAddReferenceQualifiersTransform.qualifyReference(AstNode node, TypeReference type) private voidprivate voidLabelCleanupTransform.redirectLabels(AstNode node, String labelName, String nextLabel) private static booleanDeclareLocalClassesTransform.referencesType(AstNode node, TypeReference localType) protected ObjectAddReferenceQualifiersTransform.resolveName(AstNode location, String name, NameResolveMode mode) voidvoidvoidprivate voidDeclareLocalClassesTransform.run(AstNode node, DefiniteAssignmentAnalysis daa) voidprivate voidDeclareVariablesTransform.run(AstNode node, DefiniteAssignmentAnalysis daa) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprivate voidBreakTargetRelocation.runForMethod(AstNode node) static voidTransformationPipeline.runTransformationsUntil(AstNode node, Predicate<IAstTransform> abortCondition, DecompilerContext context) private static AstNodeRemoveRedundantCastsTransform.skipParenthesesUp(AstNode e) private MethodDefinitionRewriteLegacyClassConstantsTransform.tryLocateClassMethod(TypeDefinition currentType, AstNode compilationUnit) private static booleanDeclareVariablesTransform.usesVariable(AstNode node, String variableName) protected IdentifierExpressionAbstractHelperClassTransform.varReference(AstNode declaration) protected AstNodeConvertLoopsTransform.visitChildren(AstNode node, Void data) protected BooleanDeclareVariablesTransform.IsSingleAssignmentVisitor.visitChildren(AstNode node, Void data) protected BooleanDeclareVariablesTransform.ParameterAssignmentVisitor.visitChildren(AstNode node, Void data) protected VoidRewriteLegacyClassConstantsTransform.ClassMethodLocator.visitChildren(AstNode node, Void data) private BooleanDeclareVariablesTransform.IsSingleAssignmentVisitor.visitCondition(AstNode condition, AstNode ifTrue, AstNode ifFalse) Method parameters in com.strobel.decompiler.languages.java.ast.transforms with type arguments of type AstNodeModifier and TypeMethodDescriptionBreakTargetRelocation.assessForLoop(AstNode commonAncestor, List<Stack<AstNode>> paths, LabelStatement label, List<GotoStatement> statements) private booleanBreakTargetRelocation.convertToContinue(BlockStatement parent, BreakTargetRelocation.LabelInfo labelInfo, List<Stack<AstNode>> paths) private StatementBreakTargetRelocation.findLowestCommonAncestor(List<Stack<AstNode>> paths) private BlockStatementBreakTargetRelocation.findLowestCommonAncestorBlock(List<Stack<AstNode>> paths) private static booleanprivate static booleanBreakTargetRelocation.lookBehind(AstNode start, Set<AstNode> targets) private voidBreakTargetRelocation.rebuildPaths(List<Stack<AstNode>> paths, BreakTargetRelocation.LabelInfo labelInfo) -
Uses of AstNode in com.strobel.decompiler.languages.java.utilities
Fields in com.strobel.decompiler.languages.java.utilities with type parameters of type AstNodeModifier and TypeFieldDescriptionprivate final Function<AstNode, ResolveResult> RedundantCastUtility.IsRedundantVisitor._resolverMethods in com.strobel.decompiler.languages.java.utilities that return AstNodeModifier and TypeMethodDescriptionstatic AstNodeTypeUtilities.skipParenthesesDown(AstNode e) private static AstNodeRedundantCastUtility.skipParenthesesUp(AstNode e) static AstNodeTypeUtilities.skipParenthesesUp(AstNode e) Methods in com.strobel.decompiler.languages.java.utilities with parameters of type AstNodeModifier and TypeMethodDescriptionprotected booleanRedundantCastUtility.IsRedundantVisitor.arrayAccessAtTheLeftSideOfAssignment(AstNode node) protected booleanRedundantCastUtility.IsRedundantVisitor.checkResolveAfterRemoveCast(AstNode parent) static List<CastExpression> RedundantCastUtility.getRedundantCastsInside(Function<AstNode, ResolveResult> resolver, AstNode site) protected TypeReferenceprivate static TypeReferenceTypeUtilities.getType(Function<AstNode, ResolveResult> resolver, AstNode node) private static booleanRedundantCastUtility.IsRedundantVisitor.isPolymorphicMethod(AstNode expression) static AstNodeTypeUtilities.skipParenthesesDown(AstNode e) private static AstNodeRedundantCastUtility.skipParenthesesUp(AstNode e) static AstNodeTypeUtilities.skipParenthesesUp(AstNode e) protected VoidRedundantCastUtility.IsRedundantVisitor.visitChildren(AstNode node, Void data) Method parameters in com.strobel.decompiler.languages.java.utilities with type arguments of type AstNodeModifier and TypeMethodDescriptionstatic TypeReferenceTypeUtilities.getExpectedTypeByParent(Function<AstNode, ResolveResult> resolver, Expression expression) static List<CastExpression> RedundantCastUtility.getRedundantCastsInside(Function<AstNode, ResolveResult> resolver, AstNode site) private static TypeReferenceTypeUtilities.getType(Function<AstNode, ResolveResult> resolver, AstNode node) protected List<TypeReference> RedundantCastUtility.IsRedundantVisitor.getTypes(AstNodeCollection<? extends AstNode> nodes) static booleanRedundantCastUtility.isCastRedundant(Function<AstNode, ResolveResult> resolver, CastExpression cast) Constructor parameters in com.strobel.decompiler.languages.java.utilities with type arguments of type AstNodeModifierConstructorDescription(package private)CastCollector(Function<AstNode, ResolveResult> resolver) (package private)IsRedundantVisitor(Function<AstNode, ResolveResult> resolver, boolean recursive) -
Uses of AstNode in com.strobel.decompiler.patterns
Fields in com.strobel.decompiler.patterns with type parameters of type AstNodeModifier and TypeFieldDescriptionprivate final Function<AstNode, ResolveResult> TypedExpression._resolverMethods in com.strobel.decompiler.patterns that return AstNodeConstructor parameters in com.strobel.decompiler.patterns with type arguments of type AstNodeModifierConstructorDescriptionTypedExpression(TypeReference expressionType, Function<AstNode, ResolveResult> resolver) TypedExpression(TypeReference expressionType, Function<AstNode, ResolveResult> resolver, int options) TypedExpression(String groupName, TypeReference expressionType, Function<AstNode, ResolveResult> resolver) TypedExpression(String groupName, TypeReference expressionType, Function<AstNode, ResolveResult> resolver, int options)