Package net.bytebuddy.pool
Class TypePool.Default.GenericTypeExtractor.ForSignature.OfMethod.ExceptionTypeRegistrant
- java.lang.Object
-
- net.bytebuddy.pool.TypePool.Default.GenericTypeExtractor.ForSignature.OfMethod.ExceptionTypeRegistrant
-
- All Implemented Interfaces:
TypePool.Default.GenericTypeRegistrant
- Enclosing class:
- TypePool.Default.GenericTypeExtractor.ForSignature.OfMethod
protected class TypePool.Default.GenericTypeExtractor.ForSignature.OfMethod.ExceptionTypeRegistrant extends java.lang.Object implements TypePool.Default.GenericTypeRegistrant
A registrant for an exception type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.pool.TypePool.Default.GenericTypeRegistrant
TypePool.Default.GenericTypeRegistrant.RejectingSignatureVisitor
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExceptionTypeRegistrant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
void
register(TypePool.Default.LazyTypeDescription.GenericTypeToken token)
Registers a discovered generic type token.
-
-
-
Method Detail
-
register
public void register(TypePool.Default.LazyTypeDescription.GenericTypeToken token)
Description copied from interface:TypePool.Default.GenericTypeRegistrant
Registers a discovered generic type token.- Specified by:
register
in interfaceTypePool.Default.GenericTypeRegistrant
- Parameters:
token
- The token to be registered.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-