Examples of signature()


Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding.signature()

      TypeBinding argTypeBinding = mDecl.binding.parameters[i];
      UnresolvedType type = factory.fromBinding(argTypeBinding);
      if (CharOperation.equals(joinPoint, argTypeBinding.signature())
          || CharOperation.equals(joinPointStaticPart, argTypeBinding.signature())
          || CharOperation.equals(joinPointEnclosingStaticPart, argTypeBinding.signature())
          || CharOperation.equals(proceedingJoinPoint, argTypeBinding.signature()) || name.equals(extraArgName)) {
        ret[i] = new FormalBinding.ImplicitFormalBinding(type, name, i);
      } else {
        ret[i] = new FormalBinding(type, name, i, arg.sourceStart, arg.sourceEnd);
      }
    }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.MethodBinding.signature()

    byte methodIndexByte1 = 0;
    byte methodIndexByte2 = 0;
    if (this.referenceBinding instanceof LocalTypeBinding) {
      MethodBinding methodBinding = ((LocalTypeBinding) this.referenceBinding).enclosingMethod;
      if (methodBinding != null) {
        int enclosingMethodIndex = this.constantPool.literalIndexForNameAndType(methodBinding.selector, methodBinding.signature(this));
        methodIndexByte1 = (byte) (enclosingMethodIndex >> 8);
        methodIndexByte2 = (byte) enclosingMethodIndex;
      }
    }
    this.contents[localContentsOffset++] = methodIndexByte1;
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.signature()

          if ((enclosingInstances = nestedType.syntheticEnclosingInstanceTypes()) != null) {
            int length = enclosingInstances.length;
            argumentsSize = length;
            for (int i = 0 ; i < length; i++) {
              ReferenceBinding syntheticArgumentType = enclosingInstances[i];
              buffer.append(syntheticArgumentType.signature());
              Object[] emulationPath = currentScope.getEmulationPath(
                  syntheticArgumentType,
                  false /* allow compatible match */,
                  true /* disallow instance reference in explicit constructor call */);
              codeStream.generateOuterAccess(emulationPath, this, syntheticArgumentType, currentScope);
View Full Code Here

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

      this.contents[localContentsOffset++] = (byte) (nameIndex >> 8);
      this.contents[localContentsOffset++] = (byte) nameIndex;
      declaringClassBinding = (SourceTypeBinding) this.codeStream.methodDeclaration.binding.declaringClass;
      descriptorIndex =
        this.constantPool.literalIndex(
          declaringClassBinding.signature());
      this.contents[localContentsOffset++] = (byte) (descriptorIndex >> 8);
      this.contents[localContentsOffset++] = (byte) descriptorIndex;
      this.contents[localContentsOffset++] = 0;// the resolved position for this is always 0
      this.contents[localContentsOffset++] = 0;
    }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.TypeBinding.signature()

    TypeBinding annotationTypeBinding = annotation.resolvedType;
    if (annotationTypeBinding == null) {
      this.contentsOffset = startingContentsOffset;
      return;
    }
    final int typeIndex = this.constantPool.literalIndex(annotationTypeBinding.signature());
    this.contents[this.contentsOffset++] = (byte) (typeIndex >> 8);
    this.contents[this.contentsOffset++] = (byte) typeIndex;
    if (annotation instanceof NormalAnnotation) {
      NormalAnnotation normalAnnotation = (NormalAnnotation) annotation;
      MemberValuePair[] memberValuePairs = normalAnnotation.memberValuePairs;
View Full Code Here

Examples of st.gravel.support.compiler.jvm.Invoke.signature()

      JVMMethodCompiler.this.emit_(InvokeSpecial.factory.init_voidArguments_(JVMDefinedObjectType.factory.runtimeException(), st.gravel.support.jvm.ArrayFactory.with_(JVMDefinedObjectType.factory.string())));
      JVMMethodCompiler.this.emit_(AThrow.factory.basicNew());
      return JVMMethodCompiler.this;
    }
    _staticSignature[0] = _invoke.staticSignature();
    if (_invoke.isInvokeStatic() && st.gravel.support.jvm.IntegerExtensions.equals_(_invoke.signature().numArgs(), _aMethodNode.numArgs())) {
      _selfOffset[0] = 0;
    } else {
      _selfOffset[0] = 1;
      JVMMethodCompiler.this.produceVarRead_("self");
      JVMMethodCompiler.this.ensureCast_(_staticSignature[0].arguments()[0]);
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.