-
- All Implemented Interfaces:
public final class TypePathEntry extends SubStructure
Type path entry for a TypeAnnotation structure.
-
-
Field Summary
Fields Modifier and Type Field Description private TypePathKindtypePathKindprivate IntegertypeArgumentIndexprivate final Integerlength
-
Constructor Summary
Constructors Constructor Description TypePathEntry(TypePathKind typePathKind)Constructor.
-
Method Summary
Modifier and Type Method Description final TypePathKindgetTypePathKind()The type path kind. final UnitsetTypePathKind(TypePathKind typePathKind)The type path kind. final IntegergetTypeArgumentIndex()The index of the type argument. final UnitsetTypeArgumentIndex(Integer typeArgumentIndex)The index of the type argument. IntegergetLength()The length of the structure in bytes. -
-
Constructor Detail
-
TypePathEntry
TypePathEntry(TypePathKind typePathKind)
Constructor.- Parameters:
typePathKind- the type path kind
-
-
Method Detail
-
getTypePathKind
final TypePathKind getTypePathKind()
The type path kind.
-
setTypePathKind
final Unit setTypePathKind(TypePathKind typePathKind)
The type path kind.
-
getTypeArgumentIndex
final Integer getTypeArgumentIndex()
The index of the type argument.
-
setTypeArgumentIndex
final Unit setTypeArgumentIndex(Integer typeArgumentIndex)
The index of the type argument.
-
-
-
-