Verwendungen von Klasse
org.aspectj.org.eclipse.jdt.core.dom.AST
Packages, die AST verwenden
Package
Beschreibung
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
The Java DOM/AST rewrite is the set of classes that are used to make changes to an existing DOM/AST tree.
-
Verwendungen von AST in org.aspectj.ajdt.core.dom
Methoden in org.aspectj.ajdt.core.dom, die AST zurückgebenMethoden in org.aspectj.ajdt.core.dom mit Parametern vom Typ AST -
Verwendungen von AST in org.aspectj.org.eclipse.jdt.core.dom
Unterklassen von AST in org.aspectj.org.eclipse.jdt.core.domFelder in org.aspectj.org.eclipse.jdt.core.dom, die deklariert sind als ASTMethoden in org.aspectj.org.eclipse.jdt.core.dom, die AST zurückgebenModifizierer und TypMethodeBeschreibungfinal ASTASTNode.getAST()Returns this node's AST.static ASTASTParser.getAST(int level, boolean previewEnabled) ASTParser.IASTFactory.getAST(int level, boolean previewEnabled) static ASTAST.newAST(int level) Veraltet.static ASTAST.newAST(int level, boolean previewEnabled) Creates a new Java abstract syntax tree (AST) following the specified set of API rules.static ASTCreates a new Java abstract syntax tree Following option keys are significant:"org.eclipse.jdt.core.compiler.source"indicates the api level and source compatibility mode (as perJavaCore) - defaults to 1.3"1.3"means the source code is as per JDK 1.3 and api levelJLS3."1.4", "1.5", "1.6", "1.7" "1.8"implies the respective source JDK levels 1.4, 1.5, 1.6, 1.7 and api levelJLS4."1.8"implies the respective source JDK level 1.8 and api levelJLS8."9", "10", "11", "12" and "13"implies the respective JDK levels 9, 10, 11, 12 and 13 and api levelsJLS9,JLS10,JLS11,JLS12andJLS13. Additional legal values may be added later."org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures"- indicates whether the preview is enabled or disabled legal values are"enabled"and"disabled"implying preview enabled and disabled respectively.Methoden in org.aspectj.org.eclipse.jdt.core.dom mit Parametern vom Typ ASTModifizierer und TypMethodeBeschreibungprotected ASTNodeModulePackageAccess.cloneHelper(AST target, ModulePackageAccess result) static ASTNodeASTNode.copySubtree(AST target, ASTNode node) Returns a deep copy of the subtree of AST nodes rooted at the given node.static ListASTNode.copySubtrees(AST target, List nodes) Returns a deep copy of the subtrees of AST nodes rooted at the given list of nodes.TypeDeclaration.ITypeDeclFactory.createTypeFor(AST ast) static TypeDeclarationTypeDeclaration.getTypeDeclaration(AST ast) voidvoidKonstruktoren in org.aspectj.org.eclipse.jdt.core.dom mit Parametern vom Typ ASTModifiziererKonstruktorBeschreibungAjTypeDeclaration(AST ast) Creates a new AST node for a type declaration owned by the given AST.BindingTypePattern(AST ast, FormalBinding formalBinding) FormalBinding(Type type, String binding, AST ast) HasMemberTypePattern(AST ast, SignaturePattern signaturePattern) -
Verwendungen von AST in org.aspectj.org.eclipse.jdt.core.dom.rewrite
Methoden in org.aspectj.org.eclipse.jdt.core.dom.rewrite, die AST zurückgebenModifizierer und TypMethodeBeschreibungfinal ASTASTRewrite.getAST()Returns the AST the rewrite was set up on.Methoden in org.aspectj.org.eclipse.jdt.core.dom.rewrite mit Parametern vom Typ ASTModifizierer und TypMethodeBeschreibungImportRewrite.addAnnotation(IAnnotationBinding annotation, AST ast, ImportRewrite.ImportRewriteContext context) Adds the necessary imports for the given annotation binding to the rewriter's record and returns anAnnotationthat can be used in the code.ImportRewrite.addImport(ITypeBinding binding, AST ast) Adds a new import to the rewriter's record and returns aTypethat can be used in the code.ImportRewrite.addImport(ITypeBinding binding, AST ast, ImportRewrite.ImportRewriteContext context) Adds a new import to the rewriter's record and returns aTypethat can be used in the code.ImportRewrite.addImport(ITypeBinding binding, AST ast, ImportRewrite.ImportRewriteContext context, ImportRewrite.TypeLocation location) Adds a new import to the rewriter's record and returns aTypethat can be used in the code.ImportRewrite.addImportFromSignature(String typeSig, AST ast) Adds a new import to the rewriter's record and returns aTypenode that can be used in the code as a reference to the type.ImportRewrite.addImportFromSignature(String typeSig, AST ast, ImportRewrite.ImportRewriteContext context) Adds a new import to the rewriter's record and returns aTypenode that can be used in the code as a reference to the type.static ASTRewriteCreates a new instance for describing manipulations of the given AST.Konstruktoren in org.aspectj.org.eclipse.jdt.core.dom.rewrite mit Parametern vom Typ AST -
Verwendungen von AST in org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite
Konstruktoren in org.aspectj.org.eclipse.jdt.internal.core.dom.rewrite mit Parametern vom Typ AST -
Verwendungen von AST in org.aspectj.org.eclipse.jdt.internal.core.dom.util
Methoden in org.aspectj.org.eclipse.jdt.internal.core.dom.util mit Parametern vom Typ ASTModifizierer und TypMethodeBeschreibungstatic booleanDOMASTUtil.isFeatureSupportedinAST(AST ast, int featureName) Validates if the givenapiLevelandpreviewEnabledsupports the providednodeType.static booleanDOMASTUtil.isPatternInstanceofExpressionSupported(AST ast) static booleanDOMASTUtil.isPatternSupported(AST ast) static booleanDOMASTUtil.isRecordDeclarationSupported(AST ast) static booleanDOMASTUtil.isSwitchExpressionSupported(AST ast) static booleanDOMASTUtil.isTextBlockSupported(AST ast) static booleanDOMASTUtil.isYieldStatementSupported(AST ast)
AST.newAST(AST.JLS12, false)instead of using this constructor.