Interface TypePool.Default.LazyTypeDescription.TypeContainment

    • Method Detail

      • getEnclosingMethod

        MethodDescription.InDefinedShape getEnclosingMethod​(TypePool typePool)
        Returns the enclosing method or null if no such method exists.
        Parameters:
        typePool - The type pool to be used for looking up linked types.
        Returns:
        A method description describing the linked type or null.
      • getEnclosingType

        TypeDescription getEnclosingType​(TypePool typePool)
        Returns the enclosing type or null if no such type exists.
        Parameters:
        typePool - The type pool to be used for looking up linked types.
        Returns:
        A type description describing the linked type or null.
      • isSelfContained

        boolean isSelfContained()
        Returns true if the type is self-contained.
        Returns:
        true if the type is self-contained.
      • isLocalType

        boolean isLocalType()
        Returns true if the type is a local type unless it is an anonymous type.
        Returns:
        true if the type is a local type unless it is an anonymous type