Class TypePath

java.lang.Object
io.ebean.enhance.asm.TypePath

public final class TypePath extends Object
The path to a type argument, wildcard bound, array element type, or static inner type within an enclosing type.
Author:
Eric Bruneton
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    A type path step that steps into the element type of an array type.
    static final int
    A type path step that steps into the nested type of a class type.
    static final int
    A type path step that steps into a type argument of a generic type.
    static final int
    A type path step that steps into the bound of a wildcard type.
  • Method Summary

    Modifier and Type
    Method
    Description
    static TypePath
    fromString(String typePath)
    Converts a type path in string form, in the format used by toString(), into a TypePath object.
    int
    Returns the length of this path, i.e.
    int
    getStep(int index)
    Returns the value of the given step of this path.
    int
    getStepArgument(int index)
    Returns the index of the type argument that the given step is stepping into.
    Returns a string representation of this type path.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait