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

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


    problemId = checkForNull
        ? IProblem.NonNullMessageSendComparisonYieldsFalse
        : IProblem.RedundantNullCheckOnNonNullMessageSend;
    MethodBinding method = ((MessageSend)expr).binding;
    binding = method;
    arguments = new String[] { new String(method.shortReadableName()) };
    start = location.sourceStart;
    end = location.sourceEnd;
  } else if (expr instanceof Reference && !(expr instanceof ThisReference) && !(expr instanceof ArrayReference)) {
    FieldBinding field = ((Reference)expr).lastFieldBinding();
    if (field == null) {
View Full Code Here


    problemId = checkForNull
        ? IProblem.NonNullMessageSendComparisonYieldsFalse
        : IProblem.RedundantNullCheckOnNonNullMessageSend;
    MethodBinding method = ((MessageSend)expr).binding;
    binding = method;
    arguments = new String[] { new String(method.shortReadableName()) };
    start = location.sourceStart;
    end = location.sourceEnd;
  } else if (expr instanceof Reference && !(expr instanceof ThisReference) && !(expr instanceof ArrayReference)) {
    FieldBinding field = ((Reference)expr).lastFieldBinding();
    if (field == null) {
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.