org.eclipse.jdt.internal.compiler.lookup
类 InferenceContext

java.lang.Object
  继承者 org.eclipse.jdt.internal.compiler.lookup.InferenceContext

public class InferenceContext
extends Object

Context used during type inference for a generic method invocation


字段摘要
 boolean isUnchecked
           
 
构造方法摘要
InferenceContext(MethodBinding genericMethod)
           
 
方法摘要
 TypeBinding[] getSubstitutes(TypeVariableBinding typeVariable, int constraint)
           
 boolean hasUnresolvedTypeArgument()
          Returns true if any unresolved variable is detected, i.e. any variable is substituted with itself
 void recordSubstitute(TypeVariableBinding typeVariable, TypeBinding actualType, int constraint)
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

isUnchecked

public boolean isUnchecked
构造方法详细信息

InferenceContext

public InferenceContext(MethodBinding genericMethod)
方法详细信息

getSubstitutes

public TypeBinding[] getSubstitutes(TypeVariableBinding typeVariable,
                                    int constraint)

hasUnresolvedTypeArgument

public boolean hasUnresolvedTypeArgument()
Returns true if any unresolved variable is detected, i.e. any variable is substituted with itself


recordSubstitute

public void recordSubstitute(TypeVariableBinding typeVariable,
                             TypeBinding actualType,
                             int constraint)

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013. All Rights Reserved.