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

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


    SourceTypeBinding targetSourceTypeBinding = (SourceTypeBinding) world.makeTypeBinding(munger.getTargetType());

    // if it is a binary type binding it is likely to be something we ITD'd on before
    // TODO should probably avoid putting it onto BTBs at all (since already there)
    if (!(targetSourceTypeBinding instanceof BinaryTypeBinding)) {
      ReferenceBinding[] existingMemberTypes = targetSourceTypeBinding.memberTypes();
      for (int i = 0; i < existingMemberTypes.length; i++) {
        char[] compounded = CharOperation.concatWith(existingMemberTypes[i].compoundName, '.');
        if (CharOperation.endsWith(compounded, mungerMemberTypeName)) {
          scope.problemReporter().signalError(sourceStart(), sourceEnd(),
              "target type already declares a member type with the name '" + munger.getMemberTypeName() + "'");
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.