Top Description Constructors Methods
io.github.classgraph

public abstract Class ReferenceTypeSignature

extends TypeSignature
Class Inheritance
Known Direct Subclasses
io.github.classgraph.ArrayTypeSignature, io.github.classgraph.ClassRefOrTypeVariableSignature
Imports
nonapi.io.github.classgraph.types.ParseException, .Parser

A type signature for a reference type. Subclasses are ClassRefOrTypeVariableSignature (ClassRefTypeSignature or TypeVariableSignature), and ArrayTypeSignature.

Constructor Summary

AccessConstructor and Description
protected
ReferenceTypeSignature()

Constructor.

Method Summary

Modifier and TypeMethod and Description
pack-priv static ReferenceTypeSignature

Returns:

The parsed class bound.
parseClassBound
(final Parser
The parser.
parser
,
final String
The class containing the type descriptor.
definingClassName
)

Parse a class bound.

pack-priv static ReferenceTypeSignature

Returns:

The parsed type reference type signature.
parseReferenceTypeSignature
(final Parser
The parser
parser
,
final String
The class containing the type descriptor.
definingClassName
)

Parse a reference type signature.

Inherited from io.github.classgraph.TypeSignature:
addTypeAnnotationequalsIgnoringTypeParamsfindReferencedClassInfofindReferencedClassNamesgetTypeAnnotationInfoparseparse

Constructor Detail

ReferenceTypeSignatureback to summary
protected ReferenceTypeSignature()

Constructor.

Method Detail

parseClassBoundback to summary
pack-priv static ReferenceTypeSignature parseClassBound(final Parser parser, final String definingClassName) throws ParseException

Parse a class bound.

Parameters
parser:Parser

The parser.

definingClassName:String

The class containing the type descriptor.

Returns:ReferenceTypeSignature

The parsed class bound.

Exceptions
ParseException:
If the type signature could not be parsed.
parseReferenceTypeSignatureback to summary
pack-priv static ReferenceTypeSignature parseReferenceTypeSignature(final Parser parser, final String definingClassName) throws ParseException

Parse a reference type signature.

Parameters
parser:Parser

The parser

definingClassName:String

The class containing the type descriptor.

Returns:ReferenceTypeSignature

The parsed type reference type signature.

Exceptions
ParseException:
If the type signature could not be parsed.