Interface ByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,​S>,​S extends ByteCodeElement.Token<S>>

    • Method Detail

      • asDefined

        T asDefined()
        Returns this type dependant in its defined shape, i.e. the form it is declared in and without its type variable's resolved.
        Returns:
        This type dependant in its defined shape.
      • asToken

        S asToken​(ElementMatcher<? super TypeDescription> matcher)
        Returns a token representative of this type dependant. All types that are matched by the supplied matcher are replaced by TargetType descriptions.
        Parameters:
        matcher - A matcher to identify types to be replaced by TargetType descriptions.
        Returns:
        A token representative of this type dependant.