Package org.aspectj.org.eclipse.jdt.internal.compiler.lookup

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.enclosingType()


  private void checkAndSetModifiers() {
    SourceTypeBinding sourceType = referenceContext.binding;
    int modifiers = sourceType.modifiers;
    if ((modifiers & ExtraCompilerModifiers.AccAlternateModifierProblem) != 0)
      problemReporter().duplicateModifierForType(sourceType);
    ReferenceBinding enclosingType = sourceType.enclosingType();
    boolean isMemberType = sourceType.isMemberType();
    if (isMemberType) {
      modifiers |= (enclosingType.modifiers & (ExtraCompilerModifiers.AccGenericSignature|ClassFileConstants.AccStrictfp));
      // checks for member types before local types to catch local members
      if (enclosingType.isInterface())
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.