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

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


  checkNPEbyUnboxing(scope, flowContext, flowInfo);
  return this.expression.checkNPE(scope, flowContext, flowInfo);
}

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


      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

  checkNPEbyUnboxing(scope, flowContext, flowInfo);
  return this.expression.checkNPE(scope, flowContext, flowInfo);
}

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

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.