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

Examples of org.eclipse.jdt.internal.compiler.lookup.InvocationSite


      ObjectVector localsFound,
      ObjectVector fieldsFound,
      ObjectVector methodsFound,
      boolean notInJavadoc) {

    InvocationSite invocationSite = CompletionEngine.FakeInvocationSite;

    boolean staticsOnly = false;
    // need to know if we're in a static context (or inside a constructor)

    Scope currentScope = scope;
View Full Code Here


  this.referenceContext = compUnitDecl;
  String[] arguments = new String[] {CharOperation.toString(wellKnownTypeName)};
  int start = 0, end = 0;
  if (location != null) {
    if (location instanceof InvocationSite) {
      InvocationSite site = (InvocationSite) location;
      start = site.sourceStart();
      end = site.sourceEnd();
    } else if (location instanceof ASTNode) {
      ASTNode node = (ASTNode) location;
      start = node.sourceStart();
      end = node.sourceEnd();
    }
View Full Code Here

    }
  }
}

private static void checkAlternateBinding(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding binding, Expression[] arguments, TypeBinding[] originalArgumentTypes, TypeBinding[] alternateArgumentTypes, final InvocationSite invocationSite) {
    InvocationSite fakeInvocationSite = new InvocationSite(){
      public TypeBinding[] genericTypeArguments() { return null; }
      public boolean isSuperAccess(){ return invocationSite.isSuperAccess(); }
      public boolean isTypeAccess() { return invocationSite.isTypeAccess(); }
      public void setActualReceiverType(ReferenceBinding actualReceiverType) { /* ignore */}
      public void setDepth(int depth) { /* ignore */}
 
View Full Code Here

    }
  }
}

private static void checkAlternateBinding(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding binding, Expression[] arguments, TypeBinding[] originalArgumentTypes, TypeBinding[] alternateArgumentTypes, final InvocationSite invocationSite) {
    InvocationSite fakeInvocationSite = new InvocationSite(){
      public TypeBinding[] genericTypeArguments() { return null; }
      public boolean isSuperAccess(){ return invocationSite.isSuperAccess(); }
      public boolean isTypeAccess() { return invocationSite.isTypeAccess(); }
      public void setActualReceiverType(ReferenceBinding actualReceiverType) { /* ignore */}
      public void setDepth(int depth) { /* ignore */}
 
View Full Code Here

  this.referenceContext = compUnitDecl;
  String[] arguments = new String[] {CharOperation.toString(wellKnownTypeName)};
  int start = 0, end = 0;
  if (location != null) {
    if (location instanceof InvocationSite) {
      InvocationSite site = (InvocationSite) location;
      start = site.sourceStart();
      end = site.sourceEnd();
    } else if (location instanceof ASTNode) {
      ASTNode node = (ASTNode) location;
      start = node.sourceStart();
      end = node.sourceEnd();
    }
View Full Code Here

  this.referenceContext = compUnitDecl;
  String[] arguments = new String[] {CharOperation.toString(wellKnownTypeName)};
  int start = 0, end = 0;
  if (location != null) {
    if (location instanceof InvocationSite) {
      InvocationSite site = (InvocationSite) location;
      start = site.sourceStart();
      end = site.sourceEnd();
    } else if (location instanceof ASTNode) {
      ASTNode node = (ASTNode) location;
      start = node.sourceStart();
      end = node.sourceEnd();
    }
View Full Code Here

      ObjectVector localsFound,
      ObjectVector fieldsFound,
      ObjectVector methodsFound,
      boolean notInJavadoc) {

    InvocationSite invocationSite = CompletionEngine.FakeInvocationSite;

    boolean staticsOnly = false;
    // need to know if we're in a static context (or inside a constructor)

    Scope currentScope = scope;
View Full Code Here

    }
  }
}

private static void checkAlternateBinding(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding binding, Expression[] arguments, TypeBinding[] originalArgumentTypes, TypeBinding[] alternateArgumentTypes, final InvocationSite invocationSite) {
    InvocationSite fakeInvocationSite = new InvocationSite(){
      public TypeBinding[] genericTypeArguments() { return null; }
      public boolean isSuperAccess(){ return invocationSite.isSuperAccess(); }
      public boolean isTypeAccess() { return invocationSite.isTypeAccess(); }
      public void setActualReceiverType(ReferenceBinding actualReceiverType) { /* ignore */}
      public void setDepth(int depth) { /* ignore */}
 
View Full Code Here

  this.referenceContext = compUnitDecl;
  String[] arguments = new String[] {CharOperation.toString(wellKnownTypeName)};
  int start = 0, end = 0;
  if (location != null) {
    if (location instanceof InvocationSite) {
      InvocationSite site = (InvocationSite) location;
      start = site.sourceStart();
      end = site.sourceEnd();
    } else if (location instanceof ASTNode) {
      ASTNode node = (ASTNode) location;
      start = node.sourceStart();
      end = node.sourceEnd();
    }
View Full Code Here

  this.referenceContext = compUnitDecl;
  String[] arguments = new String[] {CharOperation.toString(wellKnownTypeName)};
  int start = 0, end = 0;
  if (location != null) {
    if (location instanceof InvocationSite) {
      InvocationSite site = (InvocationSite) location;
      start = site.sourceStart();
      end = site.sourceEnd();
    } else if (location instanceof ASTNode) {
      ASTNode node = (ASTNode) location;
      start = node.sourceStart();
      end = node.sourceEnd();
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.compiler.lookup.InvocationSite

Copyright © 2018 www.massapicom. 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.