diff options
Diffstat (limited to 'org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java')
-rw-r--r-- | org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java index 0648075a5b..2d41fd440b 100644 --- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java +++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2019 IBM Corporation and others. + * Copyright (c) 2000, 2020 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -76,6 +76,7 @@ public abstract class AbstractMethodDeclaration public int bodyStart; public int bodyEnd = -1; public CompilationResult compilationResult; + protected boolean isImplicit; // used in Java 14 Records AbstractMethodDeclaration(CompilationResult compilationResult){ this.compilationResult = compilationResult; @@ -464,6 +465,10 @@ public abstract class AbstractMethodDeclaration return (this.modifiers & ClassFileConstants.AccStatic) != 0; } + public boolean isImplicit() { + return this.isImplicit; + } + /** * Fill up the method body with statement * @param parser |