Class ResolvedLambdaExpression

All Implemented Interfaces:
IAnnotatable, IJavaElement, IMember, IParent, ISourceManipulation, ISourceReference, IType, org.eclipse.core.runtime.IAdaptable

public class ResolvedLambdaExpression extends LambdaExpression
  • Constructor Details

  • Method Details

    • getFullyQualifiedParameterizedName

      public String getFullyQualifiedParameterizedName() throws JavaModelException
      Description copied from interface: IType
      Returns this type's fully qualified name using a '.' enclosing type separator followed by its type parameters between angle brackets if it is a generic type. For example, "p.X<T>", "java.util.Map<java.lang.String, p.X>"
      Specified by:
      getFullyQualifiedParameterizedName in interface IType
      Overrides:
      getFullyQualifiedParameterizedName in class SourceType
      Returns:
      the fully qualified parameterized representation of this type
      Throws:
      JavaModelException - if this element does not exist or if an exception occurs while accessing its corresponding resource.
    • getKey

      public String getKey()
      Description copied from interface: IType
      Returns the binding key for this type only if the given type is resolved. A binding key is a key that uniquely identifies this type. It allows access to generic info for parameterized types.

      If the given type is not resolved, the returned key is simply the java element's key.

      Specified by:
      getKey in interface IType
      Overrides:
      getKey in class SourceType
      Returns:
      the binding key for this type
      See Also:
      IBinding.getKey(), BindingKey, IType.isResolved()
    • equals

      public boolean equals(Object o)
      Description copied from class: JavaElement
      Returns true if this handle represents the same Java element as the given handle. By default, two handles represent the same element if they are identical or if they represent the same type of element, have equal names, parents, and occurrence counts.

      If a subclass has other requirements for equality, this method must be overridden.

      Overrides:
      equals in class LambdaExpression
      See Also:
      Object.equals(java.lang.Object)
    • isResolved

      public boolean isResolved()
      Description copied from interface: IType
      Returns whether this type represents a resolved type. If a type is resolved, its key contains resolved information.
      Specified by:
      isResolved in interface IType
      Overrides:
      isResolved in class SourceType
      Returns:
      whether this type represents a resolved type.
    • toStringInfo

      protected void toStringInfo(int tab, StringBuffer buffer, Object info, boolean showResolvedInfo)
      Description copied from class: JavaElement
      Debugging purposes
      Overrides:
      toStringInfo in class SourceType
      showResolvedInfo - TODO
    • unresolved

      public JavaElement unresolved()
      Overrides:
      unresolved in class JavaElement