diff options
Diffstat (limited to 'org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SyntheticArgumentBinding.java')
-rw-r--r-- | org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SyntheticArgumentBinding.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SyntheticArgumentBinding.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SyntheticArgumentBinding.java index df6a862973..22450f32e2 100644 --- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SyntheticArgumentBinding.java +++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SyntheticArgumentBinding.java @@ -13,8 +13,8 @@ package org.eclipse.jdt.internal.compiler.lookup; /** * Specific local variable location used to: * - either provide emulation for outer local variables used from within innerclass constructs, - * - or provide emulation to enclosing instances. - * When it is mapping to an outer local variable, this actual outer local is accessible through + * - or provide emulation to enclosing instances. + * When it is mapping to an outer local variable, this actual outer local is accessible through * the public field #actualOuterLocalVariable. * * Such a synthetic argument binding will be inserted in all constructors of local innertypes before @@ -26,21 +26,21 @@ import org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants; public class SyntheticArgumentBinding extends LocalVariableBinding { - { + { this.tagBits |= TagBits.IsArgument; this.useFlag = USED; } - + // if the argument is mapping to an outer local variable, this denotes the outer actual variable public LocalVariableBinding actualOuterLocalVariable; // if the argument has a matching synthetic field public FieldBinding matchingField; - + public SyntheticArgumentBinding(LocalVariableBinding actualOuterLocalVariable) { super( - CharOperation.concat(TypeConstants.SYNTHETIC_OUTER_LOCAL_PREFIX, actualOuterLocalVariable.name), - actualOuterLocalVariable.type, + CharOperation.concat(TypeConstants.SYNTHETIC_OUTER_LOCAL_PREFIX, actualOuterLocalVariable.name), + actualOuterLocalVariable.type, ClassFileConstants.AccFinal, true); this.actualOuterLocalVariable = actualOuterLocalVariable; @@ -52,7 +52,7 @@ public class SyntheticArgumentBinding extends LocalVariableBinding { CharOperation.concat( TypeConstants.SYNTHETIC_ENCLOSING_INSTANCE_PREFIX, String.valueOf(enclosingType.depth()).toCharArray()), - enclosingType, + enclosingType, ClassFileConstants.AccFinal, true); } |